[PR #6286] [MERGED] build: refresh compatible dependencies and CI actions #7124

Closed
opened 2026-10-23 04:16:44 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6286
Author: @SpicyMarinara
Created: 9/17/2026
Status: ✅ Merged
Merged: 9/17/2026
Merged by: @SpicyMarinara

Base: staging ← Head: chore/dependency-sweep-0917


📝 Commits (5)

  • 60c0190 build: refresh Java setup and CodeQL action pins
  • 7133f49 build: refresh compatible runtime and test dependencies
  • 46452ca build: update compatible uploads and env loader while preserving startup output
  • 30336e7 test: retain restart startup phases in failure diagnostics
  • d56b115 test: click image dimensions before editing

📊 Changes

13 files changed (+495 additions, -480 deletions)

View changed files

📝 .github/workflows/build-apk.yml (+1 -1)
📝 .github/workflows/codeql.yml (+2 -2)
📝 .github/workflows/platform-artifacts.yml (+1 -1)
📝 .github/workflows/prealpha-platform-builds.yml (+1 -1)
📝 CHANGELOG.md (+2 -0)
📝 e2e/assigned-chat-sweep.e2e.ts (+7 -0)
📝 package.json (+5 -5)
📝 packages/client/package.json (+17 -17)
📝 packages/server/package.json (+7 -7)
📝 packages/server/src/config/runtime-config.ts (+2 -2)
📝 pnpm-lock.yaml (+444 -441)
📝 scripts/regressions/fixtures/restart-server.ts (+5 -2)
📝 scripts/regressions/mari-guard-sibling-paths.regression.ts (+1 -1)

📄 Description

Linked issue

Closes #6285. Owner: @SpicyMarinara; implementation by Codex.

#6282 landed in staging first. This PR is rebased onto it and contains dependency maintenance plus focused regression-fixture adjustments. Rebasing preserved the locally validated application and dependency tree; the later seven-line browser-test adjustment received separate review and repeated browser verification.

Why this change

Refresh compatible dependencies and clear the Dependabot queue while retaining versions that require a separate schema, compiler, networking or native-runtime migration. The shipped interface and provider configuration stay consistent.

What changed

  • Update React 19.3, Motion 13.3, React Query, Zustand, localization, DOMPurify, Tailwind/PostCSS, toast and class helpers, plus their matching type/build packages. Motion 13's breaking change removes optional CSS-in-JS prop validation; this repository does not use that integration.
  • Update Fastify/static/multipart, Claude Agent SDK and tsx; update dotenv with explicit quiet: true to preserve the existing startup output. Multipart 10's changed saveRequestFiles return shape is not used here; its Fastify 5 contract is retained.
  • Update Playwright to 1.63 and the bundled browser targets, Node 24 type definitions and typescript-eslint. Pin transitive Nano ID 3 to 3.3.19.
  • Pin CodeQL init/analyze to verified v4.38.0 and Java setup to verified v6.0.1.
  • Resolve the sandbox regression fixture's temporary workspace before comparing canonical store links, avoiding a macOS /var versus /private/var false failure without changing the security assertions.
  • Click image-size fields before filling them in the browser regression, then assert each edit immediately. The failed Linux WebKit trace showed the height field outside the viewport and unchanged directly after fill; the test previously proceeded to reload without checking that edit.

Retained versions

Dependency Reason
Zod 3 The Zod 4 proposal fails current schema compilation, including single-argument records and object defaults.
Node type definitions 24 Match the minimum supported Node runtime; a Node 26 type upgrade could admit APIs unavailable on Node 24.
Patched ONNX / Transformers 3 / pinned Anthropic SDK Preserve the existing native-platform and provider compatibility contracts.
TypeScript 5.9 and Vite 7 / React plugin 5 Compiler and bundler migrations remain separate; TypeScript 7 is outside typescript-eslint's supported peer range, while Vite 8 replaces the Rollup integration used by the Android build.
Engine Prettier 3.8.3 and ESLint 9 The newer versions require 54 unrelated formatting changes and 18 unrelated lint corrections respectively; no rules were disabled to force an upgrade.
Nano ID 5 Nano ID 6's declared engines exclude Node 25, which the Engine still supports. The transitive 3.x series is patched separately.
Undici 7, Buttplug 4 and Lucide 0.x Networking/dispatcher behavior, hardware protocol and icon-library major migrations need their own compatibility work.

Supersedes the compatible proposals in #6271, #6272, #6273, #6274, #6276 and #6277. The incompatible Zod 4 and Node 26 proposals (#6270, #6275) were closed unmerged with the reasons above.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Local verification is complete. The dependency audit reports zero vulnerabilities. The final pnpm check, version consistency and all 287 Node regression lanes pass. The focused restart fixture also passes after adding startup-stage diagnostics. All 81 selected browser cases pass across desktop Chromium, mobile Chromium and mobile WebKit. Screenshots were inspected and are linked below. Current-head native, container, Android, security and complete Node regression CI are green, and all 12 browser shards passed. GitHub CodeRabbit completed its latest review with zero actionable comments and no unresolved threads. The earlier dotenv logging-note finding was withdrawn after confirming that explicit quiet: true preserves dotenv 16's default behavior. Local CodeRabbit reviewed the 12 dependency/fixture files and the later browser-test adjustment. The test adjustment passed 15 repeated cases across all three browser targets. Its extra test-mechanics changelog sentence was removed following review; the original maintenance entry received only a style suggestion. The maintenance entry is retained because the repository requires Unreleased notes for contributor-workflow changes as well as product changes.

The initial dependency CI head passed the Windows native install/restart lane, but the separate cold-launcher job timed out before readiness. The fixture now records module-load, app-build and listen stages in failures; its deadlines are unchanged. The subsequent Windows launcher run passed with an 8.4-second initial boot and 3.7-second restart.

Linux WebKit image-size failure evidence is retained. The unchanged test passed five local WebKit repeats; the revised test passed five repetitions on each of the three browser targets and now uses visible click interactions and checks the entered values before reload. The updated Linux WebKit shard passed all 80 active cases, including the character-sheet edit/reload path, with 25 existing skips. This is separate from the unresolved intermittent browser stalls in #6269.

The Claude Agent SDK's Zod 4 peer warning predates this update (both the previous and updated SDK versions declare it); the Engine's Zod schemas remain on their working v3 contract. All provider regression lanes passed with the retained v3 schemas.

Final CI evidence: complete regression matrix, reviewed and tested commit d56b115cf4e8a5c6f93197f21330c9d56ede26d1.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

No version bump or user-facing documentation change. The Unreleased changelog records the refresh and fixture correction.

UI evidence (if applicable)

Fresh desktop/mobile screenshots. No intentional interface changes. Browser verification covers Roleplay documents and inline dice, saved chat setup, one-request Game dice, Markdown rendering and message animation across desktop Chromium, mobile Chromium and mobile WebKit. Physical-device and real-provider verification remain manual follow-ups.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6286 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/17/2026 **Status:** ✅ Merged **Merged:** 9/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `chore/dependency-sweep-0917` --- ### 📝 Commits (5) - [`60c0190`](https://github.com/Pasta-Devs/Marinara-Engine/commit/60c0190c5c09d74f3638c56f446360839425f971) build: refresh Java setup and CodeQL action pins - [`7133f49`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7133f4970935cb33b5a4cf819c8dc8598ec53e53) build: refresh compatible runtime and test dependencies - [`46452ca`](https://github.com/Pasta-Devs/Marinara-Engine/commit/46452ca1b9d715f3a44368acf0ff021042759c98) build: update compatible uploads and env loader while preserving startup output - [`30336e7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/30336e77ff508cf0a1b98031a77a84f4f6c81fdd) test: retain restart startup phases in failure diagnostics - [`d56b115`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d56b115cf4e8a5c6f93197f21330c9d56ede26d1) test: click image dimensions before editing ### 📊 Changes **13 files changed** (+495 additions, -480 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-apk.yml` (+1 -1) 📝 `.github/workflows/codeql.yml` (+2 -2) 📝 `.github/workflows/platform-artifacts.yml` (+1 -1) 📝 `.github/workflows/prealpha-platform-builds.yml` (+1 -1) 📝 `CHANGELOG.md` (+2 -0) 📝 `e2e/assigned-chat-sweep.e2e.ts` (+7 -0) 📝 `package.json` (+5 -5) 📝 `packages/client/package.json` (+17 -17) 📝 `packages/server/package.json` (+7 -7) 📝 `packages/server/src/config/runtime-config.ts` (+2 -2) 📝 `pnpm-lock.yaml` (+444 -441) 📝 `scripts/regressions/fixtures/restart-server.ts` (+5 -2) 📝 `scripts/regressions/mari-guard-sibling-paths.regression.ts` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #6285. Owner: @SpicyMarinara; implementation by Codex. #6282 landed in staging first. This PR is rebased onto it and contains dependency maintenance plus focused regression-fixture adjustments. Rebasing preserved the locally validated application and dependency tree; the later seven-line browser-test adjustment received separate review and repeated browser verification. ## Why this change Refresh compatible dependencies and clear the Dependabot queue while retaining versions that require a separate schema, compiler, networking or native-runtime migration. The shipped interface and provider configuration stay consistent. ## What changed - Update React 19.3, Motion 13.3, React Query, Zustand, localization, DOMPurify, Tailwind/PostCSS, toast and class helpers, plus their matching type/build packages. [Motion 13's breaking change](https://motion.dev/docs/react-upgrade-guide) removes optional CSS-in-JS prop validation; this repository does not use that integration. - Update Fastify/static/multipart, Claude Agent SDK and tsx; update dotenv with explicit `quiet: true` to preserve the existing startup output. Multipart 10's changed `saveRequestFiles` return shape is not used here; its Fastify 5 contract is retained. - Update Playwright to 1.63 and the bundled browser targets, Node 24 type definitions and typescript-eslint. Pin transitive Nano ID 3 to 3.3.19. - Pin CodeQL init/analyze to verified v4.38.0 and Java setup to verified v6.0.1. - Resolve the sandbox regression fixture's temporary workspace before comparing canonical store links, avoiding a macOS `/var` versus `/private/var` false failure without changing the security assertions. - Click image-size fields before filling them in the browser regression, then assert each edit immediately. The failed Linux WebKit trace showed the height field outside the viewport and unchanged directly after `fill`; the test previously proceeded to reload without checking that edit. ### Retained versions | Dependency | Reason | | --- | --- | | Zod 3 | The Zod 4 proposal fails current schema compilation, including single-argument records and object defaults. | | Node type definitions 24 | Match the minimum supported Node runtime; a Node 26 type upgrade could admit APIs unavailable on Node 24. | | Patched ONNX / Transformers 3 / pinned Anthropic SDK | Preserve the existing native-platform and provider compatibility contracts. | | TypeScript 5.9 and Vite 7 / React plugin 5 | Compiler and bundler migrations remain separate; TypeScript 7 is outside typescript-eslint's supported peer range, while Vite 8 replaces the Rollup integration used by the Android build. | | Engine Prettier 3.8.3 and ESLint 9 | The newer versions require 54 unrelated formatting changes and 18 unrelated lint corrections respectively; no rules were disabled to force an upgrade. | | Nano ID 5 | Nano ID 6's declared engines exclude Node 25, which the Engine still supports. The transitive 3.x series is patched separately. | | Undici 7, Buttplug 4 and Lucide 0.x | Networking/dispatcher behavior, hardware protocol and icon-library major migrations need their own compatibility work. | Supersedes the compatible proposals in #6271, #6272, #6273, #6274, #6276 and #6277. The incompatible Zod 4 and Node 26 proposals (#6270, #6275) were closed unmerged with the reasons above. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Local verification is complete. The dependency audit reports zero vulnerabilities. The final `pnpm check`, version consistency and all 287 Node regression lanes pass. The focused restart fixture also passes after adding startup-stage diagnostics. All 81 selected browser cases pass across desktop Chromium, mobile Chromium and mobile WebKit. Screenshots were inspected and are linked below. Current-head native, container, Android, security and complete Node regression CI are green, and all 12 browser shards passed. GitHub CodeRabbit completed its latest review with zero actionable comments and no unresolved threads. The earlier dotenv logging-note finding was withdrawn after confirming that explicit `quiet: true` preserves dotenv 16's default behavior. Local CodeRabbit reviewed the 12 dependency/fixture files and the later browser-test adjustment. The test adjustment passed 15 repeated cases across all three browser targets. Its extra test-mechanics changelog sentence was removed following review; the original maintenance entry received only a style suggestion. The maintenance entry is retained because the repository requires Unreleased notes for contributor-workflow changes as well as product changes. The initial dependency CI head passed the Windows native install/restart lane, but the separate cold-launcher job timed out before readiness. The fixture now records module-load, app-build and listen stages in failures; its deadlines are unchanged. The subsequent Windows launcher run passed with an 8.4-second initial boot and 3.7-second restart. [Linux WebKit image-size failure evidence](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35208898949/artifacts/10491584033) is retained. The unchanged test passed five local WebKit repeats; the revised test passed five repetitions on each of the three browser targets and now uses visible click interactions and checks the entered values before reload. The updated Linux WebKit shard passed all 80 active cases, including the character-sheet edit/reload path, with 25 existing skips. This is separate from the unresolved intermittent browser stalls in #6269. The Claude Agent SDK's Zod 4 peer warning predates this update (both the previous and updated SDK versions declare it); the Engine's Zod schemas remain on their working v3 contract. All provider regression lanes passed with the retained v3 schemas. Final CI evidence: [complete regression matrix](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/35211074716), reviewed and tested commit `d56b115cf4e8a5c6f93197f21330c9d56ede26d1`. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) No version bump or user-facing documentation change. The Unreleased changelog records the refresh and fixture correction. ## UI evidence (if applicable) [Fresh desktop/mobile screenshots](https://gist.github.com/SpicyMarinara/808c6aa10a4c64fd2cb88af77ee90406). No intentional interface changes. Browser verification covers Roleplay documents and inline dice, saved chat setup, one-request Game dice, Markdown rendering and message animation across desktop Chromium, mobile Chromium and mobile WebKit. Physical-device and real-provider verification remain manual follow-ups. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:16:44 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#7124
No description provided.