Skip to content

fix(web): unpin webpack now that 5.108.1 fixes the bundle corruption#712

Merged
yanziz-nvidia merged 3 commits into
mainfrom
yanziz/test-unpin-webpack
Jun 26, 2026
Merged

fix(web): unpin webpack now that 5.108.1 fixes the bundle corruption#712
yanziz-nvidia merged 3 commits into
mainfrom
yanziz/test-unpin-webpack

Conversation

@yanziz-nvidia

@yanziz-nvidia yanziz-nvidia commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What

Removes the webpack: 5.105.4 pin added in #705 (one line in deps/cloudxr/webxr_client/package.json), letting a fresh install float to the latest 5.x.

Why

The pin worked around webpack 5.108.0, which mis-emitted re-export property chains (e.g. s.A.C.E.S…) and crashed React-Three-Fiber at Canvas init — the client failed to load.

Verified on this branch:

  • 5.108.0 → reproduced the crash.
  • 5.108.1 → builds and loads clean. ✅

So the pin is no longer needed.

Note

Install is still floating (lockfile is gitignored, CI does a fresh install), so a future webpack minor could regress the same way. The durable fix is committing a lockfile + npm ci — tracked separately.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Removed an explicit build tool dependency from the project manifest.
    • No user-facing functionality changes were included in this update.

Reverts the pin added in #705. That pin forced webpack 5.105.4 because
CI's fresh install resolved 5.108.0, which mis-emits re-export property
chains and crashes React-Three-Fiber at Canvas init (runtime-only).

webpack 5.108.1 has since shipped. Unpin so a fresh install floats to
the latest 5.x to check whether the minification regression is fixed.

Draft / do NOT merge as-is: IsaacTeleop CI does not build or load the
web client on PRs, and the failure is runtime-only, so a green CI does
not prove the bundle is good. Verify by clean-installing + building the
client and loading it in a browser before relying on this.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 0e37a3af-7fb6-4823-ab1f-8bb3d75e0caf

📥 Commits

Reviewing files that changed from the base of the PR and between c344ab9 and e19cfc1.

📒 Files selected for processing (1)
  • deps/cloudxr/webxr_client/package.json
💤 Files with no reviewable changes (1)
  • deps/cloudxr/webxr_client/package.json

📝 Walkthrough

Walkthrough

The webxr_client package manifest removes the explicit webpack devDependency entry. The webpack-cli and webpack-dev-server entries remain in devDependencies.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes removing the webpack pin and the motivation behind it.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch yanziz/test-unpin-webpack

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

Instead of floating, pin the known-bad 5.108.0 so the CI page build is
deterministic. 5.108.0 mis-emits re-export property chains and crashes
React-Three-Fiber at Canvas init. If the built page fails to load, the
repro is confirmed; then test 5.108.1 to see if upstream fixed it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Removes the webpack 5.105.4 pin added in #705. That pin worked around
webpack 5.108.0, which mis-emitted re-export property chains and crashed
React-Three-Fiber at Canvas init. Confirmed on this branch: 5.108.0
reproduced the crash, 5.108.1 builds and loads clean. Unpin so a fresh
install floats to the fixed 5.x.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yanziz-nvidia yanziz-nvidia changed the title test(web): unpin webpack to check if 5.108.x regression is fixed fix(web): unpin webpack now that 5.108.1 fixes the bundle corruption Jun 26, 2026
@yanziz-nvidia yanziz-nvidia marked this pull request as ready for review June 26, 2026 20:54
@yanziz-nvidia yanziz-nvidia requested a review from jiwenc-nv June 26, 2026 20:54
@gareth-morgan-nv

Copy link
Copy Markdown
Contributor

Works for me (after blowing away build and node_modules/webpack, and running npm install)

@yanziz-nvidia yanziz-nvidia merged commit 5500ae4 into main Jun 26, 2026
48 checks passed
@yanziz-nvidia yanziz-nvidia deleted the yanziz/test-unpin-webpack branch June 26, 2026 22:34
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.

3 participants