Skip to content

fix(runtime): retire R17 Service when inspect cannot re-prove endpoints - #383

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/r17-inspect-retire-dead-endpoints
Sep 14, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/r17-inspect-retire-dead-endpoints

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • On R17 Service inspect, if observation fails (including retained advertised-URL re-probe), retire the generation the same way apply does after fix(runtime): retire Service on failed R17 advertise probe during apply #380.
  • Add a flip-connector test that applies successfully, then inspects after the guest relay rejects, and asserts durable inventory is empty.
  • Document the inspect/apply inventory alignment in CHANGELOG and ROADMAP.

Why (first principles)

Running + NetworkMode::Service implies exact live declared endpoints. Withdraw-lease-only on inspect left callers with a last-good Running observation that still advertised dead host URLs. This is the same honesty class as #380, on the other public observation path — not timeout widening, B2, Live digests, or #172.

Test plan

  • New unit test inspect_retires_service_when_retained_advertised_url_stops_answering
  • Linux CI Test job (authoritative for vm+linux a3s_runtime_driver tests)
  • Full PR CI green before squash-merge

Align inspect with apply inventory honesty: a dead retained advertised URL
must not leave a Running generation whose last observation still lists it.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 3b03d3c into main Sep 14, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/r17-inspect-retire-dead-endpoints branch September 14, 2026 14:34
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