Skip to content

feat(cli): package a running-process servicedef and bump to 1.11.22 - #716

Merged
zackees merged 1 commit into
mainfrom
feat/servicedef-release
Jun 12, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/servicedef-release

Conversation

@zackees

@zackees zackees commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

Final PR for zackees/running-process#383.

Test plan

  • lint + tests clean locally (prepared and validated before push)
  • CI green across platforms
  • Release automation publishes 1.11.22 after merge

🤖 Generated with Claude Code

Adds `zccache install-servicedef`, writing a `zccache.servicedef`
protobuf (soldr#722 pattern) into the running-process service-definition
directory so the shared broker can discover and verify the zccache
daemon. The service name matches the existing BackendHandle probe
("zccache") and the definition validates against the upstream loader.

Bumps the workspace version to 1.11.22 so release automation publishes
the adoption work (running-process#383 items 1-3).
@zackees
zackees merged commit 6351428 into main Jun 12, 2026
38 of 40 checks passed
@zackees
zackees deleted the feat/servicedef-release branch June 12, 2026 20:34
zackees added a commit that referenced this pull request Jun 14, 2026
…rministic (#730)

The flaky test (#717) measured `std::time::Instant::elapsed()` against a
3 s wall-clock bound after a 1 s wedge budget. On loaded CI runners the
post-timeout return path crossed the 2 s margin and tripped the assert
(observed three times on PRs #713 and #716, passing on rerun each time).

Switch to `#[tokio::test(start_paused = true)]` + `tokio::time::Instant`
so the fake's `sleep(budget)` auto-advances tokio-virtual time the
moment no other tasks are ready. Elapsed is now deterministic — exactly
the configured budget regardless of host load — so the assertion can
test fail-fast behaviour with both lower and upper bounds.

`tokio/test-util` is added as a dev-dependency feature on the `zccache`
crate (dev-only — does not bloat production builds).

Closes #717

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant