Repository navigation
Commit 8eadb9c
fix(fork-sync): job mode adds the upstream remote before the dry run (#1852)
## Problem
An rsi-pr-agent `fork-sync` job starts from a clone with only `origin`.
The driver's first step runs `git fetch --tags --force upstream` (`scripts/fork-sync.ts:1898`), so Job mode fails before the dry run.
## Change
Job mode's first step now adds the `upstream` remote unless one exists.
## Scope and approval
Part of #1841: the rsi-pr-agent job runs the skill's Job mode; CI adds the same remote in `hyprws-upstream-sync.yml`.
## Verification
`vp run fork:ci` → exit 0.
Docs-only; the live proof is the first `rsi:fork-sync` run on #1836.
Claude Opus 5.5 in Claude Code.
## Fork trailers
Fork-Domain: fork-meta
Fork-Tier: bugfix
Fork-Upstreamable: no
Co-authored-by: donjor <[email protected]>1 parent 434880c commit 8eadb9c
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
158 | 163 | | |
159 | 164 | | |
160 | 165 | | |
| |||
0 commit comments