[PR #6829] [CLOSED] chore(msw): sync mockServiceWorker.js with the lockfile's msw 3.0.3 #6466

Closed
opened 2026-11-02 04:08:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/6829
Author: @yudongyouqing
Created: 10/15/2026
Status: ❌ Closed

Base: main ← Head: fix/msw-worker-sync


📝 Commits (1)

  • 58b802e chore(msw): sync mockServiceWorker.js with the lockfile's msw 3.0.3

📊 Changes

1 file changed (+185 additions, -86 deletions)

View changed files

📝 frontend/public/mockServiceWorker.js (+185 -86)

📄 Description

msw was bumped to 3.0.3 in frontend/package-lock.json, but the committed frontend/public/mockServiceWorker.js was still the 2.15.0 build, so make msw-worker-check — and the verify gate behind it — fails on a clean checkout after npm ci:

frontend/public/mockServiceWorker.js frontend/node_modules/msw/lib/mockServiceWorker.js differ: char 176, line 10
make: *** [msw-worker-check] Error 1

This copies in the worker from the lockfile-pinned package, which is exactly what the check compares against.

Verified: make msw-worker-check passes and the full frontend suite is green with the new worker (189 test files / 1843 tests, including the headless-browser Storybook project).


🔄 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/MHSanaei/3x-ui/pull/6829 **Author:** [@yudongyouqing](https://github.com/yudongyouqing) **Created:** 10/15/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/msw-worker-sync` --- ### 📝 Commits (1) - [`58b802e`](https://github.com/MHSanaei/3x-ui/commit/58b802ee6c5bee834b454114305c04eae4efb92e) chore(msw): sync mockServiceWorker.js with the lockfile's msw 3.0.3 ### 📊 Changes **1 file changed** (+185 additions, -86 deletions) <details> <summary>View changed files</summary> 📝 `frontend/public/mockServiceWorker.js` (+185 -86) </details> ### 📄 Description `msw` was bumped to `3.0.3` in `frontend/package-lock.json`, but the committed `frontend/public/mockServiceWorker.js` was still the `2.15.0` build, so `make msw-worker-check` — and the `verify` gate behind it — fails on a clean checkout after `npm ci`: ``` frontend/public/mockServiceWorker.js frontend/node_modules/msw/lib/mockServiceWorker.js differ: char 176, line 10 make: *** [msw-worker-check] Error 1 ``` This copies in the worker from the lockfile-pinned package, which is exactly what the check compares against. Verified: `make msw-worker-check` passes and the full frontend suite is green with the new worker (189 test files / 1843 tests, including the headless-browser Storybook project). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:08:59 +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
MHSanaei/3x-ui#6466
No description provided.