Repository navigation
File CI-red Tickets from Pickup after Base push failures - #1352
Merged
Merged
Conversation
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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 pickupcommand 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_evidencefailed because no CI-red Ticket was created (titles[8]was null).After: the same regression passes;
cargo test --test pickup_runpasses (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 checkpasses.npm test --prefix sitepasses 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 mainran for 1,115.48s with a cached Rust build (0.35s build preparation), then stopped on an unrelated hostsnapd.servicewarning from systemd. WithSYSTEMD_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.gpgsignand defaults to Python 3.9. Initial attempts exposed pre-existing fixture tag creation failures and a Python test requiringtomllib. 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-scopedGIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=tag.gpgsign GIT_CONFIG_VALUE_0=false; user Git configuration is unchanged. The final continuation also setSYSTEMD_UNIT_PATH=/usr/lib/systemd/systemand 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_configcargo test --locked --test pickup_model -- --nocapturepasses (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.mdand 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 asstandards.mdandspec.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