fix(sdd-execute): --locked Rust gate (closes #318) + raise wall-clock budget to 90m - #319
Conversation
…o.lock on manifest change The Rust consumer-verify gate ran cargo build/clippy/test without --locked, so cargo silently rewrote Cargo.lock in-memory and lockfile drift passed the gate — only surfacing as a --locked exit 101 on consumer CI after the PR was open (a Cargo.toml dep add without a lock regen shipped a red PR). Pass --locked in the gate so drift fails in-loop exactly as consumer CI does, and require regenerating + committing Cargo.lock when the task changes a Cargo.toml, mirroring the Node per-root frozen-lockfile rule. Closes #318 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0143kv2BRrRqGxmVwwHskQtS
|
Important Review skippedNo new commits to review since the last review. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe Rust pre-PR CI gate instructions embedded in the ChangesRust --locked pre-PR gate and compiled artifact refresh
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
60m proved too tight for the larger multi-crate tasks (egress/ingress policy enforcement, *.localhost hostname registry), which timed out mid-run on the sonnet tier. Raise timeout-minutes to 90 across all execute tiers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0143kv2BRrRqGxmVwwHskQtS
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/sdd-execute-opus.lock.yml:
- Line 2101: The push_to_pull_request_branch configuration is missing the
protected_files_policy setting that exists in create_pull_request. Locate the
push-to-pull-request-branch section in the source markdown file and add the
protected_files_policy field with value "fallback-to-issue" to match the policy
defined in create_pull_request. After making this change, recompile the workflow
using the gh aw compile command to regenerate the lock file and ensure the
configuration is properly propagated to all handler instances including the one
at line 3511.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 82a03fab-2bd6-464d-b4ca-b1f0297d0c67
📒 Files selected for processing (6)
.github/workflows/sdd-execute-haiku.lock.yml.github/workflows/sdd-execute-haiku.md.github/workflows/sdd-execute-opus.lock.yml.github/workflows/sdd-execute-opus.md.github/workflows/sdd-execute-sonnet.lock.yml.github/workflows/sdd-execute-sonnet.md
|
@coderabbitai review |
✅ Action performedReview finished.
|
Two execute-fragment fixes, deployed together via retag.
1.
--lockedRust Pre-PR gate (closes #318)The Rust consumer-verify gate ran
cargo build/clippy/testwithout--locked, so lockfile drift passed the gate and only surfaced as a--lockedexit 101 on consumer CI after the PR was open (aCargo.tomldep add without a lock regen shipped a red PR). Now: run the gate with--locked, and regenerate + commitCargo.lockwhen the task changes aCargo.toml(mirrors the Node frozen-lockfile rule).2. Raise wall-clock budget 60m → 90m
60m proved too tight for the larger multi-crate tasks (egress/ingress policy enforcement,
*.localhostregistry), which timed out mid-run.timeout-minutesraised to 90 across all execute tiers.Prompt-only +
timeout-minutesfrontmatter; recompiled locks (contract check passes, 0 compile errors). After merge: retagv0.3.0.🤖 Generated with Claude Code