Skip to content

File CI-red Tickets from Pickup after Base push failures - #1352

Merged
JacobStephens2 merged 2 commits into
mainfrom
issue-1342
Oct 25, 2026
Merged

JacobStephens2 merged 2 commits into
mainfrom
issue-1342

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Pickup, after taking the Pass lock
  latest Base push failed more than 30 minutes ago?
    reserve CI filing on origin
    no open CI-red Ticket → file bug + ready-for-agent
  continue ordinary Ready selection and dispatch

The Ticket includes the failing commit, jobs, recognizable failing test lines and run link. Filing errors warn and let Pickup continue. The guide and three hand-written site pages describe the behavior and reservation recovery.

Closes #1342

Test seam: the public thirdshift pickup command with real Git and the fake GitHub process adapter; published Ticket text, labels and dispatched PRs expose the results.

Evidence

  • Before: cargo test --test pickup_run base_ci::pickup_files_one_ci_red_ticket_with_evidence failed because no CI-red Ticket was created (titles[8] was null).
    After: the same regression passes; cargo test --test pickup_run passes (103 tests, one fixture entry ignored). Cases cover grace and latest-run gating, evidence, cross-base/label deduplication, ordinary Ready dispatch, occupied reservations and CI-read failures.

  • cargo check passes. npm test --prefix site passes all 50 tests through the affected-test runner.

  • Affected validation covers all 50 site tests, the binary unit suite (1,494 passed, three ignored), and all 71 integration executables. scripts/affected-tests main ran for 1,115.48s with a cached Rust build (0.35s build preparation), then stopped on an unrelated host snapd.service warning from systemd. With SYSTEMD_UNIT_PATH=/usr/lib/systemd/system, the failed deployment target and remaining nine executables all passed in 238.28s. No source changed between these runs; target coverage was checked against Cargo metadata.

  • Environment setup: the host enables tag.gpgsign and defaults to Python 3.9. Initial attempts exposed pre-existing fixture tag creation failures and a Python test requiring tomllib. Disabling tag signing for the test command passes all 36 worktree synchronization tests, and selecting installed Python 3.12 passes the exact bug-origin regression. Validation used a temporary PATH entry for Python 3.12 and command-scoped GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=tag.gpgsign GIT_CONFIG_VALUE_0=false; user Git configuration is unchanged. The final continuation also set SYSTEMD_UNIT_PATH=/usr/lib/systemd/system and ran:

    cargo test --test site_deploy --test skill --test spec_push_race --test spec_run --test status --test stop --test toolchain --test trial --test update --test user_config
  • cargo test --locked --test pickup_model -- --nocapture passes (4 tests). Compared covered requests with the skill's sync commit: dispatch/Claim ordering and reservation leases remain unchanged; CI filing happens before selection and is outside this one-issue model. Both documented safeguard mutations fail with their expected counterexamples. The explicit literal-property assertion also retains the documented pre-Claim counterexample; these checks establish the narrower claimed-dispatch property, not the literal dispatch promise.

Unaddressed findings

Standards

None. The independent reviewer reported zero findings, including after checking CODING_STANDARDS.md and its codebase-design guidance.

Spec

None. The independent reviewer reported zero findings against the saved issue.

Review coverage

Each axis read all 12 changed files, including generated site/docs/index.html. No generated-output exclusions and no unread changed files. Final reports and each axis's files-read list are retained in the Session artifacts as standards.md and spec.md.

Merge Danger

Door: two-way

Reverting stops future filing; already opened Tickets can be closed normally. Filing reservations use empty-create and exact owner-token release leases; a crashed owner requires manual recovery as documented.

Blast Radius: Pickup

Adds read requests and, for an old failed Base push, one ordinary Ready bug Ticket. Self-merge decisions are unchanged.

Built with codex · gpt-6.1-sol · high

@JacobStephens2
JacobStephens2 merged commit 2a33882 into main Oct 25, 2026
@JacobStephens2
JacobStephens2 deleted the issue-1342 branch October 25, 2026 19:58
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pickup files a CI red on main Ticket when the Base branch stays red

1 participant