Skip to content

fix: guard published release documentation#63

Merged
hannsxpeter merged 1 commit into
mainfrom
codex/docs-release-status-guard
Jul 13, 2026
Merged

fix: guard published release documentation#63
hannsxpeter merged 1 commit into
mainfrom
codex/docs-release-status-guard

Conversation

@hannsxpeter

Copy link
Copy Markdown
Owner

Summary

  • detect when a published version still carries release-candidate architecture wording
  • safely synchronize the architecture release status
  • add regression coverage for detection and repair

Verification

  • npm run release:check
  • 6 repo documentation sync tests pass
  • current repo documentation and repository surfaces report fresh

@hannsxpeter hannsxpeter merged commit 87bc8d2 into main Jul 13, 2026
4 checks passed
@hannsxpeter hannsxpeter deleted the codex/docs-release-status-guard branch July 13, 2026 06:15

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dd93543727

ℹ️ 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".

Comment thread lib/repo-doc-sync.js
Comment on lines +200 to +203
/STABLE v[0-9]+\.[0-9]+\.[0-9]+(?: (?:release candidate|published release))?/g,
expected.published
? `STABLE v${expected.version} published release`
: `STABLE v${expected.version}`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve release-candidate status for unpublished versions

When the current source version is not yet the latest published release, for example USERS.md says the latest published release is the previous version, expected.published is false but any safe architecture fix still matches and consumes release candidate here, then rewrites it to bare STABLE v.... That means a routine surface-count or version sync during release-candidate prep silently removes the candidate status that this guard is meant to distinguish; the previous regex only updated the version portion and preserved the suffix.

Useful? React with 👍 / 👎.

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