Skip to content

fix(pwa): recover when service worker lookup is unavailable - #539

Merged
hoangsvit merged 3 commits into
stagingfrom
fix/pwa-reconnect-sw-scope-fallback-20261120
Nov 20, 2026
Merged

hoangsvit merged 3 commits into
stagingfrom
fix/pwa-reconnect-sw-scope-fallback-20261120

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Follow-up to #536: the offline recovery probe now falls back to a same-origin route scope when navigator.serviceWorker.getRegistration() rejects (e.g. restricted browser environment). Keep PR preview subpath isolation; verify the behavior with a Node test. This touches the deployed offline shell, triggers a current-SHA staging Pages rebuild, and does not alter playback, SEO or analytics. Intended to join the open staging → main release PR #538 after staging CI checks.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

ePlus OnAir — PR Preview

🗃️ Preview expired. This PR is closed; the Preview link is hidden.

View build status

Preview is noindex; the full catalog is available on Staging after merge.

@hoangsvit
hoangsvit merged commit 3c98147 into staging Nov 20, 2026
10 checks passed
@hoangsvit
hoangsvit deleted the fix/pwa-reconnect-sw-scope-fallback-20261120 branch November 20, 2026 06:35

This branch was successfully deployed

1 active deployment
preview — 77035ba0 Deployed Nov 20, 2026 by hoangsvit via Remove closed PR Preview #549
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