Repository navigation
test(cli): require concrete fixture repository HEADs (#2383) - #2384
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Sorry @EffortlessSteven, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
Warning Review limit reached
Next review available in: 20 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?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 reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. 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, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe CLI smoke fixtures now resolve repository heads through validated concrete commit IDs, optionally use a valid GitHub Actions checkout SHA, and include bounded Git command context on failure. Both fixture writers use the helper, with regression tests and a one-off validation workflow. ChangesFixture repository HEAD validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Sorry @EffortlessSteven, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The protected Rust gate failed on `-D clippy::collapsible_if` for the Actions fallback branch in the concrete-HEAD helper. Collapse the nested `if let` / `if` into a single let chain. Behavior is unchanged: the fallback is still only accepted when it is a syntactically concrete commit id.
Protected-gate red was a real defect in this diff, not an aggregation artifactCorrecting the earlier diagnosis on this PR. The required Two things this explains:
Fix
if let Some(fallback) = actions_fallback
&& is_concrete_commit_id(fallback)
{
return Ok(fallback.to_ascii_lowercase());
}Behavior is unchanged — the Local proof on the fixed tree
One unrelated local failure, Awaiting an ordinary protected result on |
Summary
editor_agent_loop_fixture_outputs_match_expected.git rev-parse HEADoutput.Swarm / Source Boundary
ripr-swarmNo source release, publishing, signing, marketplace, asset, secret, or repository-settings authority moves in this PR.
Source-of-truth Links
0.11.0replacement-candidate qualificationScope
One test-support file:
git rev-parse --verify HEAD^{commit};GITHUB_SHAfallback only when:GITHUB_ACTIONS=true;GITHUB_SHAis itself a concrete 40-character hexadecimal commit ID;Scope Classification
Production delta:
Evidence/support delta:
HEAD, branch names, empty output, or another unresolved revision as repository identitySingle acceptance criterion:
Non-goals:
Support-tier Impact
docs/status/SUPPORT_TIERS.mdClaim/proof notes:
Policy Impact
Ledger or exception notes:
Proof
The read-only validation job passed before the final commit:
Result, failures, or skipped proof:
Claim Boundary
After merge, we may claim that CLI smoke fixture artifacts bind to a concrete repository commit or fail with bounded command context.
We may not claim changed production validation, universal repository currentness, or release readiness.
Rollback
Revert the squash commit. The previous unchecked fixture helper returns, and Test Analytics can again fabricate
HEADas artifact identity when Git resolution fails.Spec-Test-Code Traceability
crates/ripr/tests/cli_smoke.rsStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
HEADaccepted as canonical artifact identitytoolingon test(cli): bind editor-agent fixture artifacts to a validated concrete repository HEAD #2383Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin the added tests.Gates
cargo fmt --checkRipr Rust Small ResultAll package, publish, extension, dependency, documentation, and public-contract gates are n/a to this one-file test-only delta unless the protected route selects them.