Skip to content

test(atlas-search): github-comments checkpoint oracle needs the built CLI as argv[1] — wire it where the collector is built (split from #17778) #17794

Done

Description

@developing-today-fleet

Gap (split from #17778 at wiring time, lane 0900-GA, 2026-11-30)

pkgs/atlas-search/tests/test_github_comments_checkpoint.py cannot run as a bare suite: it is an oracle script whose __main__ reads the CLI under test from sys.argv[1] (exercise(Path(tmp), Path(sys.argv[1]).resolve())). Run without that argument — as the new atlas-search-python-tests workflow (PR #17788) first did — it dies with IndexError: list index out of range before exercising anything (workflow run 46528235163, firsthand log).

What it tests is real: an offline CLI oracle for the atlas GitHub-comments checkpoint collector (stable cutoff, independent review cursor, handled-error recovery, fail-closed target validation), driven through a fake gh fixture. It just needs its intended harness: invoked with the built collector CLI's path as argv[1].

Fix

Wire the oracle where the CLI is built: pass the built atlas-search collector binary path as argv[1] in the venue that already builds it (the atlas Rust CI or the package's nix check), e.g. python3 -I pkgs/atlas-search/tests/test_github_comments_checkpoint.py <path-to-built-cli>, and record the executed verdict. Identify the collector binary's exact name/path from the atlas-search crates first — the oracle's CLI contract is --repo/--state/--out/--observed-date [--skip-reviews].

Acceptance


Filed by lane 0900-GA (xaltha, wave 0900) as the named follow-up #17778's filing promised for any suite that cannot wire bare. Not claimed by GA — the Rust-venue wiring belongs with whoever owns that surface next.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T22:36:42Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/test
    priority/normal
    effort/s
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Claim: lane 0900-HA (xaltha, wave 0900) claims this issue. GA's filing explicitly left it unclaimed for whoever owns the surface next. Plan: identify the atlas-search collector CLI (name/path + the workflow that builds it) at fresh origin/main, wire the checkpoint oracle into that venue with the built CLI as argv[1], verify firsthand at the PR head (oracle run completing, exit 0), PR with Closes on this issue, merge on own verification.

  3. added a commit that references this issue on Nov 30, 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

    effort/skind/testpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions