Repository navigation
OSS-413 docs sources: Stable/Nightly channels, accessible selector, exact promotion marker - #608
Merged
Merged
Conversation
athNdev
force-pushed
the
codex/oss413-docs-channels
branch
from
November 19, 2026 14:19
ad931e3 to
553fd8b
Compare
athNdev
marked this pull request as ready for review
November 19, 2026 16:01
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.
Owner A (docs sources) for OSS-413. DRAFT pending independent exact-head review and Owner B's synchronized promotion gates. No workflow, release.py, registry, tag, dispatch or deployment changes in this PR.
Head
codex/oss413-docs-channels553fd8b47cf109a8068d7ec1d63b955cab0fb68borigin/main(a5ef6847…; local history includesfb291caffrom PR refactor(studio): finish metadata/content and export extraction (OSS-341) #605).8c93ca27(schema 3 channels/selector/marker) and553fd8b4(non-active candidate staging path).What changed
docs/website-source.json+ generateddocs/version-index.json: schema 3 with exactlystableandnightly, both registry refs, one shared digest/revision per channel. Removed the1.0.39and3.0.0-alpha.1doc snapshots/options; source tags anddocs/release-history.jsonrecords are untouched. Stable =v1.0.40/f88748be…/sha256:ead260ef…. Nightly default is the deterministic, explicitly unpromoted Docker Hub baseline and never claims a promotion.VersionBanner.astro: real accessible labelled<select>(keyboard, focus ring, narrow/desktop CSS) with onlyStableandNightly; canonical switcher hrefs (noversions/carry bug, no//);Pinned to <short>links to${repository}/commit/<FULL_SHA>on all served routes; non-40-hex commits refuse to build.build_website.pyaccepts an exact external nightly revision/digest/state/receipt (--nightly-revision,--nightly-digest,--promotion-state,--promotion-receiptorCARBONPANEL_PROMOTED_*). Nothing writes those values back to tracked main files. Acandidatebuild is emitted only at the non-active staging route/docs/candidate/<sha>/with its ownchannel-marker.json, scoped index, assets and sitemap; canonical/docs/,/docs/nightly/and/docs/versions/1.0.40/are absent until the qualified final build.check_website.py --expect-*and browserCARBONPANEL_EXPECT_*verify the marker over the served staging path before alias moves and at canonical paths afterwards.Evidence (Windows worktree, pinned tools)
python -m unittest scripts.test_website scripts.test_version_contract scripts.test_landing_page scripts.test_design_system_page: 50 tests pass.python scripts/version_bump.py prepare --check: pass; also with--site .website-build/site: pass.python scripts/build_website.py: 2 channels from exact commits; markernightly=…d8597d4e… (baseline, promoted=false).python scripts/check_website.py: 77 HTML pages valid. Real Chromium at 375px and 1440px passes.--nightly-revision d8597d4e… --nightly-digest sha256:cccc… --promotion-state candidate --promotion-receipt OSS-413-docs-candidate-1built at/docs/candidate/d8597d4e…/; local checks confirmed/docs/,/docs/nightly/and/docs/versions/1.0.40/absent, staging marker present;check_website.py --expect-…passed (27 pages); real Chromium passed at both widths and verified the public staging marker, canonical 404s and staging-only sitemap. Tracked files stayed unchanged. Fixture digest is a test value, not a registry claim.bun install --frozen-lockfile && bun run check && bun run testinweb/carbon-panel: 0 errors/warnings, 444 tests pass.go run ./cmd/knowledge-lint -root . -fixthen without-fix: 40/40 queries, 85 concepts current;git diff --check: clean.Coordination / limits
d8597d4e/sha256:ecc89ba9…pair remains explicitly bootstrap-only pending GHCR qualification; otherwise the gate must inject the first qualified current-main pair through the external input above.