build(deps): major bumps — astro 6→7, @types/node 25→26 (+ starlight ecosystem)#258
Open
theagenticguy wants to merge 1 commit into
Open
build(deps): major bumps — astro 6→7, @types/node 25→26 (+ starlight ecosystem)#258theagenticguy wants to merge 1 commit into
theagenticguy wants to merge 1 commit into
Conversation
…e 25→26 Two major upgrades staged together with their required ecosystem bumps: - astro ^6.4.8 → ^7.0.3 (@opencodehub/docs) + @astrojs/starlight 0.40.0 → 0.41.1 (peer-requires astro ^7.0.2) + starlight-links-validator 0.24.1 → 0.25.1 + starlight-page-actions 0.6.1 → 0.6.2. Docs build is green: 64 pages, all internal links valid, pagefind index built. - @types/node 25.9.3 → 26.0.1 across all 18 packages. v26 widened ExecException.code to `string | number`, which broke the double-cast in packages/analysis/src/git.ts; rewritten to read the property once and narrow on `typeof === "number"` (the runtime guard was already correct). Gates: typecheck ✓, build ✓, biome ✓ (686 files), 354 tests ✓. Residual: starlight-llms-txt@0.10.0 (latest) and a transitive @astrojs/mdx@5.0.6 still declare astro ^6 as a peer — soft warnings only; the docs build succeeds. Drop the override path once those publish astro-7 peers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Stages tonight's two flagged major bumps together, with the ecosystem packages each one drags along. All quality gates pass locally.
Bumps
astro@opencodehub/docs@astrojs/starlight^7.0.2)starlight-links-validatorstarlight-page-actions@types/nodeCode change required by @types/node 26
v26 widened
ExecException.codefromnumbertostring | number(it can be a signal name). The old double-cast inpackages/analysis/src/git.ts(err as NodeJS.ErrnoException & { code: number }) no longer type-checks. Rewrote it to read the property once into a loosely-typed local and narrow ontypeof === "number"— the runtime guard was already doing exactly this, so behavior is unchanged (numeric exit code, or fail-open to 1 on a signal/undefined).Verification (local, this branch)
pnpm run typecheck— ✓ (all 18 packages, exit 0)pnpm --filter '!@opencodehub/docs' -r build— ✓pnpm --filter @opencodehub/docs build— ✓ astro 7: 64 pages, all internal links valid, pagefind search index built, sitemap generatedpnpm exec biome check .— ✓ (686 files)pnpm -r test— ✓ (354 tests, 0 fail)Known residual (non-blocking)
pnpm peers checkstill flags two soft unmet-peer warnings:starlight-llms-txt@0.10.0(its latest) declares peerastro ^6.0.0@astrojs/mdx@5.0.6declares peerastro ^6These are warnings, not errors — the docs build succeeds on astro 7 regardless. Clear them once
starlight-llms-txtships an astro-7 peer; no action needed to merge.Blast radius
astro/starlight = docs-site only (excluded from the CI build + test matrix).@types/node= dev-time typings only, no runtime change. The one source edit is a type-narrowing cleanup in a read-only git helper.🤖 Generated with Claude Code