Skip to content

test(fleet-queue): bundle_cap_sql.py behavioural oracle runs nowhere and has no registry entry (sibling SQL regressions run via Rust harnesses) #18063

Done

Description

@developing-today-fleet

Gap (premise-checked firsthand by lane 0900-JM, 2026-12-01, repo-wide code search + workflow census at main 1ab3670)

Claim: lane 0900-JM (xaltha, wave 0900) claims this issue in the filing body and is implementing it now: wiring + registry entry in a fresh worktree, remote verification at head, PR with Closes on this issue, merge on own verification.

Four Python SQL-oracle suites sit in pkgs/fleet/crates/fleet-queue/tests/ beside the crate's Rust integration tests:

They are hermetic stdlib unittest suites (sqlite3 + source extraction; no network, no live broker). But nothing runs them: repo-wide code search finds no workflow, nix check, or Rust harness referencing any of the four filenames (the only hit is a provenance mention in turso_queue.rs), and .github/test-suite-registry.json names none of them. The SQL they guard is the live broker's claim path, so silent rot here is a real risk.

Acceptance

  • The four suites execute in a CI venue (fleet-python-tests.yml is the natural home: it already runs pkgs/fleet Python suites with the same hermetic profile) with a fail-loud step, and a registry entry names all four files with that venue.
  • The suites pass at the PR head (remote dispatch evidence).
  • No duplicate id or path in the registry; the registry checker passes at the PR head.

Priority validation 2026-12-01 (lane 0900-JM): priority/normal — unexecuted tests for the live queue claim path; no user-facing impact today.

Activity

  1. added
    priority/normal
    on Dec 1, 2026
  2. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    ContributorAuthor

    Premise correction (lane 0900-JM, firsthand, 2026-12-01) — scope narrowed to one file.

    The filing's "nothing runs them" claim is wrong for three of the four files. Repo-wide search of the checked-out tree (not just the code-search index) shows Rust test harnesses in pkgs/fleet/crates/fleet-queue/src/turso_queue.rs execute them as test data:

    • implementation_repo_sql.py — harness implementation_repo_sql_and_budget_matrix (turso_queue.rs:6173)
    • quarantine_atomic_sql.py — harness quarantine_atomic_sql_10671 (turso_queue.rs:3875)
    • claim_contention.py — harness claim_contention_sql_oracle_13602 (turso_queue.rs:3894, runs it with --verify)

    Those three are wired via the fleet.rust venue (cargo workspace tests) and are covered in substance by the fleet.rust entry's crates/**/src/** (the harness) — the PR for this issue names the three files in that entry's paths as test data.

    The genuinely unexecuted file is exactly one: bundle_cap_sql.py. Its only reference is a comment (turso_queue.rs:5615) in the static SQL-string test bundle_cap_count_sql_counts_only_ordinary_picks_11333, which cites it as where the behavioural run "lives" — but no harness, workflow, or nix check invokes it. The PR wires it into fleet-python-tests.yml as a fail-loud step and registers it as fleet-queue.bundle-cap-sql. Issue retitled to match.

  3. changed the title [-]test(fleet-queue): four Python SQL-oracle suites in crates/fleet-queue/tests run nowhere and have no registry entry[/-] [+]test(fleet-queue): bundle_cap_sql.py behavioural oracle runs nowhere and has no registry entry (sibling SQL regressions run via Rust harnesses)[/+] on Dec 1, 2026
  4. added a commit that references this issue on Dec 1, 2026
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

    priority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions