Upgrade Next.js to 16.3 - #579
Merged
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 854c81d. Configure here.
| console.warn('[ifc-converter] web-ifc package not found — wasm copy skipped.') | ||
| process.exit(0) | ||
| console.error('[ifc-converter] web-ifc package not found — cannot copy required WASM files.') | ||
| process.exit(1) |
There was a problem hiding this comment.
WASM lookup hangs on Windows
Low Severity
findWebIfcDir only stops when the directory is /, so on Windows a missing web-ifc install never reaches the new fail-closed process.exit(1). path.resolve settles on a drive root like C:\, the loop never ends, and postinstall / prebuild can hang instead of failing closed.
Reviewed by Cursor Bugbot for commit 854c81d. Configure here.
This was referenced Aug 4, 2026
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.


What changed
next devkeeps the worktree cleanWhy
Next.js 16.3 is the current upgrade target for the hosted editor and IFC converter. The app-local TypeScript 7 split exercises the supported Next.js compiler path without forcing the public library packages across that boundary.
Validation
bun install --frozen-lockfile --dry-runwith Bun 1.3.0bun run check- 1,589 files cleanbun run check-types --force- 9/9 tasksbun run test --force- 12/12 tasks; 944 passed, 1 skippedbun run build --force- 7/7 tasksapplication/wasmNote
Medium Risk
Framework and compiler upgrades across both production apps plus a raised Node floor and fail-closed install hooks can break local setups or CI if builds or WASM assets regress; scope is mostly toolchain and infra, not app business logic.
Overview
Upgrades both Next.js apps and
@next/eslint-plugin-nextto 16.3.0, with a rootnextoverride and lockfile refresh (including Sharp 0.35.x used by Next).The editor and IFC converter apps move to TypeScript 7.0.2 and run
tsc --noEmitafternext typegeninstead oftsgo; shared packages stay on TypeScript 6. Node is required at 20.9+ inenginesand setup docs.CI now runs
bun run buildafter tests. Next-generatedAGENTS.md/CLAUDE.mdare committed under both apps sonext devdoes not leave dirty trees.The IFC
copy-web-ifc-wasm.mjsscript usesfileURLToPathfor directory resolution on Node 20.9 and exits non-zero whenweb-ifcis missing or any WASM copy fails (replacing warn-and-continue).Reviewed by Cursor Bugbot for commit 854c81d. Bugbot is set up for automated code reviews on this repo. Configure here.