fix: remove gh repo sync call that always fails before push #344
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.25) × (1 − Review Confidence (0.70)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.25 · 17 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.173
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
5 items
All contributors have signed the CLA ✍️ ✅<br/><sub>Posted by the *CLA Assistant Lite bot*.</sub>
I have read the CLA Document and I hereby sign the CLA
Approved
Approved these changes.
Thanks for this contribution! LGTM
jayshrivastava
SKSCody
Problem
PushChangesfirst runs:--sourcetakes a value, so-bis parsed as the source repo and the branch name becomes the destination repo argument. gh rejects this locally, before any network call, every time:So push has always fallen through to the
git push -u origin <branch>fallback. Even with correct flags,gh repo synccan't push a local branch (it syncs a destination from a source), so the call can't do what its comment says.Fix
Remove the dead call and run
git push -u origin <branch>directly. Behavior is unchanged; it just skips a subprocess that always fails.Testing
PushChangeson this path needs an authenticatedgh.🤖 Generated with Claude Code