cloudflare / cloudflare/workerd
🐛 Bug Report — `.getWebSocketAutoResponseTimestamp()` not returning the correct timestamp
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
The return value of the `state.getWebSocketAutoResponseTimestamp()` method doesn't return the correct timestamp in production. It does, however, work locally.
### Minimal replication
Here is a minimal replication of the bug. See the README for instructions:
[https://github.com/nvie/cloudflare-repros/tree/gwsart-bug](https://github.com/nvie/cloudflare-repros/tree/gwsart-bug?tab=readme-ov-file#the-replication)
### Video of the replication
[](https://share.cleanshot.com/nzVS2sMSHgz7YLcrTdXZ)
### More Context
This [Discord thread](https://discord.com/channels/595317990191398933/773219443911819284/1227145594070634568).
Contributor guide
Assessment
This issue has not been assessed yet.