Repository navigation
fix(prerelease): allow empty prerelease browse grid in verify-build (#3168) - #3173
Merged
Thomas Jung (jung-thomas) merged 1 commit intoNov 22, 2026
Merged
Conversation
…3168) A prerelease channel legitimately has zero cards until an author marks a tutorial visibility=ROLE_GATED. verify-qa-build treated an empty #browse-data grid as a hard failure, blocking the DEV deploy ('static/prerelease would ship empty'). checkBrowseDataTag now takes allowEmpty (prerelease=true); it still fails on an absent tag or a non-array 'all' (real build breaks). QA stays strict (allowEmpty=false) — an empty QA grid is still a contribution-fetch failure.
Thomas Jung (jung-thomas)
deleted the
worktree-issue-3168-empty-prerelease
branch
November 22, 2026 06:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3170 (merged). The DEV deploy of #3168 failed at
verify-qa-build.ts: the prerelease channel built 0 cards (DEV has noROLE_GATEDtutorials yet), and the verify step treated an empty#browse-datagrid as a hard failure ("static/prerelease would ship empty → /tutorials-prerelease/ 404").A prerelease channel legitimately has zero cards until an author marks a tutorial
visibility=ROLE_GATED. This relaxes the check for prerelease only:checkBrowseDataTag(html, channel, allowEmpty=false)— prerelease passesallowEmpty=true.all(real build breaks — browse.json never emitted).allowEmpty=false): an empty QA grid is still a contribution-fetch failure.Tests: 14/14 in
verify-qa-build.test.ts— prerelease empty-grid now returns[]; added absent-tag + malformed-allstill-fail cases; QA empty-grid still fails. 17/17 static guards pass.After merge: re-run the DEV deploy; the prerelease shell ships as an empty gated navigator, ready for the first ROLE_GATED tutorial.