Skip to content

fix: 서비스워커 clone 오류 및 PWA 메타 경고 수정#79

Merged
github-actions[bot] merged 1 commit intomainfrom
codex/fix-sw-clone-and-pwa-meta
Feb 19, 2026
Merged

fix: 서비스워커 clone 오류 및 PWA 메타 경고 수정#79
github-actions[bot] merged 1 commit intomainfrom
codex/fix-sw-clone-and-pwa-meta

Conversation

@tada-js
Copy link
Owner

@tada-js tada-js commented Feb 19, 2026

변경 사항

  • public/sw.jsnetworkFirst/staleWhileRevalidate에서 Response.clone() 예외를 안전하게 처리하도록 try/catch를 추가했습니다.
  • 서비스워커 캐시 무효화가 즉시 적용되도록 SW 버전을 degururu-pwa-v4로 상향했습니다.
  • index.htmlmobile-web-app-capable 메타를 추가해 deprecate 경고를 완화했습니다.

검증

  • npm run lint
  • npm run build:vite

Summary by CodeRabbit

릴리스 노트

  • 새로운 기능

    • 모바일 웹 앱으로 설치하여 네이티브 앱처럼 전체 화면에서 실행 가능
  • 개선사항

    • 서비스 워커 캐싱 메커니즘 업데이트로 오프라인 성능 안정성 향상
    • 네트워크 응답 캐싱 중 발생하는 예외 처리 강화

@vercel
Copy link

vercel bot commented Feb 19, 2026

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

Project Deployment Actions Updated (UTC)
degururu Ready Ready Preview, Comment Feb 19, 2026 5:10pm

@github-actions github-actions bot enabled auto-merge (squash) February 19, 2026 17:10
@coderabbitai
Copy link

coderabbitai bot commented Feb 19, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

PWA 메타 태그를 index.html에 추가하고, 서비스 워커 버전을 v4로 업데이트하며 응답 복제 및 캐싱 오류 처리 메커니즘을 개선했습니다.

Changes

Cohort / File(s) Summary
PWA 메타데이터
index.html
모바일 웹 앱 기능을 활성화하기 위해 메타 태그 mobile-web-app-capable 추가.
서비스 워커 캐싱 로직
public/sw.js
SW_VERSION을 v3에서 v4로 업데이트. networkFirst와 staleWhileRevalidate에서 응답 복제를 try/catch로 감싸고, 캐시 저장 실패를 무시하도록 .catch(() => undefined) 추가. 복제 불가능한 응답에 대한 폴백 처리.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/fix-sw-clone-and-pwa-meta

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot merged commit ff25487 into main Feb 19, 2026
5 of 6 checks passed
@tada-js tada-js deleted the codex/fix-sw-clone-and-pwa-meta branch February 21, 2026 20:26
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