Skip to content

fix(daemon): preserve runtime isolation and synchronize signal fixtures - #18876

Open
chubes4 wants to merge 1 commit into
mainfrom
fix/issue-18863-homeboy
Open

chubes4 wants to merge 1 commit into
mainfrom
fix/issue-18863-homeboy

Conversation

@chubes4

@chubes4 chubes4 commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

Daemon launches discarded runtime storage overrides, causing isolated cleanup tests to contend on host-wide locks. This change preserves those overrides and removes startup and shutdown races in the affected fixtures.

What changed

  • Preserve runtime-temp and invocation-runtime overrides when launching daemons.
  • Verify runtime overrides are forwarded without forwarding caller context.
  • Wait for the SIGTERM-resistant fixture to acknowledge trap installation.
  • Synchronize daemon termination with cleanup lock transactions and retain detailed failure diagnostics.

Verification

  • 1-verify-2d009b4c2fff7c140a0e853344ad59d7dd2bd2a362627a962da72a2e39704a8f.txt (cargo fmt --all --check): passed on d9f2ef6. Base main@b83ed16 advanced to bc37f76 (base_behind_by: 3; rebase onto the current base before merging). 10205 ms; retained gate metadata.

  • 2-verify-aaf750d30a0e7ed378059034b15ad55a7c8cd12ca5d8aa08fb0d9716e2921440.txt (cargo check --workspace --all-targets): passed on d9f2ef6. Base main@b83ed16 advanced to bc37f76 (base_behind_by: 3; rebase onto the current base before merging). 116447 ms; retained gate metadata.

  • HOMEBOY_LINT_BASE=b83ed16f8ff57b02fd31cc7a7159a5b6ea700417 homeboy --placement l (HOMEBOY_LINT_BASE=b83ed16f8ff57b02fd31cc7a7159a5b6ea700417 homeboy --placement local review lint homeboy --path . --cha…): passed on d9f2ef6. Base main@b83ed16 advanced to bc37f76 (base_behind_by: 3; rebase onto the current base before merging). 217231 ms; retained gate metadata.

  • repro: none (no repro gate was declared, so these gates do not prove the issue).

  • CI: pending

Cook run
  • Gate 1: tree 2d8d8ad11b4b43db867f54321064493798d5245b
  • Gate 2: tree 2d8d8ad11b4b43db867f54321064493798d5245b
  • Gate 3: tree 2d8d8ad11b4b43db867f54321064493798d5245b

Evidence

  • Both reported tests passed 50 consecutive nextest iterations with retries disabled on this Linux workspace; additional concurrent cleanup stress runs passed.

AI disclosure

Tool: Homeboy Cook. Agent: Homeboy (pi). Model: Pi · route cook-heavy · served claude-opus-5-5, gpt-6.1-sol. Cook time: 1h05m.

AI investigated failures, implemented fixes, and ran targeted stress tests, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.

Closes #18863

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant