Repository navigation
chore(release): bump 1.12.3 -> 1.12.4 - #744
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This was referenced Jun 14, 2026
zackees
added a commit
that referenced
this pull request
Jun 14, 2026
#745) (#746) * test(wedge): plumb wedge budget as parameter to eliminate env-var race (#745) The four `wedge_detection_*` unit tests in `wrap::ipc::tests` each mutated the process-global `ZCCACHE_WEDGE_RECV_TIMEOUT_SECS` env var to inject a 1 s or 0 s budget. `cargo test` runs them in parallel, so when one test called `remove_var` between another test's `set_var` and the recv, `wedge_recv_timeout()` fell through to its 180 s default. Under `#[tokio::test(start_paused = true)]` virtual time then advanced 180 s during the fake's `sleep(budget)` and the assertion's upper bound (`elapsed < 1.1 s`) tripped — symptom seen on PR #744's Windows runner. PR #730 made the elapsed measurement deterministic against the configured budget, but did not address the env-var race that made the configured budget itself non-deterministic. Fix: refactor `compile_recv_with_wedge_detection` to take an explicit `Option<Duration>` budget parameter. Production callers (`cmd_compile`, `cmd_compile_ephemeral`, `cmd_link_ephemeral`) pass `wedge_recv_timeout()` so the `ZCCACHE_WEDGE_RECV_TIMEOUT_SECS` knob still works for users. Tests pass a constant `Some(Duration::from_secs(1))` (or `None` for the disabled path) directly — no env mutation, no race. Renames `wedge_detection_disabled_when_env_is_zero` → `wedge_detection_disabled_when_budget_is_none` since the test no longer exercises the env var. Closes #745 Refs #717, #730, #666 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * style(cache_ops): inline format literal in cache list header Drive-by clippy fix to unblock CI on #745. The new `zccache cache list` header (#742) had a trailing "path" literal as a format arg; clippy's `print_literal` lint wants it inlined. Pure mechanical refactor. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Triggers
release-auto.ymlon merge to main to publish wheels (PyPI) and crates (crates.io), then a GitHub release.Changes since 1.12.3
zccache cache listsubcommand (design:zccache cache list+zccache cache prune— manage dormant per-version cache directories (companion to #694) #695 Phase 1) (feat(cli): addzccache cache listsubcommand (#695 Phase 1) #742)zccache release-handles --path X(design:zccache router serve+zccache release-handles— move the multi-version broker into zccache itself (benefits FastLED + soldr equally) #694 Phase 2) (feat(cli): addzccache release-handles --path X(#694 Phase 2) #741)zccache cache sizesubcommand (design:zccache cache list+zccache cache prune— manage dormant per-version cache directories (companion to #694) #695 Phase 1 starter) (feat(cli): addzccache cache sizesubcommand (#695 Phase 1 starter) #739)No wire-breaking changes — patch bump is appropriate.
Test plan
soldr cargo check --workspacecleanrelease-auto.ymlruns on push-to-main with matching[workspace.package].version🤖 Generated with Claude Code