Skip to content

Conversation

ebembi-crdb
Copy link
Contributor

No description provided.

mikeCRL and others added 7 commits September 3, 2025 01:18
… `versions.csv` entry, but not yet any releases.yml entry, for the new major version.

- Release info plugin: Add support for having versioned docs and versions.csv entry without any releases.yml entries.
    Previously this would yield a `NoMethodError` and block the build
- Version switcher: Filter dropdowns to only show versions that have releases (testing or prod) in releases.yml
  - Prevents "No releases available" from appearing in the menu across versions, during this pre-alpha state.

These changes ensure that we can merge and preview docs for the forthcoming version before it has reached alpha,
while leaving it hidden from public view, only accessible via direct /<version> URLs. Note that the /dev alias will not work
until we set the new version as `dev` in _config_cockroachdb.yml upon the first alpha release.
- Validate all release dates before processing to prevent Date.parse crashes
- Validate required docker configuration exists before accessing nested hash
- Fail fast with descriptive error messages instead of silent data corruption
- Error messages include release name and major version for easy debugging

Addresses build stability concerns while ensuring data quality by catching
malformed entries in releases.yml during build time rather than at runtime.

Fixes potential crashes from:
- nil/empty/invalid release_date values
- missing docker.docker_image configuration
Copy link

netlify bot commented Sep 5, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit af81258
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/68bb09796aff420008f8ee2f

Copy link

netlify bot commented Sep 5, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit af81258
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/68bb0979711251000857c3b7

Copy link

github-actions bot commented Sep 5, 2025

Files changed:

Copy link

netlify bot commented Sep 5, 2025

Netlify Preview

Name Link
🔨 Latest commit af81258
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/68bb0979db295a0008ebc794
😎 Deploy Preview https://deploy-preview-20284--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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