Skip to content

fix(runtime): retire Service on failed R17 advertise probe during apply - #380

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/r17-retire-on-failed-advertise-probe
Sep 14, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/r17-retire-on-failed-advertise-probe

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • When Runtime Service apply fails after ensure_started (including R17 advertised-URL probe rejection), retire the generation so durable inventory does not keep a Running unit the caller was told never applied.
  • Extend the rejecting-guest-relay unit test to assert managed_records is empty.
  • Document the honesty invariant in CHANGELOG / ROADMAP. Does not flip B2, invent Live digests, widen timeouts, or start [A3S Cloud] Complete sole Runtime provider conformance for Box #172 cutover.

Test plan

  • CI Linux Test: rejecting_guest_relay_does_not_publish_advertised_endpoints passes with empty inventory assertion
  • Confirm happy-path Service endpoint tests still pass
  • No B2 / Live digest / scale port_map regressions in the diff

Made with Cursor

Apply Err after ensure_started must not leave a Running unit in inventory when the advertised-URL probe rejects the guest relay. Does not flip B2 or invent Live digests.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit f8caf7d into main Sep 14, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/r17-retire-on-failed-advertise-probe branch September 14, 2026 11:30
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