Skip to content

Fix release publication ordering and recovery - #1675

Merged
JacobStephens2 merged 3 commits into
mainfrom
issue-1674
Oct 30, 2026
Merged

JacobStephens2 merged 3 commits into
mainfrom
issue-1674

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

tag bump → wait for publication → merge bump PR
resume failed unpublished release → newest green main or failed-job rerun

Re-cuts refresh the bump PR and retain the prior release boundary for summaries and optional Experiments. Published releases keep their refs.

Closes #1674

Evidence

  • Before: The release failure regression reported MERGED instead of OPEN. Both Spec reproductions exited 1: recovery consumed a stale failed attempt, and old merged-bump summaries omitted original release changes.
    After: The ordering, stale-attempt, summary and Experiment Baseline regressions pass. scripts/affected-tests main passed: 60 site tests, 3,626 Rust tests (75 skipped), and 3 release-generator tests. All GitHub checks are green on 14c6fea1.

  • Full Rust command: cargo nextest run, selected by NEXTEST_TEST_THREADS=3 RUST_TEST_THREADS=3 CARGO_BUILD_JOBS=3 scripts/affected-tests main; 2,902.84s including compilation, with three workers. Site checks took 85.19s; generator checks took 1.48s. Total selector wall time: 2,989.77s.

Seams under test: scripts/release.sh invoked as a black box against the release integration fixture's local origin, fake GitHub CLI, and Harness/Experiment adapters; the thirdshift experiment --release command's Baseline selection.

Review coverage

Standards raised 1 finding; Spec raised 2. All addressed, including the shared failed-release fixture setup. Both axes inspected every changed file, including generated manual hunks. Unread changed files: none. Generated-output exclusions: none.

Unaddressed findings

  • Standards: None.
  • Spec: None.
  • Security: None.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Blast Radius: releases

Recovery force-updates unpublished release branch/tag refs. Publication checks guard both updates; failed release workflows leave the bump PR open.

Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh

A failed gh release view was treated as no GitHub Release, so resuming
release.sh force-pushed a published tag. Only the not-found result may
move an unpublished tag; any other lookup refuses and leaves the refs
in place.
@JacobStephens2
JacobStephens2 merged commit 6afc19b into main Oct 30, 2026
21 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1674 branch October 30, 2026 22:10
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 31, 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.

release.sh: merge bump PR after publication and recover failed unpublished releases on resume

1 participant