You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
repos install: a ref upgrade rewrites only the shim pin, so the pull_request trigger needs a second run #9714
On main f24e7d3 (the #9230 merge), upgrading a v0.56.1 install with repos.yaml:
fullsend repos set github.fullsend_ref <new>, then fullsend repos install, opens a PR that changes only the two uses: pins. After it merges, .github/workflows/fullsend.yaml still triggers on pull_request_target, and repos status reports .github/workflows/fullsend.yaml differs.
A second fullsend repos install opens another PR ("Repairing 1 files with content drift") that changes pull_request_target: to pull_request:.
--dry-run before step 1 printed both "Would upgrade …" and "Would repair 1 files with content drift". The live run delivered only the first.
Expected
One repos install delivers the full new shim, including the trigger. The #9230 docs say install "rewrites the trigger and the workflow pin in one commit".
Cause
In internal/repos/converge.go:
convergeRefFiles queues .github/workflows/fullsend.yaml with only the version line rewritten (replaceShimRef, GitHub branch around line 3258).
That path goes into refFileSet, and convergeContentDriftFiles skips paths in it (coveredPaths, around line 3603). The full template is never queued.
On dry-run, convergeRefFiles returns no files, so drift is not skipped. The dry-run output promises a repair the live run drops.
Fix direction
When the ref changes on GitHub, queue the full expected template for the shim instead of the pin-only rewrite, or let content drift replace a queued pin-only file.
Make the dry run and the live run use the same skip set.
Add a converge test: a pull_request_target shim at an old pin upgrades to the pull_request shim at the new pin in one pass.
Repro
Reproduced on a public test repository: install opened one PR with the pin only, and a second install opened a PR with the trigger.
Related
repos status shows DRIFT none for a pull_request_target shim until fullsend_ref is bumped, so status alone does not flag an old shim. This may be worth its own check (for example, a warning when the installed shim still triggers on pull_request_target).
Reacted by fullsend-ai-triage and fullsend-ai-coder
Triage confirmed the cause you describe in internal/repos/converge.go: the pin-only shim rewrite from convergeRefFiles lands in refFileSet, and convergeContentDriftFiles then skips that path via coveredPaths. As a result the full template, including the pull_request trigger, is never queued on a live run. On dry-run convergeRefFiles returns no files, so the skip set is empty and the repair is reported. That is why dry and live output disagree.
No open PR or duplicate issue was found for this.
Suggested approach
On GitHub, when the ref changes, queue the full expected shim template at the new ref instead of the pin-only rewrite, or let content drift supersede the queued pin-only file.
Build the same skip set for dry-run and live runs.
Leave the GitLab path unchanged.
The repos status warning for an old pull_request_target shim is a reasonable separate follow-up.
Per the maintainer comment, commits should not be signed off.
Proposed test case
Given: GitHub shim with pull_request_target trigger at an old pin
When: converge runs live with a new fullsend_ref
Then: exactly one shim file is queued, equal to the expected template at the new ref
(pull_request trigger + new pin); no content drift remains after one pass
And: dry-run reports the same file changes as the live run
Edge: unchanged ref + drift still repaired; SHA-pinned refs; GitLab behaviour unchanged
Labels: This is a bug in the repos install convergence logic, so it matches the bug type and install component labels. The effect is limited to a two-run upgrade, which suggests medium priority.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
Activity
waynesun09 commentedon Nov 19, 2026
/fs-code
Do not sign off. No
git commit -s, noSigned-off-bytrailer.fullsend-ai-coder commentedon Nov 19, 2026
🤖 Code ·⚠️ Cancelled · Started 8:33 PM UTC · Ended 8:36 PM UTC
Commit:
f24e7d3· View workflow run →fullsend-ai-triage commentedon Nov 19, 2026
🤖 Finished Triage · ✅ Success · Started 8:33 PM UTC · Completed 8:35 PM UTC
Commit:
f24e7d3· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.13
fullsend-ai-triage commentedon Nov 19, 2026
Triage confirmed the cause you describe in
internal/repos/converge.go: the pin-only shim rewrite fromconvergeRefFileslands inrefFileSet, andconvergeContentDriftFilesthen skips that path viacoveredPaths. As a result the full template, including thepull_requesttrigger, is never queued on a live run. On dry-runconvergeRefFilesreturns no files, so the skip set is empty and the repair is reported. That is why dry and live output disagree.No open PR or duplicate issue was found for this.
Suggested approach
repos statuswarning for an oldpull_request_targetshim is a reasonable separate follow-up.Proposed test case
Labels: This is a bug in the repos install convergence logic, so it matches the bug type and install component labels. The effect is limited to a two-run upgrade, which suggests medium priority.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Nov 19, 2026
🤖 Finished Code ·⚠️ Cancelled · Started 8:33 PM UTC · Completed 8:36 PM UTC
Commit:
f24e7d3· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high
fullsend-ai-coder commentedon Nov 19, 2026
🤖 Finished Code · ✅ Success · Started 8:38 PM UTC · Completed 8:52 PM UTC
Commit:
f24e7d3· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $1.58
fix(#9714): keep the repository's pin style when the full shim supers…
fix(#9714): keep the pin-only upgrade when the target templates are u…
fix(#9714): drop embedded-template repairs for every ref-upgrade path
fix(fullsend-ai#9714): deliver full shim template on GitHub ref upgrade
Merge pull request fullsend-ai#9717 from fullsend-ai/agent/9714-full-…