Skip to content

[BUG] memory-queue response always STALE #440

@minibox24

Description

@minibox24

Describe the bug

In a wrangler dev --remote or Workers deployment production environment, memory-queue does not work properly and keeps showing as STALE.

Steps to reproduce

https://github.com/minibox24/opennext-cloudflare-isr

https://opennext-cloudflare-isr.minibox.workers.dev/

Expected behavior

ISR every 10 seconds are working normally

@opennextjs/cloudflare version

0.5.8

Wrangler version

3.109.2

next info output

(wsl)

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Tue Nov 5 00:21:55 UTC 2024
  Available memory (MB): 15818
  Available CPU cores: 12
Binaries:
  Node: 20.18.0
  npm: 10.8.2
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.24 // An outdated version detected (latest is 15.2.1), upgrade is highly recommended!
  eslint-config-next: 14.2.24
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.8.2
Next.js Config:
  output: N/A

Additional context

fixed this issue with a nextjs patch
https://gist.github.com/minibox24/b2dc210086d4ff8d1b1f9984835354a8

In direct mode, it works fine in production.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions