[codex] finish dependency consolidation and restore CI#1402
Conversation
Combines all 12 open dependabot PRs into a single update: Root (yarn.lock): - bump serialize-javascript from 6.0.1 to 6.0.2 - bump nanoid from 3.3.6 to 3.3.11 - bump postcss from 8.4.25 to 8.5.6 - bump webpack from 5.83.1 to 5.104.1 test/dummy: - bump js-yaml from 4.1.0 to 4.1.1 - bump node-forge from 1.3.1 to 1.3.3 - bump brace-expansion from 1.1.11 to 1.1.12 - bump webpack-dev-server from 4.13.1 to 5.2.1 - bump shakapacker from 7.2.0 to 9.5.0 - bump webpack from 5.76.3 to 5.104.1 react-builds: - bump webpack from 5.85.0 to 5.104.1 - bump qs from 6.11.2 to 6.14.2 Consolidates PRs: #1370, #1371, #1372, #1373, #1374, #1375, #1376, #1379, #1381, #1382, #1383, #1384 https://claude.ai/code/session_01VRfTFW5v4wn4nwMyyyxLYv
Rebuild react and ujs assets with updated webpack to ensure built files match the updated dependencies. https://claude.ai/code/session_01VRfTFW5v4wn4nwMyyyxLYv
PR ReviewThanks for the detailed PR description and for moving this to a repo-owned branch to unblock the CI workflows. The root cause analysis is clear and the fix is well-targeted. What looks good
Questions / potential concerns1. Shakapacker 7 → 9 (major version skip) The jump skips v8 entirely. While CI being green is encouraging, it would be helpful to note whether any shakapacker changelog entries for v8 or v9 introduced breaking changes that affected other config files beyond 2. - "webpack-dev-server": "^4.9.2"
+ "webpack-dev-server": "^5.2.3"
"webpack-cli": "^4.9.2" # unchanged
3. "css-loader": "^5.2.7" → "^7.1.4"
"mini-css-extract-plugin": "^1.6.2" → "^2.10.2"
"css-minimizer-webpack-plugin": "^2.0.0" # unchanged
4. Committed generated bundles The changes to One minor note: the generated bundle diffs use SummaryThe core fix (adding |
|
Thanks. I double-checked the two compatibility questions and the Shakapacker migration steps against the actual pinned packages on this branch. A few concrete notes:
Given the above, I am not planning another code change on this PR for these points. If maintainers want the remaining optional toolchain bumps ( |
This replaces #1385 from a repo-owned branch so the dependency batch can run under the repository's normal pull request workflows.
What changed
processpolyfill inreact-buildsso the regenerated server bundle works under ExecJS againRoot cause
Updating
node-polyfill-webpack-pluginto the current major fixed the asset regeneration/install path, but that plugin version no longer providesprocessby default. The generatedreact-serverbundle then raisedTypeError: Cannot read properties of undefined (reading 'env')in the Ruby test matrix.Impact
reactjs/react-rails, which avoids the fork-backed PR workflow limitations seen on chore(deps): consolidate all dependabot dependency updates #1385Validation
env PACKAGE_JSON_FALLBACK_MANAGER=yarn_classic mise x ruby@2.7.8 node@20.19.0 -- bundle _2.4.9_ exec ruby -Itest test/react/server_rendering/exec_js_renderer_test.rbenv PACKAGE_JSON_FALLBACK_MANAGER=yarn_classic mise x ruby@2.7.8 node@20.19.0 -- bundle _2.4.9_ exec rake testNotes
claude-reviewfailure on chore(deps): consolidate all dependabot dependency updates #1385 was a workflow/OIDC issue on the fork-backed PR, not a code failure in this branch