Repository navigation
feat: centralize provider-scoped model discovery - #1841
Conversation
fc4fe09 to
390e0e3
Compare
|
CI repair verified through completion on the published stack:
The observed failures were addressed by collision-free ADR numbering and deterministic shutdown/debounce tests, not by increasing wall-clock tolerances or changing runtime behavior. The replacement checks were watched to completion; run Both PRs remain draft and unmerged. The bounded monitoring backstop is now paused. |
|
Deterministic-test follow-through is complete at
Local focused repetitions, mutation controls, full tests/race, lint, demo, and API checks passed across this follow-up. All review findings were resolved. Replacement CI was watched to completion on this exact head: 28 checks passed, 9 intentionally skipped, none pending or failed. Main CI, kind e2e, and performance succeeded. The bounded monitoring backstop is paused. No PR merge or deployment. |
5c1df21 to
e93fc7f
Compare
|
Rebased onto plan |
|
Pushed Validation: both targeted tests passed 20 normal repetitions and 20 race repetitions; the complete server package passed an uncached race run. Runtime code is unchanged. Replacement CI on this exact head is being followed to completion. |
Replace independent discovery writers with one provider-local attempt and publication owner. Wire bootstrap, startup, picker, admission and schedule inventory reads through coherent snapshots with bounded fetches, retained last-good metadata, cancellation isolation and joined resource cleanup. Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Document Service-entry admission, provider-local discovery lifecycle, coherent inventory readers, and bounded typed submission recovery. Correct the maintained resource and restart-fidelity inventory without changing runtime policy or plan status. Co-Authored-By: mecatl <[email protected]>
Correct exact-config precedence and first-demand scope, link canonical recovery guidance, and distinguish authoritative server windows from unchanged TUI freshness. Co-Authored-By: mecatl <[email protected]>
Repair round 1: keep completion diagnostics outside the reserved tail, cover admission and refresh lifecycle boundaries, and remove the unused snapshot projection. Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Add cross-Build evidence, outage, cooldown, shutdown and lease-conflict proofs; document the local and cloud lifecycle boundaries. Co-Authored-By: mecatl <[email protected]>
Replace scheduler-sensitive wall-clock assertions with synctest, preserving bounded shutdown, queued-event rearm, capped-burst grace, and real filesystem delivery coverage. Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Drive the existing watcher loop with synthetic events and virtual time; retain real filesystem notification integration tests. Remove a related renewal-deadline test scheduling assumption exposed by the full race suite. Co-Authored-By: mecatl <[email protected]>
Hold team provider requests explicitly instead of relying on a finite busy stream, and join discovery diagnostic delivery before inspecting recorded facts. Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
Close the resumed service before temporary JSONL storage is removed, including assertion failure paths, so detached control relays cannot race directory cleanup. Co-Authored-By: mecatl <[email protected]>
55c22c3 to
e6f8574
Compare
Summary
Development stage
Contract linkage
534d2c9c65e55df902389fc7ddbcccaf294ff624, an ancestor of this branch.landedplan edit is a proposed candidate transition, authoritative only when this Implementation PR merges.Interfaces match the amended contract: Yes. No engine/provider exported API, protobuf field/RPC, tool schema, CLI/config, event, or persistence-schema change. Inventory is a defensive host-internal combined model/status snapshot. Existing typed
context_window_unavailablesemantics remain intact.Verification
Local verification passed: the acceptance-plan checker (six scenarios, 26 ACs), focused normal and race suites, full lint, full
task test:race, and whitespace checks. The plan's documentation checks also passed.The implementation and amendment received separate review passes covering spec adherence, project standards, test adequacy, and architecture. Tests use offline fixtures; no live provider or paid request is required.
Test coverage
Scope and limits
Discovery remains replica-local. Positive exact last-good metadata is usable for one Build lifetime, not inference authorization. Session-lifetime leases remain held after metadata rejection; arbitrary-replica retry and holder routing are not guaranteed. Direct child/utility/team admission, generation-bound capabilities/effort, reasoning-field presence, persisted effective model identity, and broader UI identity/footer reconciliation remain deferred.
No merge, release, deployment, binary installation, or live paid testing. Relates to #1805, #1800, and #1798.