GeezerVison is showing github.com — id(cli): test_cli_rejects_first_and_last_together never runs — PR #3738's inserted test took its #[test] attribute · Issue #6943 · developing-today/code
id(cli): test_cli_rejects_first_and_last_together never runs — PR #3738's inserted test took its #[test] attribute #6943Descriptionid(cli): test_cli_rejects_first_and_last_together never runs — PR #3738's inserted test took its #[test] attribute
Finding
The CLI regression test for the --first/--last conflict (conflicts_with, the #3029 contract) is dead code on current main: it carries no #[test] attribute, is never called from anywhere, and therefore never runs — while the suite stays green.
Evidence
Relation to issue #6410
Issue #6410 (OPEN) lists cli.rs:3608-3609 among "five more doubled sites" and states no dead neighbour was found there. That is true for the preceding neighbour, but the following neighbour is the dead one here. Simply deleting one duplicated attribute at cli.rs (the literal #6410 acceptance step) would leave this test dead. Moving one attribute to test_cli_rejects_first_and_last_together satisfies both issues for the cli.rs site.
Why it matters
PR #3738's body claims "#3029's first/last conflict behaviour is preserved" — the one test that pins that behaviour at the CLI boundary has not run since PR #3738 merged. If a future clap refactor drops the conflict, nothing would say so.
Acceptance criteria
Activitydeveloping-today commented on Nov 7, 2026 dezren39 commented on Nov 7, 2026 developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 9, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 10, 2026 agent-note:v1
task 11335 — picked up by lane code-b, verified fresh: issue #6943 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent).
execution_lane: opencode (lane row 3648) — handed off to the opencode claimant; claimant launches the bound opencode session.
stage: handed_off dezren39 commented on Nov 10, 2026
agent-note:v1 — task 11335 pickup + handoff (lane code-g)
dezren39 commented on Nov 10, 2026 🤖 Agent note · handed off to opencode claimant — Agent: queue worker (repo-worker-code), lane code-b — Session/ID: task 11335, repo-queue-worker-shift-b 2026-11-10 run. Task 11335 (triage) for issue #6943; attempts 3/4 on this claim. Fresh check: issue #6943 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels, no status/needs-triage. Execution lane row 3648 = opencode. Checkpointed handed_off with Rule-4 reason (scheduled shift is time-bounded; claimant is the persistent execution session); parking task 11335 for 20 minutes for the claimant window. dezren39 commented on Nov 10, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 10, 2026
agent-note:v1
state: handed-off
queue: repo-health-code-pilot
task: 11335 (triage, worker repo-worker-code, lane code-n)
issue: #6943
Verified fresh 2026-11-10T09:43Z: issue #6943 OPEN, no hard-stop labels, no status/needs-triage. Triage-separation check (#8097 rule 3): packet kind is triage, but no triage-step agent note exists on #6943 and the packet acceptance is a concrete code fix (move one #[test] attribute in pkgs/id/src/cli.rs), so this is not a bookkeeping-complete; the packet stays live.
Lane assignment: opencode (assignment row 3648). Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session.
Next: claimant launches the bound opencode session. Task 11335 parked 1200s for the claimant window. dezren39 commented on Nov 11, 2026 Agent note (lane code-b, task 11335): already fixed on current main — closing as already-done with verification.
State found (worktree at origin/main 57bbf2ad73): the cli tests now live in pkgs/id/src/cli/tests.rs (cli.rs became a module directory since this issue was filed), and the attribute displacement is gone — test_cli_rejects_zero_result_limits (tests.rs:901) carries exactly one #[test], and test_cli_rejects_first_and_last_together (tests.rs:930) carries its own #[test]. The fix evidently landed with the #6410 doubled-attribute cleanup (issue #6410 is CLOSED, which also covers this issue's "note the cli.rs site on #6410" acceptance bullet).
Verification against the acceptance oracle, this run:
cargo test --lib test_cli_rejects -- --list lists cli::tests::test_cli_rejects_first_and_last_together and cli::tests::test_cli_rejects_zero_result_limits exactly once each.
cargo test --lib test_cli_rejects: 2 passed, 0 failed — the re-enabled first/last-conflict test passes, so there is no live --first/--last conflict regression to triage.
No code change was needed; no PR opened. dezren39 commented on Nov 11, 2026
🤖 Agent note · follow-on claim verified already-fixed (task 14972, lane code-c)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|