Skip to content

Conversation

@herokwon
Copy link
Owner

🔍 개요

GitHub Actions Deployment 워크플로우에서 발생한 OpenNext Cloudflare 캐시 바인딩 오류를 수정하였습니다.


🛠 변경 사항

  • R2 → KV 캐시 스토리지 마이그레이션
  • 의존성 버전 업데이트
    • @opennextjs/cloudflare
    • @lexical/utils
  • .npmrc 파일 제거

❗ 관련 이슈


💬 참고 사항 (스크린샷, URL 등)

@herokwon herokwon self-assigned this Dec 20, 2025
Copilot AI review requested due to automatic review settings December 20, 2025 14:12
@herokwon herokwon added the 🐞 BugFix 버그 수정 label Dec 20, 2025
@github-actions
Copy link

⚡Deploying with Cloudflare Workers

Status ✅ Success!
Environment Preview
Commit 8901fb3
URL https://7ed7d4eb-blog.wooyng825.workers.dev
Details ➡️ GitHub Actions
➡️ Cloudflare Dashboard

@herokwon herokwon temporarily deployed to Preview December 20, 2025 14:14 Inactive
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a GitHub Actions deployment workflow error by migrating the OpenNext Cloudflare cache storage from R2 to KV (Key-Value) storage.

  • Migrated incremental cache from R2 to Cloudflare Workers KV
  • Updated @opennextjs/cloudflare from v1.14.6 to v1.14.7
  • Added @lexical/utils v0.39.0 dependency

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
wrangler.jsonc Added KV namespace binding (NEXT_INC_CACHE_KV) and worker self-reference service binding for cache support
open-next.config.ts Changed incremental cache implementation from r2IncrementalCache to kvIncrementalCache
package.json Updated @opennextjs/cloudflare version and added @lexical/utils dependency
pnpm-lock.yaml Updated lockfile with new dependency versions and transitive dependency updates
.npmrc Removed pnpm hoisting configuration (will use pnpm defaults)
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@herokwon herokwon merged commit bd6c05d into main Dec 20, 2025
14 checks passed
@herokwon herokwon deleted the fix/cache-binding branch December 20, 2025 14:29
@github-actions
Copy link

⚡Deploying with Cloudflare Workers

Status ✅ Success!
Environment Production
Commit bd6c05d
URL https://blog.herokwon.dev
Details ➡️ GitHub Actions
➡️ Cloudflare Dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 BugFix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] GitHub Actions Deployment 워크플로우에서의 OpenNext Cloudflare 캐시 바인딩 오류

2 participants