Repository navigation
fix: current-tree package checks support unreleased versions - #104186
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 21f8420749
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| }, | ||
| version: 1, | ||
| }; | ||
| await fs.promises.writeFile(file, `${JSON.stringify(payload, null, 2)}\n`); | ||
| await writeFailureIndex(logDir, payload); | ||
| await writeFailureIndex(logDir, payload, env); |
There was a problem hiding this comment.
Preserve QA changelog intent in summary reruns
When a QA-unreleased Docker run fails and someone uses the supported node scripts/docker-e2e-rerun.mjs <summary.json> path, this only passes the env through to writeFailureIndex, so failures.json gets qa_unreleased_changelog=true but summary.json has no field for docker-e2e-rerun.mjs to recover. Summary-based reruns therefore drop the flag and repack the same SHA strictly, which fails before the lane whenever package.json has advanced and CHANGELOG.md only has Unreleased notes—the failure mode this change is meant to fix.
Useful? React with 👍 / 👎.
21f8420 to
a7d61cc
Compare
|
Merged via squash.
|
|
Codex review: found issues before merge. Reviewed July 11, 2026, 1:30 AM ET / 05:30 UTC. Summary PR surface: Tests +95, Config +21, Other +24. Total +140 across 18 files. Reproducibility: yes. Use a QA-unreleased run that emits Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Persist the exact boolean intent in the summary schema, recover only a literal Do we have a high-confidence way to reproduce the issue? Yes. Use a QA-unreleased run that emits Is this the best way to solve the issue? No, not yet. Reusing the explicit opt-in is the correct narrow boundary, but preserving it only in Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 58b0ec9e50fd. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +95, Config +21, Other +24. Total +140 across 18 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Land-ready proof for exact head
The PR reuses #104162's false-by-default unreleased-changelog contract for the remaining current-tree QA callers. Release and package-acceptance callers remain strict; exact version notes still take precedence; undersized exact sections still fail; interrupted QA restoration is covered. |
…w#104186) * fix(ci): package unreleased QA builds safely * style(ci): format QA changelog intent
* fix(ci): package unreleased QA builds safely * style(ci): format QA changelog intent (cherry picked from commit 6e9e64b)
Related: #104162
Related: #103583
What Problem This Solves
Resolves a problem where scheduled live/E2E, plugin prerelease, and local Docker/install/Bun/Parallels QA package builds still failed before their tests when
package.jsonhad advanced to the next stable version butCHANGELOG.mdonly hadUnreleasednotes. #104162 fixed the same failure for the primary QA smoke job, but these sibling current-tree callers still used strict release packaging.Why This Change Was Made
Extends #104162's existing
--allow-unreleased-changelogcontract through a false-by-default reusable-workflow input and the remaining current-tree QA callers. Exact-version notes still win, release/package-candidate callers remain strict, and generated targeted reruns preserve only an explicit literaltrueopt-in.User Impact
Maintainers can run every current-tree QA package path between a version bump and release-note finalization without weakening publish or release-validation checks. There is no end-user runtime behavior change.
Evidence
mainCI run 29139615832 reproduced the missing2026.7.2changelog-section failure; improve(release): reuse exact-SHA validation evidence #104162's CI run 29139972142 then passed both primary QA smoke profiles.oxfmt --check.git diff origin/main --checkand changed.mjssyntax checks passed.origin/main: clean, no accepted/actionable findings; overall correctness 0.88.AI-assisted: implementation, tests, and review were completed with Codex; the resulting behavior and release boundaries were manually inspected.