Skip to content

Instrument and streamline retained-home Runtime reopen - #4561

Merged
chronoai-shining merged 4 commits into
developfrom
tl/golive/1509-retained-home-resume
Nov 29, 2026
Merged

chronoai-shining merged 4 commits into
developfrom
tl/golive/1509-retained-home-resume

Conversation

@chronoai-shining

Copy link
Copy Markdown
Contributor

Change

The retained-home owner reopen now correlates publisher and owner timings with the signed relay request ID. Process-local intervals cover native adoption, RuntimeStatus, reconnect and the durable Ready commit. Timing metrics use bounded phase and outcome labels.

On the native fallback path, the owner now verifies the attached home once at the RuntimeStatus boundary in place of two adjacent verifications. The exact adopted state is checked before dispatch and after verifying the home following the reply.

Refs #1509

Validation

  • Cargo formatting, Clippy with warnings denied for both touched crates, the source-size check and the public-tree check passed.
  • 54 hosted adapter and 16 Agent Manager tests passed. The cold fallback test observed three live home verifications instead of four, one RuntimeStatus, and the existing post-status verification. The acknowledged-assignment path still used its single post-status home verification.
  • Retained-runtime replacement and Agent owner or parent lease changes were refused in the focused suites. Staging timing and continuity are pending.

Data changes

Existing durable formats, authority checks and writers apply. The change uses the existing signed relay header, reads the same routed home store and publishes through the existing Ready commit.

Release verification

Verify the request count and monotonic owner phases on a settled candidate. Run six manual resumes and one message-triggered resume with the same Standard Runtime image and continuity checks as the baseline. The full TC-047 acceptance campaign determines issue closure.

Third-party materials and contribution terms

The changes use existing repository dependencies and test fixtures.

Use the signed relay request ID to join publisher and owner timings. Emit process-local phase intervals and typed outcomes so overlapping work and the first failure can be reconstructed without logging request payloads.

Refs #1509
The cold fallback verifies the same attachment after adoption and again before RuntimeStatus. Reuse the later live verification after confirming the complete adopted state, then check state and home around the exchange. Standalone adoption and status retain their own verification boundaries.

Refs #1509
@chronoai-shining
chronoai-shining merged commit d6c3c43 into develop Nov 29, 2026
18 of 25 checks passed
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