fix(template-sync): call noop when upstream has no new commits#142
Merged
TechWatching merged 2 commits intomainfrom Apr 21, 2026
Merged
fix(template-sync): call noop when upstream has no new commits#142TechWatching merged 2 commits intomainfrom
TechWatching merged 2 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/TechWatching/techwatching.dev/sessions/ed1a5c25-b355-421b-88b0-3d277b651f59 Co-authored-by: TechWatching <15186176+TechWatching@users.noreply.github.com>
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
TechWatching
approved these changes
Apr 21, 2026
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
template-sync.md: instead of silently stopping whenlastSyncedCommitequals the upstream HEAD, the agent now explicitly callsnoop("No new template changes since last sync.")— satisfying the safe outputs requirement.