Skip to content

fix(template-sync): call noop when upstream has no new commits#142

Merged
TechWatching merged 2 commits intomainfrom
copilot/debug-template-sync-failure
Apr 21, 2026
Merged

fix(template-sync): call noop when upstream has no new commits#142
TechWatching merged 2 commits intomainfrom
copilot/debug-template-sync-failure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 21, 2026

The template sync agent correctly detected no new upstream changes but didn't call noop, causing the agentic workflow to report "No Safe Outputs Generated" and open a failure issue.

Change

  • Updated the early-exit condition in template-sync.md: instead of silently stopping when lastSyncedCommit equals the upstream HEAD, the agent now explicitly calls noop("No new template changes since last sync.") — satisfying the safe outputs requirement.

Copilot AI linked an issue Apr 21, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Debug agentic workflow failure for template sync fix(template-sync): call noop when upstream has no new commits Apr 21, 2026
Copilot AI requested a review from TechWatching April 21, 2026 21:00
@TechWatching TechWatching marked this pull request as ready for review April 21, 2026 21:10
Copilot AI review requested due to automatic review settings April 21, 2026 21:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the template-sync agent workflow instructions so that when there are no new upstream commits, it emits an explicit safe output (noop) instead of exiting silently—preventing “No Safe Outputs Generated” failures in the agentic workflow.

Changes:

  • Adjusted the “no new upstream changes” early-exit path to call noop("No new template changes since last sync.") before stopping.

@TechWatching TechWatching merged commit 0bf668c into main Apr 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Template sync failed

3 participants