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
Route the re-pull commit writers through repullTrailerLines #1972
Found in the round-1 review of PR #1971 (Phase 7g, epic #1046). The re-pull trailer lines are defined once, by repullTrailerLines in shared/repull-squash.ts, and the Worker's squash message and the CLI's squash message use that definition.
Three commit writers still format the same two lines with their own template strings: src/lib/repull/execute/pull-request.ts (lines 369 and 370), src/lib/repull/execute/synthesize.ts (lines 462 and 463), and src/lib/repull/patch-turn.ts (lines 107 and 108). The release reads these trailers back from main through src/lib/repull/trailers.ts, so a writer whose format drifts from the definition would only be caught by that read-back, after the merge.
Route the three writers through repullTrailerLines, and add a test that pins each writer's trailer lines to that function's output. The change touches code outside Phase 7g, so it is filed here rather than changed in that PR.
Fixed by #1984 (round 1 review fixes for the upstream freshness epic), released in 0.10.26. The commit writers in src/lib/repull/execute/pull-request.ts, src/lib/repull/execute/synthesize.ts and src/lib/repull/patch-turn.ts now take their two trailer lines from repullTrailerLines, no hand-formatted Upstream-Snapshot: or Repull-Plan: template remains under src/lib/repull, and test/repull-trailers.unit.test.ts pins the writers' lines to that function's output. Checked on main at v0.10.26.
Activity
fix: round 1 review fixes for the upstream freshness epic (#1984)
neuromechanist commentedon Oct 29, 2026
Fixed by #1984 (round 1 review fixes for the upstream freshness epic), released in 0.10.26. The commit writers in
src/lib/repull/execute/pull-request.ts,src/lib/repull/execute/synthesize.tsandsrc/lib/repull/patch-turn.tsnow take their two trailer lines fromrepullTrailerLines, no hand-formattedUpstream-Snapshot:orRepull-Plan:template remains undersrc/lib/repull, andtest/repull-trailers.unit.test.tspins the writers' lines to that function's output. Checked onmainat v0.10.26.