Skip to content

Issues/0432 - Harden release gating: resilient redlines, visible errors, draft pruning, docs#433

Merged
SteveLLamb merged 3 commits into
mainfrom
issues/0432-release-gating
Jun 30, 2026
Merged

Issues/0432 - Harden release gating: resilient redlines, visible errors, draft pruning, docs#433
SteveLLamb merged 3 commits into
mainfrom
issues/0432-release-gating

Conversation

@SteveLLamb

Copy link
Copy Markdown
Member

What

  • build.mjs — Edition/release redlines now warn and skip when a reference tag fails to render, instead of failing the whole build. A premature or non-building release tag can no longer wedge every build. (PR-base redline stays strict.)
  • build.mjs — Forward page pageerror/console errors to the build log, so render failures show the real cause instead of just Page has errors.
  • action.yml — Prune prior draft releases for the same tag before creating a new draft (published releases untouched), so auto-drafts stop piling up. Auto-draft already runs only after a successful build.
  • doc/main.html — C.5: publish with Set as the latest release (not pre-release) (Add "select the 'pre-release' Release Label" in C.5 Publishing the draft release #425). Auto-draft annex: releases come from the auto-created draft, not a manual publish on an arbitrary commit.

Why

Surfaced on st2094-50-private: a release published on a never-green commit wedged every subsequent build at the new release-redline step, with an opaque Page has errors. These changes make the redline non-fatal, the failure visible, and draft clutter self-cleaning.

Closes #432 and closes #425

- build.mjs: edition/release redlines warn + skip on a reference that fails
  to render, instead of failing the build (PR-base redline stays strict).
- build.mjs: forward pageerror + console errors to the build log.
- action.yml: delete prior same-tag draft releases before creating a new
  draft (published releases untouched); auto-draft runs only post-build.

Closes #432
- C.5: select "Set as the latest release" (not pre-release) (#425).
- Auto-draft annex: releases are green-gated and must be published from the
  auto-created draft, not manually on an arbitrary commit.

Refs #425, #432, closes #425
@github-actions

Copy link
Copy Markdown

@SteveLLamb SteveLLamb merged commit f7560eb into main Jun 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants