Skip to content

fix: unblock dependency upgrades and verify Next stream cancellation - #617

Merged
blove merged 2 commits into
mainfrom
blove/dependency-refresh-2026-11
Nov 13, 2026
Merged

blove merged 2 commits into
mainfrom
blove/dependency-refresh-2026-11

Conversation

@blove

@blove blove commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Refresh the six pending dependency updates and fix their build and test incompatibilities. Incorporates #599, #600, #601, #602, #603, and #616; those PRs can be closed as superseded after merge.

  • Keep CodeQL init/analyze/upload on one immutable revision and group future updates. Update reviewed pnpm/Changesets action pins and their security contract tests.
  • Migrate tsdown's declaration context option, retain the exact builder pin, and refresh API Extractor's documentation-only footer change.
  • Upgrade Vitest and vulnerable transitive packages. Parent-scoped minimatch 11 overrides cover ESLint, its config/parser dependencies, and API Extractor. Audit still fails on every advisory.
  • Upgrade Next/MDX to 16.4.5 and add a production-mode streamed-navigation cancellation regression check to CI.
  • Align test environments with updated dependencies: use Node's Blob for Shiki's compressed WASM loading, and mock TanStack's clientWidth/clientHeight viewport measurements while preserving offsetHeight row measurements. Restore inherited DOM properties after tests.
  • Add a patch changeset for the JSON-stream runtime dependency update.

Validation on e933e51:

  • CI: full workspace tests, build, typecheck/type-performance budget, public API type tests, lint, format, repository contracts, API report freshness, publint/attw, packed-consumer and React compatibility matrices, security audit, CodeQL, benchmark browser tests, and StrictMode/stream-abort checks passed. Website unit tests: 108 files / 657 tests passed.
  • Local production build succeeded. Chromium/WebKit smoke: 444 passed and four expected skips in the full run; the only two failures were missing sitemap output because the direct local Next build bypassed prebuild. After running the existing sitemap generator, both affected tests passed (446 passed in aggregate). No application or stream-abort errors appeared in the production server log.
  • Local benchmark unit suite: 16 files / 212 tests passed. The five website test files affected by earlier local load/artifact failures were rerun on a quiet host: all 24 tests passed. The full CI website suite also passed. No timeouts or security requirements were weakened.
  • Independent code review found no remaining blockers.

For #377, the production-mode navigation fixture reproduced two “The destination stream closed early.” messages on Next 16.3.3 and zero on 16.4.5. It also verifies cancellation stops suspended rendering and genuine server errors remain reported. Combined with the complete website browser coverage, this supports resolving #377 with the upgrade.

Final deployment verification: the repository Vercel token was replaced, preview deployment succeeded, and the hosted Chromium/WebKit suite passed all 446 runnable tests (four expected skips). All PR checks passed on e933e51; CI run 43330218165, attempt 2.

@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
pretable Ignored Ignored Nov 12, 2026 11:36pm UTC

Request Review

@blove
blove marked this pull request as ready for review November 12, 2026 23:54
@github-actions

Copy link
Copy Markdown
Contributor

Vercel preview ready

Preview: https://pretable-hcu6r5vty-cacheplane.vercel.app
Commit: e933e51f8a4b0776d315566921b5bf74c9f6971f

Updated automatically by the deploy-preview job.

@blove
blove merged commit e17ab4f into main Nov 13, 2026
37 of 38 checks passed
@blove
blove deleted the blove/dependency-refresh-2026-11 branch November 13, 2026 17:58
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.

1 participant