fix(container): sync plan-to-git against upstream repo#419
Conversation
Agent Plan UpdateBranch: 1. PlanSource: codex - Captured: 2026-06-17T12:58:27.447Z Fix Issue #417: plan-to-git Sync Uses Fork Repo For Base PRSummary
Key Changes
Test Plan
Verification
Assumptions
|
|
Warning Review limit reached
More reviews will be available in 5 minutes and 15 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
plan-to-gitcommitdebc5f5b08a02f9038d7df8938cf72a6ec24a22afrom feat(cli): support explicit GitHub repo target plan-to-git#9.PLAN_TO_GIT_REPOtarget boundary for every generatedplan-to-gitinvocation.upstreamfirst and fall back toorigin, while leaving local git origin/state identity unchanged.url.<upstream>.insteadOf=<origin>workaround from the generated hook runner and tests.Depends on: ProverCoderAI/plan-to-git#9
Proof of fix
originbut must post plan comments to the upstream PR repository; without an explicit target,plan-to-gitcan only infer the fork from local git context.plan-to-gitnow exposes--repo/PLAN_TO_GIT_REPOfor GitHub PR/comment targeting, anddocker-gitpasses the upstream/base repo into that API instead of rewriting git config.plan-to-gitwithPLAN_TO_GIT_REPO=org/repo, includingsync --pr 375.Validation
bun --cwd packages/container test tests/core/git-post-push-wrapper.test.ts tests/core/templates.test.tscd packages/container && bun run typecheckcd packages/container && bun run buildcd packages/container && bun run lint