Skip to content

Remove temporary PWA service worker - #1051

Open
gzurowski wants to merge 1 commit into
mainfrom
remove-pwa-service-worker-dummy
Open

Remove temporary PWA service worker#1051
gzurowski wants to merge 1 commit into
mainfrom
remove-pwa-service-worker-dummy

Conversation

@gzurowski

Copy link
Copy Markdown
Member

No description provided.

@gzurowski
gzurowski requested a review from a team as a code owner August 21, 2026 08:12
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview Aug 21, 2026 8:13am

@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃挕 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4aadc3ef1

鈩癸笍 About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 馃憤.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread public/sw.js
Comment on lines -1 to -3
// This service worker temporarily replaces the worker generated by next-pwa.
// Keep it available at /sw.js so browsers with the old worker installed can
// receive this update, clear the obsolete PWA caches, and unregister it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the cleanup worker for dormant PWA clients

If a user with the generated Workbox worker does not revisit during the four-week window in which this cleanup version was served, returning after this deletion makes the automatic /sw.js update request receive a 404; that failed update leaves the existing registration and worker in place, so this activate cleanup never runs and the obsolete caches and request routes continue controlling the origin. Keep the cleanup script available at this URL indefinitely, or add another durable client-side unregister mechanism before removing it.

Useful? React with 馃憤聽/ 馃憥.

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.

1 participant