Skip to content

chore(docs): retire obsolete snapshot release paths - #2247

Merged
sbaum1994 merged 1 commit into
mainfrom
docs/2214-p5-cleanup
Oct 3, 2026
Merged

sbaum1994 merged 1 commit into
mainfrom
docs/2214-p5-cleanup

Conversation

@sbaum1994

@sbaum1994 sbaum1994 commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR

P5 completes the tooling cleanup for #2214 after the 1.0.2 cutover. Remove the old per-stack folder-cut workflow and derive Development previews from the canonical Fern configuration, so site settings and redirects have one maintained source.

Additional Details

  • Delete the folder-cut script, Go freeze implementation and flags, and their superseded tests. Keep catalog compatibility and all archive sources needed by historical URLs.
  • Replace the 919-line preview configuration with edition preview. It selects local Development, normalizes current links in a disposable clone, and preserves the canonical settings, stable refs, and archive entries. Prepared release branches use their local default.
  • Remove the four unused live product navigation files. The current tabs remain in fern/navigation.yml; historical product navigation remains available.
  • Update automatic PR previews, the manual preview workflow, contributor and release instructions, and stack-routing guidance. Explicit DOCS_PREVIEW_CONFIG overrides remain available and are used as supplied.

The canonical selector, release registry, current navigation, public guide content, and release branch commits are unchanged. No new release branch or registration is required for this cleanup.

For the Reviewer

Review the preview helper and new Go command/tests first, then the CI callers and guidance. The deleted configuration and freeze files are obsolete paths; retained archives still serve historical URLs.

This PR targets main and follows merged #2224, #2225, #2226, #2235, and #2246. It is the only remaining phase PR to review and merge. After merge, verify the normal production publisher and smoke-test the site before closing the epic.

No dependency, license, or NOTICE changes. No service/runtime changes or observability impact. Customer release notes: not customer visible.

For QA

Passed locally:

  • All tools/docs-version-sync Go tests, including preservation of site settings, release refs, archives, comments, current links, and invalid-input rejection.
  • Preview wrapper and Fern pin tests, including source isolation, uncommitted content, Git context, configuration overrides, and error propagation.
  • tools/ci/check-docs, including registered remote release checks, and tools/ci/preview-docs --check for the derived Development layout.
  • Markdown lint, ShellCheck, skill-fanout validation, and whitespace checks.

Local Fern validation reports no errors and the expected unauthenticated redirect-check warning. Application QA is not needed.

Hosted validation at 7f004413822d540b706ddb5a19a442a3c320f4ac:

Check Result
Automatic preview, publisher run Passed through the existing main-branch preview workflow using this PR's verified source and new helper.
Historical routes and content 789/789 historical URLs match the live site after equivalent asset and source-route normalization.
Source preservation All 428 archive files, six archive navigation files, and the canonical selector/navigation/registry are unchanged.
Browser checks 50 checks pass, with no page errors: Development-first default; dropdown switch to 1.0.2; all six tabs under Development and 1.0.2; Manifest/Image Mirroring links; Archive; changelog; Upgrade Notes and Compatibility Matrix; nine redirects with anchors; old 1.0.1 and legacy content; assets; desktop light/dark and mobile layout.
CodeRabbit Completed review of the final commit with no actionable findings.
PR CI Docs, Fern, Go tooling, workflows, Markdown, security, and license checks pass. Root Bazel is still running.

One browser navigation timed out and succeeded on recheck; the selector test was corrected to use Fern's actual menuitemradio role. No source changes were needed. Search scoping remains the separate follow-up recorded in the epic; this cleanup does not change search behavior.

Issues

Relates to #2214

Checklist

  • I am familiar with the Contributing Guidelines.
  • I have signed off my commits for Developer Certificate of Origin (DCO) compliance.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Derive Development previews from the canonical Fern configuration in an isolated clone. Remove per-stack folder-cut tooling and unused live product navigation while retaining archive sources and frozen release refs.

Relates to #2214

Signed-off-by: Stephanie Baum <sbaum@nvidia.com>
@sbaum1994
sbaum1994 requested review from a team as code owners October 3, 2026 06:06
@sbaum1994
sbaum1994 requested review from balajinvda and borao October 3, 2026 06:06
@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/nvcf/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: ffa045a5-619e-4408-96de-41c9940ca886
📥 Commits

Reviewing files that changed from the base of the PR and between eb863b8 and 7f00441.

📒 Files selected for processing (25)
  • .github/workflows/fern-docs-ci.yml
  • .github/workflows/fern-docs-preview-comment.yml
  • CONTRIBUTING.md
  • ai-tooling/dev/skills/nvcf-explore-stack/SKILL.md
  • deploy/stacks/AGENTS.md
  • deploy/stacks/INVENTORY.md
  • docs/AGENTS.md
  • docs/dev/docs-editions.md
  • fern/edition-preview.yml
  • fern/products/compute-plane/dev.yml
  • fern/products/observability/dev.yml
  • fern/products/overview.yml
  • fern/products/self-managed/dev.yml
  • tools/ci/preview-docs
  • tools/docs-version-sync/README.md
  • tools/docs-version-sync/edition_command.go
  • tools/docs-version-sync/edition_git_test.go
  • tools/docs-version-sync/edition_preview.go
  • tools/docs-version-sync/edition_preview_test.go
  • tools/docs-version-sync/freeze.go
  • tools/docs-version-sync/main.go
  • tools/docs-version-sync/main_test.go
  • tools/scripts/cut-docs-version.sh
  • tools/scripts/test/test-cut-docs-version
  • tools/scripts/test/test-preview-docs
💤 Files with no reviewable changes (10)
  • fern/products/compute-plane/dev.yml
  • fern/edition-preview.yml
  • fern/products/observability/dev.yml
  • fern/products/self-managed/dev.yml
  • tools/docs-version-sync/freeze.go
  • fern/products/overview.yml
  • tools/scripts/test/test-cut-docs-version
  • .github/workflows/fern-docs-preview-comment.yml
  • tools/scripts/cut-docs-version.sh
  • tools/docs-version-sync/edition_git_test.go

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.


📝 Walkthrough

Walkthrough

The pull request replaces per-stack documentation snapshots with qualified shared releases. It adds a command that stages default previews from fern/docs.yml and updates preview scripts, CI workflows, and documentation to use the new flow.

Changes

Shared documentation release flow

Layer / File(s) Summary
Use shared documentation releases
ai-tooling/dev/skills/nvcf-explore-stack/SKILL.md, deploy/stacks/AGENTS.md, deploy/stacks/INVENTORY.md, docs/dev/docs-editions.md, tools/docs-version-sync/README.md, tools/docs-version-sync/main.go, tools/docs-version-sync/main_test.go, tools/docs-version-sync/freeze.go, tools/docs-version-sync/edition_git_test.go, tools/scripts/cut-docs-version.sh, tools/scripts/test/test-cut-docs-version, fern/edition-preview.yml, fern/products/*
Release guidance now describes qualified combinations across three stack tabs. The per-stack freeze flags, folder-cut script, and legacy navigation configurations are removed.
Stage default edition previews
tools/docs-version-sync/edition_command.go, tools/docs-version-sync/edition_preview.go, tools/docs-version-sync/edition_preview_test.go
The edition preview command validates fern/docs.yml, selects a preview version, stages links, and moves that version to the front. Tests cover canonical settings, prepared release branches, link handling, and invalid configurations.
Wire previews into CI and guidance
.github/workflows/fern-docs-ci.yml, .github/workflows/fern-docs-preview-comment.yml, CONTRIBUTING.md, docs/AGENTS.md, tools/ci/preview-docs, tools/docs-version-sync/README.md, docs/dev/docs-editions.md, tools/scripts/test/test-preview-docs
Preview workflows use the helper without selecting the deleted preview configuration. The helper stages a temporary clone and derives a default configuration when no override is set. Guidance and tests describe this behavior and its handling of uncommitted edits.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant CI as Preview workflow
  participant Helper as preview-docs
  participant Clone as Temporary clone
  participant Edition as edition preview
  participant Fern as Fern preview
  CI->>Helper: Run preview or check
  Helper->>Clone: Copy docs and fern
  Helper->>Edition: Derive default configuration
  Edition->>Clone: Stage configuration and links
  Helper->>Fern: Run preview with staged files
Loading

Suggested reviewers: mikeyrcamp

Merge Risk: ⚪ Minimal · up to 7f004

This change removes obsolete docs tooling and moves previews to a derived default configuration. No concrete merge-blocking risk was found in the supplied material. Hosted preview and PR CI results are still pending.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 10.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 5 files. (10 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title follows Conventional Commits with one valid type and scope. “chore(docs)” reflects the removal of obsolete snapshot-release tooling and related documentation and preview updates.
Full details: Docstring Coverage

Explanation

Docstring coverage is 10.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 5 files. (10 skipped: 10 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

@sbaum1994
sbaum1994 merged commit 7e7f41d into main Oct 3, 2026
28 checks passed
@sbaum1994
sbaum1994 deleted the docs/2214-p5-cleanup branch October 3, 2026 16:35
@balajinvda

Copy link
Copy Markdown
Contributor

This PR is included in version 1.29.2.

The release is available on GitHub release.

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.

2 participants