Skip to content

perf(gateway): keep reload and recovery machinery off gateway cold start - #119094

Merged
steipete merged 1 commit into
openclaw:mainfrom
xyrolle:perf/gateway-lifecycle-hub-leaf-imports
Aug 5, 2026
Merged

steipete merged 1 commit into
openclaw:mainfrom
xyrolle:perf/gateway-lifecycle-hub-leaf-imports

Conversation

@xyrolle

@xyrolle xyrolle commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Related: #119087
Related: #106680

AI-assisted.

What Problem This Solves

Starting a gateway from cold does measurably more work than it needs to before it can accept its first connection. Operators on container platforms pay this on every cold start, where the gap between process start and http server listening decides whether a readiness probe passes or the platform kills and retries the container.

The gateway run loop deliberately primes cli/gateway-cli/lifecycle.runtime.ts before it installs signal handlers, so everything that hub re-exports is loaded before the listener binds. Two of those re-exports resolved through modules that only forward symbols onward, so priming the hub also evaluated the gateway hot-reload machinery, the managed config reloader, and the main-session recovery runtime — none of which the primed hub calls, and none of which are needed to start serving.

This is one of two contributors we isolated while investigating a ~2.5x gateway boot regression between 2026.7.1-beta.1 and 2026.7.2-beta.7 (#119087). It does not resolve that regression — this edge exists in 2026.7.1 too, and the regression's larger driver is the growth of the default startup plugin set, which overlaps #106680. What this change does is make the pre-bind window smaller on every release.

Why This Change Was Made

Re-export each symbol from the module that defines it instead of from a forwarding module:

  • abortPendingChannelReloads is a three-line generation bump defined in gateway/server-reload-contracts.ts. It was reached through gateway/server-reload-handlers.ts, which also re-exports createGatewayReloadHandlers (server-reload-hot.ts) and startManagedGatewayConfigReloader (server-reload-managed.ts). ESM evaluates the whole forwarding module, so a three-line function pulled both reload graphs onto cold start.
  • markRestartAbortedMainSessions is defined in agents/main-session-restart-recovery-marking.ts. It was reached through agents/main-session-restart-recovery.ts, which also re-exports the -runtime sibling.

Both are re-export retargets, not copies: each resolves to the same module instance as before, so module-level state (abortGeneration / currentReloadGeneration in the reload contracts) stays shared and behavior is unchanged. The eager priming itself is untouched, so the dist chunk-hash-rotation protection it exists for still holds — the boundary test added here asserts the priming still happens before signal handlers are installed.

Both targets already have in-repo precedent as direct import sites: gateway/server-reload-managed.ts imports abortPendingChannelReloads from server-reload-contracts.js, and gateway/server-startup-post-attach.ts imports from main-session-restart-recovery-marking.js.

Non-goal: server-reload-handlers.ts is left in place as the reload surface for its remaining consumers. Retiring the forwarding modules entirely is a larger ownership decision and is not attempted here.

User Impact

Less work between process start and the gateway accepting connections. No user-visible behavior change: same functions, same module instances, same state.

The hub's own static import closure, measured from source on this branch by walking the non-erased import/export graph (type-only edges dropped, import() treated as a boundary):

before after
first-party modules statically reachable from the primed hub 3,546 1,541
bytes of those modules 26.67 MiB 10.85 MiB
distinct external package specifiers reached 52 24

That closure number is the hub in isolation; most of those modules are also reachable from other boot work, so it is an upper bound, not the boot saving. The honest boot-path figure comes from counting modules the process actually loads before http server listening on a 1-vCPU node:24.18.0-bookworm-slim container (ESM loader hook plus a Module._load wrapper for CommonJS), with the reload edge cut:

2026.7.2-beta.7 with the reload edge cut
modules loaded before http server listening 5,204 5,160 (-44)
bytes loaded before listening 39.86 MiB 38.82 MiB (-1.04 MiB)
modules loaded in the starting... -> starting HTTP server... window 631 573 (-58)
bytes loaded in that window 4.63 MiB 3.42 MiB (-1.21 MiB, -26%)

On wall-clock time this change is not separable from run-to-run noise on our bench. Median time to listen was 11.1 s stock vs 10.0 s patched over 6 interleaved runs, but stock ranged 6.7-28.0 s, so we are not claiming that as a result. The defensible statement is the module census: about a quarter of the bytes loaded in the pre-bind hand-off window go away, and module counts are deterministic where these timings are not.

Evidence

Emitted chunk graph after pnpm build on this branch. Walking static edges only (so import() is a boundary) from the built hub chunk dist/cli/gateway-lifecycle.runtime.js:

cli/gateway-lifecycle.runtime.js      674 chunks /  8.657 MiB
  not reachable   createGatewayReloadHandlers      (server-reload-hot)
  not reachable   startManagedGatewayConfigReloader (server-reload-managed)
  not reachable   recoverRestartAbortedMainSessions (recovery -runtime)
  REACHABLE       abortPendingChannelReloads        (still exported, as required)

The hub chunk's own import list now reads from "../server-reload-contracts-*.js" and from "../main-session-restart-recovery-marking-*.js", and rolldown emitted server-reload-contracts as a 1-chunk, 2 KiB leaf — so the leaf really is a leaf after bundling, not merged back into the reload machinery.

Same build, for scale: the forwarding chunks still exist for their lazy consumers, and their static closures are server-reload-handlers 1,407 chunks / 19.34 MiB and main-session-restart-recovery 588 chunks / 7.87 MiB. Adding the chunks those graphs would make statically reachable back onto the hub gives 1,424 chunks / 19.52 MiB, i.e. this change takes -750 chunks / -10.87 MiB off the hub's eager chunk closure. (That pre-change figure is computed by unioning the facade graphs into the hub closure rather than by rebuilding with the old edge, so exact chunk boundaries could shift slightly on a real rebuild; the categorical result above — the machinery is not reachable — is measured directly.)

Validation run locally on this branch (macOS, Node 24.16.0, pnpm 11.15.1):

pnpm build         exit 0   total 15m 7.8s
                            check-cli-bootstrap-imports passed (1m 13.2s)
                            no [INEFFECTIVE_DYNAMIC_IMPORT] in build output
pnpm check         exit 0   tsgo typecheck (prod/scripts/test-root)
                            oxlint core + extensions + scripts
                            oxfmt --check: all 27,267 files correctly formatted
                            import cycles: 0 runtime value cycle(s)
                            all policy/preflight guards passed
pnpm test:changed  exit 0   5 Vitest shards, 23 files, 631 passed / 99 skipped

Targeted suites for the touched surface, all passing:

src/cli/gateway-cli/lifecycle-import-boundary.test.ts  +  run-loop.test.ts   56 passed
src/gateway/server-import-boundary.test.ts  +  server-startup-post-attach     74 passed
src/agents/main-session-restart-recovery.test.ts                             152 passed
src/gateway/server-reload-handlers.test.ts  +  .hot-reload-status.test.ts    213 passed

The new boundary test was confirmed non-vacuous: reverting both re-exports to the forwarding modules makes it fail with expected ... to contain 'from "../../gateway/server-reload-contracts.js"', and restoring them makes it pass.

I did not run the full pnpm test locally — this checkout has 8,952 test files and no remote test box was available to me — so the full matrix is left to CI. One note in case it shows up: on a first pnpm test:changed run, while this machine was still busy with a concurrent build, src/cli/help-exit.process.test.ts failed because a slow SQLite transaction lock wait warning (state.schema.ensure, 2,209 ms) landed on stderr and that test asserts stderr is empty. It passes 25/25 in isolation and on a repeat run of the whole lane on an idle machine; the file has no reference to anything this PR touches. Flagging it as a load-sensitive test rather than something this PR caused.

Method notes:

  • Boot benchmark and module census: stock node:24.18.0-bookworm-slim, docker --cpus=1, NODE_DISABLE_COMPILE_CACHE=1, token auth, no channels, browser disabled, update checks off; interleaved runs with the page cache warmed first. The same instrument runs against every build, so its overhead cancels.
  • The -44 modules / -1.04 MiB census figure was produced by cutting the reload edge in a published 2026.7.2-beta.7 bundle, which emulates this source change; it covers the reload edge only, not the recovery-marking edge.
  • src/cli/gateway-cli/lifecycle-import-boundary.test.ts is added so a future edit cannot quietly route these re-exports back through a forwarding module. It follows the existing src/gateway/server-import-boundary.test.ts idiom and stays in the CLI lane so PR change classification selects it with the file it guards.
  • No autoreview skill is present in this checkout, so that step could not be run.

@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: XS labels Aug 4, 2026
@xyrolle
xyrolle marked this pull request as ready for review August 4, 2026 03:52
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 4:04 AM ET / 08:04 UTC.

ClawSweeper review

What this changes

The PR retargets two eagerly primed gateway lifecycle exports to their defining modules and adds static boundary coverage so reload and recovery runtime graphs stay off cold start.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open. This is a correct, narrow gateway cold-start optimization: it preserves the lifecycle hub’s exports while avoiding two facade-only dependency graphs. The branch is mergeable but behind, with exact-head checks still running; let normal merge gates finish.

Priority: P3
Reviewed head: f354a174c3699c26628acc084fbe245b33b9ea04

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-backed optimization with strong exact-head terminal proof and no actionable correctness finding.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The contributor supplied exact-head terminal proof of a successful build, import-boundary/chunk result, and focused runtime tests; redact-sensitive data is not present.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The contributor supplied exact-head terminal proof of a successful build, import-boundary/chunk result, and focused runtime tests; redact-sensitive data is not present.
Evidence reviewed 8 items Exact-head lifecycle retarget: The PR head exports the two existing lifecycle symbols from their defining modules, while retaining the lifecycle hub and its public export names.
Eager caller and later use: The run loop primes the hub before signal installation, then calls both symbols through the cached module on restart paths.
Canonical reload state remains shared: The forwarding reload facade re-exports the contract symbol alongside hot and managed implementations; the defining contracts module owns the generation state, so the direct export does not create separate state.
Findings None None.
Security None None.

How this fits together

Gateway startup eagerly loads a lifecycle export hub before installing signal handlers so restarts continue to work after an in-place package upgrade. The hub’s static exports therefore determine how much code is evaluated before the HTTP listener can accept connections.

flowchart LR
A[Gateway startup] --> B[Gateway run loop]
B --> C[Primed lifecycle hub]
C --> D[Reload contracts]
C --> E[Session restart marking]
C --> F[Signal handlers]
F --> G[HTTP listener]
Loading

Before merge

  • Resolve merge risk (P1) - The exact head’s full check matrix is still in progress; merge should wait for GitHub’s normal green and mergeable gates.
  • Complete next step (P2) - No repair lane is needed because review found no actionable defect; wait for the normal exact-head CI and mergeability gates.
Agent review details

Security

None.

PR surface

Source +3, Tests +37. Total +40 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 1 5 2 +3
Tests 2 39 2 +37
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 44 4 +40

Review metrics

Metric Value Why it matters
Production vs test delta production +5/-2; tests +39/-2 The small production increase documents a non-obvious eager-import ownership boundary; most change volume is focused regression coverage and mock retargeting.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the lifecycle hub’s direct leaf exports while leaving the full reload and recovery facades for their existing lazy consumers, then land after exact-head checks complete.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the lifecycle hub’s direct leaf exports while leaving the full reload and recovery facades for their existing lazy consumers, then land after exact-head checks complete.

Do we have a high-confidence way to reproduce the issue?

Not applicable as an issue reproduction: this PR has direct source evidence and exact-head build/import-boundary proof for a behavior-neutral cold-start optimization.

Is this the best way to solve the issue?

Yes. Re-exporting from the modules that own the required symbols removes only the unwanted facade edges while preserving the existing lifecycle hub and canonical shared state.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b1f2aae3034f.

Labels

Label justifications:

  • P3: This is a bounded cold-start optimization and explicitly does not claim to resolve the broader gateway startup regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The contributor supplied exact-head terminal proof of a successful build, import-boundary/chunk result, and focused runtime tests; redact-sensitive data is not present.
  • proof: sufficient: Contributor real behavior proof is sufficient. The contributor supplied exact-head terminal proof of a successful build, import-boundary/chunk result, and focused runtime tests; redact-sensitive data is not present.

Evidence

What I checked:

  • Exact-head lifecycle retarget: The PR head exports the two existing lifecycle symbols from their defining modules, while retaining the lifecycle hub and its public export names. (src/cli/gateway-cli/lifecycle.runtime.ts:12, f354a174c369)
  • Eager caller and later use: The run loop primes the hub before signal installation, then calls both symbols through the cached module on restart paths. (src/cli/gateway-cli/run-loop.ts:150, fd1cce282679)
  • Canonical reload state remains shared: The forwarding reload facade re-exports the contract symbol alongside hot and managed implementations; the defining contracts module owns the generation state, so the direct export does not create separate state. (src/gateway/server-reload-contracts.ts:19, fd1cce282679)
  • Recovery facade is an unnecessary eager sibling edge: The recovery facade re-exports marking and runtime families, whereas the marking module owns the symbol used by the lifecycle hub; gateway post-attach already loads marking separately for the same import-boundary reason. (src/agents/main-session-restart-recovery.ts:5, fd1cce282679)
  • Coverage preserves behavior and boundary: Existing tests exercise reload cancellation and recovery behavior; the PR adds a structural test for the direct leaf exports and eager-prime ordering, and retargets the run-loop mocks to the actual modules. (src/cli/gateway-cli/lifecycle-import-boundary.test.ts:13, f354a174c369)
  • Current-main compatibility check: No relevant lifecycle, reload, or recovery path changed between the PR parent and the supplied current-main SHA; current main retains the old facade edges, so this work is not obsolete. (b1f2aae3034f)

Likely related people:

  • vincentkoc: Available blame and the introducing commit connect this contributor to the lifecycle hub and both forwarding surfaces. (role: current facade and lifecycle-hub introducer; confidence: high; commits: dc11c7892777; files: src/cli/gateway-cli/lifecycle.runtime.ts, src/gateway/server-reload-handlers.ts, src/agents/main-session-restart-recovery.ts)
  • steipete: History shows major lifecycle-boundary and reload-handler refactors in this area. (role: historical gateway lifecycle contributor; confidence: medium; commits: 616f24fd49cd, 6c3950316196; files: src/cli/gateway-cli/lifecycle.runtime.ts, src/gateway/server-reload-handlers.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-04T04:03:08.899Z sha 10a4569de868ded6e5d6ac53ecc1f6b2d036c760 :: needs maintainer review before merge. :: none

The run loop primes cli/gateway-cli/lifecycle.runtime.ts before installing
signal handlers, so every symbol that hub re-exports loads before the HTTP
listener binds. Two of those re-exports resolved through forwarding modules:
gateway/server-reload-handlers.ts also re-exports the hot-reload and managed
reloader modules, and agents/main-session-restart-recovery.ts also re-exports
its -runtime sibling. ESM evaluates the whole forwarding module, so priming the
hub pulled both graphs onto the cold-start path.

Re-export each symbol from the module that defines it instead.
abortPendingChannelReloads lives in gateway/server-reload-contracts.ts, whose
own imports are all type-only, and markRestartAbortedMainSessions lives in
agents/main-session-restart-recovery-marking.ts. Both retargets resolve to the
same module instances, so shared reload-generation state and behavior are
unchanged, and the eager priming that protects signal handlers from dist chunk
rotation stays in place.

Add a CLI-lane import-boundary test so these re-exports cannot be routed back
through a forwarding module, and point the two run-loop test mocks at the
defining modules.
@xyrolle
xyrolle force-pushed the perf/gateway-lifecycle-hub-leaf-imports branch from 10a4569 to f354a17 Compare August 4, 2026 07:58
@xyrolle

xyrolle commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Refreshed for the P1/P2 before-merge items. Rebased onto main 84cfc436841d210a7ba3d2a58dc1392815c9deb4; new head f354a174c3699c26628acc084fbe245b33b9ea04. Clean rebase, no conflicts, and the diff is byte-identical to the reviewed one (3 files, +44/-4).

None of the 13 commits between the old base and that head touched lifecycle.runtime.ts, the reload contracts/handlers modules, or the recovery marking/runtime modules, so both leaf-import claims were re-checked rather than assumed: server-reload-contracts.ts still has 14 imports and all 14 are import type, and server-reload-handlers.ts is still a pure forwarding module re-exporting server-reload-hot.js and server-reload-managed.js.

Gate re-run on this exact head:

pnpm build         exit 0   total 29m 9.1s; check-cli-bootstrap-imports passed
                            no [INEFFECTIVE_DYNAMIC_IMPORT] in build output
pnpm check         exit 0   tsgo typecheck; oxlint core+extensions+scripts;
                            oxfmt --check clean; import cycles: 0 runtime value cycle(s)
pnpm test:changed  exit 0   5 shards, 23 files, 631 passed / 99 skipped
targeted suites    exit 0   7 files, 493 passed

Targeted set: lifecycle-import-boundary, run-loop, server-import-boundary, server-reload-handlers, server-reload-handlers.hot-reload-status, server-startup-post-attach, main-session-restart-recovery.

Import-boundary proof re-run on this head, walking static edges only from the freshly built dist/cli/gateway-lifecycle.runtime.js:

cli/gateway-lifecycle.runtime.js      674 chunks / 8.657 MiB
  not reachable   createGatewayReloadHandlers       (server-reload-hot)
  not reachable   startManagedGatewayConfigReloader (server-reload-managed)
  not reachable   recoverRestartAbortedMainSessions (recovery -runtime)
  REACHABLE       abortPendingChannelReloads        (still exported, as required)

The emitted hub chunk imports ../server-reload-contracts-*.js and ../main-session-restart-recovery-marking-*.js, and server-reload-contracts is emitted as a 1-chunk leaf. Source-level closure from the primed hub, re-measured on this head, is unchanged from the PR body: 3,546 -> 1,541 first-party modules, 26.67 -> 10.85 MiB, 52 -> 24 external package specifiers.

One note on staleness: main advanced another 29 commits while this validation was running, so the branch reads as behind again. None of those commits touch the hub, the reload contracts/handlers/hot/managed modules, or the recovery marking/runtime modules, so the proof above still describes the merge result. I stopped there rather than re-rebasing, per AGENTS.md — "after one green run plus clean rebase sanity, do not chase moving main with repeated full gates" — since a ~30 minute build cannot keep pace with this branch's landing rate. Happy to refresh again on request, or for a maintainer to push to the branch directly (edits are enabled).

@clawsweeper re-review — requesting the exact-head re-review that AGENTS.md now calls for after a post-review push (ed8d1e7).

AI-assisted.

@xyrolle

xyrolle commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper so how come the issues this fixes are P1, but this is P3?

@steipete
steipete merged commit 9c61076 into openclaw:main Aug 5, 2026
121 checks passed
@steipete

steipete commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 5, 2026
* origin/main: (22 commits)
  refactor(plugins): consolidate lifecycle hook dispatch (#119429)
  fix(ci): stabilize TUI PTY proof ownership (#119420)
  test(system-agent): reduce suite setup overhead (#119424)
  fix(ui): keep session rail pill status from overlapping the headline (#119397)
  fix(discord): avoid doctor runtime loading (#119391)
  fix(media): decouple playback cache retention (#119417)
  fix(slack): infer upload filename extensions from MIME types (#119399)
  refactor(channels): unify configured binding resolution (#119414)
  refactor(google-meet): unify gateway and tool dispatch (#119413)
  test(state): reuse legacy database fixtures (#119423)
  fix(reset): preserve bootstrap guidance for dynamic models (#119179)
  fix(chutes): honor serving context limits (#119196)
  refactor(status): consolidate scan projections and lazy loaders (#119412)
  fix(status): status --all slows down with missing plugins (#119203)
  refactor(gateway): consolidate usage reporting and caches (#119409)
  perf(gateway): keep reload and recovery machinery off gateway cold start (#119094)
  fix(cli): align TaskFlow controller columns for wide text (#118801)
  fix: make startup migration restart guidance install-neutral (#119406)
  fix(ci): preserve cache warmer shard envelopes (#119403)
  fix(sessions): preserve compatible auth profiles on model changes (#117550)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
…art (openclaw#119094)

The run loop primes cli/gateway-cli/lifecycle.runtime.ts before installing
signal handlers, so every symbol that hub re-exports loads before the HTTP
listener binds. Two of those re-exports resolved through forwarding modules:
gateway/server-reload-handlers.ts also re-exports the hot-reload and managed
reloader modules, and agents/main-session-restart-recovery.ts also re-exports
its -runtime sibling. ESM evaluates the whole forwarding module, so priming the
hub pulled both graphs onto the cold-start path.

Re-export each symbol from the module that defines it instead.
abortPendingChannelReloads lives in gateway/server-reload-contracts.ts, whose
own imports are all type-only, and markRestartAbortedMainSessions lives in
agents/main-session-restart-recovery-marking.ts. Both retargets resolve to the
same module instances, so shared reload-generation state and behavior are
unchanged, and the eager priming that protects signal handlers from dist chunk
rotation stays in place.

Add a CLI-lane import-boundary test so these re-exports cannot be routed back
through a forwarding module, and point the two run-loop test mocks at the
defining modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants