Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
…(HACK-2741) (#1286) Part of HACK-2741. Same fix as #1280, for the tests #1278 added (and one #1276 test in the same file). #1280's `dependency_refresh::owner_lease_tests` test is not touched. ## Problem `next` is red: hosted `Candidate core (macos-latest)` (nextest) fails `provider::engine::command_lease_tests::the_authored_exec_request_waits_out_a_project_stop_and_releases_the_lease` with `provider_busy` after about 0.75 s, at cd2e21f. ## Root cause The test holds the lease for 600 ms against a 700 ms bound, so it has about 100 ms of slack. The shared retry loop (`state::wait_quietly`) sleeps up to 50 ms between attempts, and it checks the deadline before each attempt. On a loaded hosted runner the holder thread's unlock, plus the last sleep, can land past the deadline, and the waiter gives up just as the lock is freed. The bound was scaled from the 35 s wait; the 50 ms backoff cap was not. `a_requested_command_waits_out_a_project_stop_that_the_owner_bound_refuses` (#1276), in the same file, has the same 600 ms against 700 ms shape. ## Change - Both positive cases keep the 600 ms hold. Their deadline becomes `started + hold + 500 ms`: ten capped poll intervals for the holder to run, unlock, and be seen. - The expiry case `the_authored_exec_request_refuses_a_stop_past_its_bound_naming_it` asserts that the deadline has passed before it checks the exact refusal. - Test code only. No product change. ## Evidence On the M5 (macOS arm64), under the native-bench lock, with `--features native-config-plan`, filtered to `command_lease`: - `cargo nextest run` (0.9.151), 20 runs: 0 failures (14 tests each run). - `cargo test`, 20 runs: 0 failures. - `cargo +1.97.1 fmt --check`, and clippy `--all-targets -D warnings` with default features and with `--all-features`. - `privacy:check` after staging, and gitleaks. Labelled `ci:mac` so hosted macOS Candidate core runs on this PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- codesmith:footer --> --- <a href="https://dashboardbackend.blacksmith.sh/track/run-proof?expires=1798329234&installation_model_id=17053&pr_number=1286&ref=codesmith_pr_footer&repository=hack-dance%2Fhack&return_to=https%3A%2F%2Fgithub.com%2Fhack-dance%2Fhack%2Fpull%2F1286&variant=get_evidence&signature=e84ee032cf7565fc42c0c01ebc79a0ec5fd30503041d25156d21ccd4c4b15243"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-get-evidence-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-get-evidence-v2-light.svg"><img alt="Get evidence" src="https://pr-comments-assets.blacksmith.sh/codesmith/proof-get-evidence-v2-dark-3x.png" width="123" height="28"></picture></a> <sup><a href="https://app.blacksmith.sh/hack-dance/codesmith/hack/pr/1286?autoLogin=true&ref=codesmith_pr_footer">Open in [code]smith</a> · Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup> <!-- codesmith:autofix:disabled --> <!-- /codesmith:footer --> Co-authored-by: Dimitri Kennedy <344842+roodboi@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review Please review exact head |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Failures
nextat682a02964, Candidate core (macos-latest) returnedprovider_busyin the Compose dependency-refresh selection fixture in both feature modes (HACK-2741). The failure recurred in the all-features run atcd2e21fd. First failed jobnextatcd2e21fd, the authored exec fixture returnedprovider_busywith the project stop named in both feature modes, before it could check that the requester released the lock (HACK-2751). Failed jobCause and fix
The tests reduced a 30 s stop to 600 ms and a 35 s deadline to 700 ms. The actual polling backoff still caps at 50 ms per sleep, and filesystem work and scheduling can delay a retry. The loop checks the deadline before it tries again. In an instrumented Darwin run of the authored fixture, a delayed holder unlocked at 690.155 ms. The requester woke and reported
provider_busyat 707.524 ms. The same delayed hold passed with a 1,100 ms deadline. Per-poll timing is unavailable in the hosted failures.On Apple Silicon, the unchanged authored exec entry point acquired and released a real flock after a 31 s stop. It reached the missing-owner diagnostic at 31.014 s, inside the real 35 s budget, and the next acquisition succeeded. The Compose refresh and service-exec requester functions also passed real 31 s holds in the HACK-2741 probe. These fixtures exercise the production wait before owner transport or guest execution.
#1286 landed the equivalent authored and engine requester fixes on
nextateeea55cb7. The merge into this branch keeps those tests exactly as landed, including their 500 ms polling margin and the authored expiry assertion.This PR completes the Compose dependency-refresh fixture (HACK-2741). It keeps the 600 ms stop, allows 500 ms of slack for scheduling and up to ten capped poll intervals, and checks that the independent 300 ms expiry returns the exact raw
provider_busy, project-stop message and absent cause. The authored release and expiry behavior (HACK-2751) is verified alongside it on the merged branch. Existing tests separately pin the 35 s requester and 15 s owner budgets.The combined engine test exposed a separate timing assumption on
061af8f. The owner returned the exact project-stop refusal, then its test failed the assertion that less than 600 ms had elapsed. Both original regressions passed in both macOS feature modes. The engine test now holds the actual lock through owner expiry and releases it on the requester's first retry. It still verifies the exact owner refusal and the first post-acquisition diagnostic. macOS failureVerification
ci:macso both tests run on the PR head. The mergednextrun remains the final integration check for both issues.Refs HACK-2741, HACK-2751
Follow-up to HACK-2729 (#1276) and HACK-2739 (#1278)
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.