Skip to content

docs(#893): fold the pre-tag portal preview into the release sequence as a numbered step - #917

Merged
fdaviddpt merged 1 commit into
mainfrom
fix/893-text
Oct 6, 2026
Merged

fdaviddpt merged 1 commit into
mainfrom
fix/893-text

Conversation

@fdaviddpt

Copy link
Copy Markdown
Contributor

Closes #893

Why

Re-reading .github/scripts/check_release_tree.py against current origin/main (not the issue's 2026-10-03 snapshot) shows the picture has moved on since #893 was filed:

  • Checklist items 1-6 (file >256KiB, >512 files, non-image/font binary, image/font referenced in code, package launcher/install/lockfile, package-manager source config) are already hard FAILs.
  • Item 7 (a credential read from the user's environment AND sent anywhere) is ALSO already a hard FAIL, via the dedicated _check_credential_pair check added in Release tree: apply jit-context's measured directory-validator fixes (no env-read + network pair, short release README, no CHANGELOG, guards, release-preview validation) #898 -- a separate, weaker CREDENTIAL_USE-alone line stays REVIEW-only on purpose, as a disclosure aid, not a violation signal.
  • All of items 1-7 are already asserted at zero-offenders by the existing test tests/test_strip_shell_comments_900.py::test_this_repository_built_tree_has_no_check_failures, collected by the ordinary pytest job on every pull request across the OS/Python matrix (Directory: keep hook scripts under the scanner's 128 KiB limit, and warn before an edit gets near it #904) -- these items already gate every commit to main, not only a tag.
  • Item 8 (a displayName/author.name brand or look-alike problem) has no corresponding check anywhere in the script. The issue's own latest comment (2026-10-05) already names this as needing a maintainer decision on mechanism -- the portal's own ValidatePlugin endpoint needs a logged-in session, so it can only be a maintainer-run step, not a CI heuristic. A CI heuristic here risks both missing a real hold and false-failing this repo's own legitimate name.

docs/releasing.md already documented a 'Preview before you tag' sequence (build the tagged commit's tree, run check_release_tree.py/smoke_release_tree.py, push to release-preview, validate through the portal submit form) -- but as a separate, skippable appendix rather than a step in 'The sequence' a maintainer actually follows when cutting a release.

What changed

No code in check_release_tree.py, any workflow, or any test was touched -- this is docs + changelog only. Item 8 is deliberately left unimplemented; see the adjacent finding in this run's report for the follow-up recommendation.

Verification

  • python3 .oss/assemble_changelog.py --check -- passed, 1 fragment.
  • python3 -m pytest tests/test_strip_shell_comments_900.py -k test_this_repository_built_tree_has_no_check_failures -q -- 1 passed (pre-existing test, confirms items 1-7 are genuinely enforced today).
  • Reviewed by two spawned agents (Explore, oss:auditor) against agents/developer/review.md; both returned no findings.

[AI-generated]

… as a numbered step

check_release_tree.py already FAILs items 1-7 of the pre-submission checklist bullets
from #893 on every pull request (#904's test_this_repository_built_tree_has_no_check_failures),
including the credential-forwarding pair added in #898 -- so the main remaining gap this
issue named was procedural: "Preview before you tag" already documented running the local
check and the portal's release-preview validation before tagging, but as a separate section a
maintainer could skip rather than a step in "The sequence" itself. Renumber the sequence so
that preview is step 3, before the tag (step 4).

The one checklist item with no code at all -- a name/displayName/author.name problem the
checklist lists as held (generic words, a look-alike or brand name, a fork name) -- is not
implemented: it needs a maintainer decision on mechanism the same way the issue's own last
comment already flags for full portal-equivalence (ValidatePlugin needs a logged-in session,
so it can only be a maintainer-run step, not CI). Filed as a follow-up rather than guessed at
in code, since a wrong heuristic here would either miss a real hold or false-fail on this
repo's own legitimate name.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@fdaviddpt
fdaviddpt merged commit 23c4985 into main Oct 6, 2026
19 checks passed
@fdaviddpt
fdaviddpt deleted the fix/893-text branch October 6, 2026 11:29
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 gate: refuse to tag when the release tree trips any directory 'Held for a reviewer' rule

1 participant