Fix cross-repository PR cost coverage - #1108
Conversation
Closes #1106. CODE_MOWER_BUILDER: codex
e3c3d9b to
499146c
Compare
|
Note Automatic reviews are paused because your team has used its included automatic processing for this billing period (headroom scales with your seat count). You can still comment "Gitar review" to run one anytime, and automatic reviews resume on their own by October 1. Add seats for more headroom. Code Review ✅ Approved🟡 Medium risk · Changes cross-repository cost attribution and PR evidence coverage in uploads Fixes cross-repository PR cost coverage by isolating different repositories in shared builder and reviewer spend ledgers and linking pre-PR builder records only when their branch exactly matches a fetched GitHub PR. Comprehensive testing confirms the fix: 101 economics tests passed, all lint and compilation checks passed, and cost coverage improved from 0 to 118 complete PRs with no changes to reported costs. No issues found. OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
Claude audit (merge-authority lane)Head SHA: |
Claude audit (merge-authority lane)Head SHA: Claude Audit: PASS Summary: PR fixes cross-repository PR cost coverage: cross-repo evidence (explicit differing repo_slug) is now isolated instead of suppressing the current repo's coverage, and pre-PR builder runs can be linked to a PR via an unambiguous branch match against fetched GitHub PRs, remaining fail-closed on missing/ambiguous matches. Logic, docs, and tests are consistent; ambiguous-branch and cross-repo isolation paths are explicitly covered by new tests. No correctness, security, or data-loss issues found. Findings: none. |
Summary
Evidence
Census
The same metadata-only dry run was evaluated before and after this patch with no upload.
No subscription access, elapsed time, token counts, source, diffs, prompts, transcripts, issue bodies, raw output, credentials, or local paths are uploaded.
Closes #1106.
CODE_MOWER_BUILDER: codex