Skip to content

Infra TV11: what remains of the service group #813

Closed

Description

@jparker2006

Parent

Ticket TV11 of spec #787 (Infra).

What to build

Once the engine removals have deleted their tests, run the ledger on what remains of the service tests (scheduler, runtime, update, App tokens and the loop runner).

Owned paths

  • tests/service/ (after ER2
  • ER3
  • ER4 and ER6)
  • tests/Cargo.toml (shared: this group's target lines)
  • ci/select/ (shared: this group's selection rows)
  • crates/*/tests/ (shared: only the files this group moves there)
  • tools/test-value/evidence/tv11/

Relies on: tools/test-value/README.md

Links

Acceptance criteria

  • Every test in the group has a ledger row
  • The pull request carries the group's ledger and the coverage script's before and after results; any coverage drop is explained by a named behaviour that no longer exists.
  • Kept tests that exercise one crate moved next to it; the rest stay with a one-line reason
  • The full suite and CI selection are green
  • 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>, or no 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

T1, T2 and T4: the ledger, the coverage results and the size and time numbers in the pull request.

Activity

  1. added this to the Infra milestone on Nov 15, 2026
  2. added
    ready-for-agent
    on Nov 15, 2026
  3. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/813-service-test-value

  4. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Builder question (path): moving the service crate's own test targets next to their crate.

    Found: 15 of this group's 16 targets are already openwiz-service test targets (cargo test -p openwiz-service, CI unit rust:lib:openwiz-service), but their files sit in tests/service/, named by [[test]] path = "../../tests/service/<file>.rs" lines in crates/service/Cargo.toml. Moving a kept target into crates/service/tests/ (owned: crates/*/tests/) needs that target's path line changed. crates/service/Cargo.toml is not in this ticket's owned paths or the J110 kinds.

    Options:

    1. Grant: crates/service/Cargo.toml, only the path value of each [[test]] this pull request moves or deletes (and deleting the [[test]] block of a target whose tests are all cut). No other line, no dependency change.
    2. No grant: the service targets stay in tests/service/, each with the one-line reason "the crate's manifest names this path; moving it needs an unowned manifest edit".

    Recommendation: 1. It is the only way to meet "kept tests that exercise one crate moved next to it" for this group, and it changes no dependency or target name. I'm carrying on with the ledger and coverage meanwhile.

  5. added
    needs-info
    on Nov 16, 2026
  6. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

    The builder's question (#813 (comment)): a narrow grant on crates/service/Cargo.toml, only the path value of each [[test]] this pull request moves into crates/service/tests/ (and removing the [[test]] block of a target whose tests are all cut), no other line and no dependency change; otherwise the service targets stay in tests/service/ with a one-line reason each. A manifest edit is outside the J110 kinds, so it goes to the orchestrator. The builder recommends the grant and carries on with the ledger and coverage meanwhile.

  7. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: granted, crates/service/Cargo.toml only: the path value of each [[test]] this pull request moves into crates/service/tests/, and removing the [[test]] entry of a target it cuts. With the planner's two guards: no target name changes, and the pull request lists every changed line while the reviewer checks that cargo test -p openwiz-service --no-run builds the same target names minus the cut ones.

  8. removed
    needs-info
    on Nov 16, 2026
  9. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: old builder archived, start 6931477406

  10. added 3 commits that reference this issue on Nov 17, 2026
  11. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    First push of room/813-service-test-value (new branch, ref first created at its base fe405cf): the pre-push hook ran all 4 checks in the foreground and passed in 353 s; the whole push took 364 s. PR: #1091.

  12. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    Reviewer question: #1091 at 972cc5f
    Is retained command/output evidence for both coverage measures available for independent verification (yes/no)?

    The replacement report says both measures ran with RUST_TEST_THREADS=1 in the foreground. At this head, tools/test-value/evidence/tv11/README.md states the thread setting, but before.json and after.json record only summary results, targets and toolchain; measure.py inherits the environment and records neither the thread setting nor foreground execution. None of the seven committed evidence files retains the actual measure invocations/output establishing those facts. Please provide readable retained run evidence binding each invocation and successful completion to its source revision, with the thread setting and foreground execution, or identify the existing evidence that establishes them. A repeated report alone cannot resolve the requested verification.

    Already checked: required ci and privacy pass on this exact head; the JSON comparison reproduces drops: none; all 325 ledger entries reconcile; the t6 synthetic product includes tests/support/place.rs; cargo test -p openwiz-service --no-run passes with the base's target names and no cuts or renames; the manifest changes only the three granted path values. The moved files are byte-identical, P8(a)/M12 pass in CI, the registry remains unchanged with its existing single evidence wildcard, and every PR commit uses GitHub noreply author and committer addresses. Sandbox seconds are treated as no runtime claim. Known #1044/#1060 and #434 failures are not treated as new regressions.

    Audit gate: no verdict is posted while the explicitly requested coverage-run provenance remains unverified. Two read-only reviewer helpers at this head are archived; their no-push check is clean. No product files were edited. The review-ticket “Ask, never guess” procedure applies; the orchestrator's answer should begin Orchestrator answer: #1091 at 972cc5f2db29891cf811b8be8e040f678351c177. This is an audit question, not a finding that the runs used different settings or that this PR introduced a regression.

  13. added
    needs-info
    on Nov 17, 2026
  14. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: asked the orchestrator

    The reviewer's question for #1091 at 972cc5f is #813 (comment). Routed on spec #787 with retained transcript support in the private record: https://github.com/jparker2006/ClosedWiz/issues/325#issuecomment-6955191574. This is an open reviewer question; retain the reviewer and needs-info pending the orchestrator's answer.

  15. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    Orchestrator answer: #1091 at 972cc5f. No, there is no retained per-invocation output beyond the private transcript, and none is required. The thread setting and foreground execution are how the builder ran the measure, not claims a user relies on; nothing in this pull request turns on them. You have already reproduced what matters: CI green at this exact head, drops: none from the JSON comparison, all 325 ledger rows reconciled, the same target names. Post your verdict on that evidence. If you want more certainty, rerun measure.py yourself at this head and compare; that is optional, not a blocker. From here, provenance of how a builder ran a local measurement does not hold a verdict unless a result could not be reproduced.

  16. removed
    needs-info
    on Nov 17, 2026
  17. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: completed builder archive failed: Cloudroom is waiting for its server

    #1091 is verified merged into main at approved head 972cc5f, merge commit 894ab71. Merge-group ci and privacy passed. The reviewer is archived. Cloudroom refused the builder archive with “This thread is waiting for its server.” No build work remains; retain this as an archive-cleanup exception, without restarting the builder.

  18. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

    #1091 merged at approved head 972cc5f (merge 894ab71). The reviewer archive is verified. The completed builder's archive remains a recorded Cloudroom cleanup exception in the preceding look comment; its original start claim is 6931477406, branch room/813-service-test-value. No further ticket work is assigned.

  19. jparker2006 commented on Nov 17, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

    Archive cleanup is complete: the finished builder archive succeeded on retry and was read back; the reviewer archive was already verified. The earlier Cloudroom waiting-for-server exception is resolved. #1091 remains verified merged at approved head 972cc5f (merge 894ab71).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions