Repository navigation
Closed
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket ER2 of spec #786 (0.0.17).
What to build
The service no longer runs the fleet tick on a schedule: the tick job, its registration and its tests go, exactly as ER1's map lists. Everything else the service does is unchanged.
Owned paths
crates/service/src/tick.rscrates/service/src/lib.rs(shared: the tick module and job lines)crates/service/src/runtime.rs(shared: the tick wiring)tests/service/(shared: only the files ER1's map assigns to ER2, such ast4b_*.rsandt5_tick.rs)tests/service/main.rs(shared: their module lines)contracts/service.v1.md(shared: the tick section)changes/<this ticket>.md
Relies on: contracts/engine-retirement.v1.md
Links
- 0.0.17 ER1: map what the web view, the kept CLI and loops need, first #795 real: the map's exact delete list for this ticket and the list of what must stay
- 0.0.17 ER3: retire health and takeover #797 real: health takeover already retired, so removing the tick job cannot leave a paused fleet loop with no replacement started
Acceptance criteria
- Exactly the map's delete list for this ticket is gone; nothing kept changes behaviour
- The full suite is green, and the web view's kept route tests pass unchanged
- Closes as not needed, each with a comment naming this spec: the ones ER1's map assigns to ER2
- One changelog line, kind
removed, startingRetired: - Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test
catches: <the bug>, orno new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first. - Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.
Proof
E1 and E3 (the diff against the map, reviewed; the full suite green) and E4 (the changelog check).
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 16, 2026
launch-fleet: start checked, branch room/796-retire-service-tick
jparker2006 commentedon Nov 16, 2026
Builder question: one path gap that ER1's map does not list.
Found: with ER2's cut applied alone (on
mainat72374af),cargo test -p openwiz-service --test t5-healthfails 1 of 55:runtime::actual_service_registers_health_without_replacing_tick_update_or_other_jobs(tests/service/t5_runtime.rs). Its wait loop also requiresv["tick"]["last_ended"]["how"] == "failed", which never comes once the service registers no scheduled tick. It is the same class as the l12-registration waits that Q7 already grants (polish #867). The map's combined build missed it because ER3 deletest5_runtime.rsthere; the "ER2 alone" row ran no tests.Path:
tests/service/t5_runtime.rs(ER3, #797, owns it; ER3 has no pull request yet).Smallest change: delete one line, line 346:
&& v["incidents"] .as_array() .is_some_and(|rows| rows.iter().any(|i| i["tries"]["first"]["comment"] == 7001)) - && v["tick"]["last_ended"]["how"] == "failed" {Checked locally: with it, t5-health passes 55/55. The test keeps its other assertions (health registers and completes its record beside the update and other jobs); only the wait on the retired tick's run goes.
Options:
Recommendation: 1.
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator
jparker2006 commentedon Nov 16, 2026
Orchestrator ruling: granted. ER2 may make the one-line edit in
tests/service/t5_runtime.rsthat drops the wait on the retired tick'slast_ended, the same class as the l12 waits. Nothing else in that file; ER3 keeps the rest. Record it as aRuling:line and in Facts.#796: retire the scheduled fleet tick; red run of l12 waiting on tick…
#796: l12-registration stops waiting for tick.last_ended (Q7, polish #…
#796: green: drop t5_runtime's wait on the retired tick (ruling 69068…
jparker2006 commentedon Nov 16, 2026
launch-fleet: asked the orchestrator
jparker2006 commentedon Nov 16, 2026
Orchestrator ruling: fix by order, not code, approved under PG1 (the owner's standing rule that a re-cut which only reorders, with no change to scope, interfaces or gates, is approved by the orchestrator). ER2 now also waits for ER3 (#797, PR #918): takeover is retired before the tick job, which answers review finding R1 without throwaway code. ER2's pull request #920 stays as it is and merges right after #918. The ticket's
## Linksgains one line and nothing else changes; the builder keeps running. Reviewer: R1 is resolved by this ordering; say so at the re-check.#796: green: merge main after ER3 (#918); keep ER3's t5 deletions and…
jparker2006 commentedon Nov 16, 2026
launch-fleet: archived