fix(github): close probe PRs without local gh reads - #397
Conversation
Session-Id: 01a03f5e-1101-7122-b7d0-e104ef9468c7
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 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 |
|
@coderabbitai review Requested for exact head |
There was a problem hiding this comment.
All reported issues were addressed across 5 files
You’re at about 90% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Session-Id: 01a03f5e-1101-7122-b7d0-e104ef9468c7
|
@coderabbitai review Requested for exact head |
Session-Id: 01a03f5e-1101-7122-b7d0-e104ef9468c7
|
@coderabbitai review Requested for exact head |
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
You’re at about 90% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
Session-Id: 01a03f5e-1101-7122-b7d0-e104ef9468c7
|
@coderabbitai review Requested for exact head |
Decision
Resolve the two
gh pr viewreads according to what each one was proving:state,headRefName/head.ref,body, andtitle, and Factory already has the exact resolver path.GithubConnectionWrite.closePullRequestis a confirmed App mutation: the concrete Relayfile implementation resolves only after the provider PATCH succeeds andconfirmWritereportsacked. A second unauthenticated CLI read did not add a stronger authority boundary and cannot execute in the production container.Missing mounted-read or App-write capabilities fail explicitly. A custom injected probe closer keeps its existing input shape; the default closer alone receives the mount, exact path, and connected write port.
Observed red before implementation
That run used the old implementation and demonstrated that the new mount inputs were ignored while
ghwas still executed.Ablation matrix
Columns: T1 mounted guard+close / T2 no CLI read-back / T3 missing mount is diagnostic / T4 default Factory wiring+exact path / T5 close error stays closed.
spawn gh ENOENT)Observed ablation summaries:
Green verification