Skip to content

ci: allow explicit release-plumbing prior target - #892

Merged
GraciousGazelles merged 4 commits into
mainfrom
repair/prerelease-exact-prior-main-f43b2e3
Sep 23, 2026
Merged

GraciousGazelles merged 4 commits into
mainfrom
repair/prerelease-exact-prior-main-f43b2e3

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • add a default-off opt-in for an exact prior protected-main prerelease target
  • require the workflow host to be the current protected main tip
  • require the target to be an ancestor and every target-to-host changed path to be release plumbing
  • preserve the existing resolver ancestry check, exact target checkout, release gates, and publication metadata

Why

A long-running release can require a workflow-only repair after its product target was already selected. The repaired workflow must be able to build that exact product commit without turning the manual release path into a general historical-release bypass.

The opt-in is prerelease-only and markerless-opt-in-only. It rejects non-main hosts, stale hosts, non-ancestors, and any target-to-host delta outside .github/workflows/sedna-release.yml and .github/scripts/test_ci_planners.py. Rename detection is disabled for the allowlist check and diff failure stops the workflow.

Validation

  • exact changed paths are the workflow and its planner-contract test
  • git diff --check passes
  • independent semantic review found and verified repairs for rename elision and diff-status propagation
  • final causal review is clean
  • fresh GitHub-hosted checks are required on this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-23T13:09:29.798364Z 28d3c2b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CI planner tests to verify the behavior of the new allow_prior_main_target input and its associated release metadata resolution logic. The feedback recommends removing redundant assertions in the test script, as verifying the full command string already covers the shorter substrings, which helps simplify and maintain the test code.

Comment thread .github/scripts/test_ci_planners.py Resolved
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 23, 2026
Merged via the queue into main with commit c338b65 Sep 23, 2026
73 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/prerelease-exact-prior-main-f43b2e3 branch September 23, 2026 13:40
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.

1 participant