cloudflare / cloudflare/workerd

DurableObject fails to send logs to Tail Worker when connecting to postgres

Open
#5,291 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

### What versions & operating system are you using?

System:
OS: macOS 15.5
CPU: (16) arm64 Apple M3 Max
Memory: 542.73 MB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.1.0 - /Users/user/.local/state/fnm_multishells/2468_1760014245336/bin/node
Yarn: 4.5.0 - /Users/user/.local/state/fnm_multishells/2468_1760014245336/bin/yarn
npm: 11.3.0 - /Users/user/.local/state/fnm_multishells/2468_1760014245336/bin/npm
Deno: 2.2.8 - /Users/user/.deno/bin/deno
npmPackages:
@cloudflare/workers-types: ^4.20241127.0 => 4.20251008.0
wrangler: ^4.42.1 => 4.42.1

### Please provide a link to a minimal reproduction

https://github.com/astanciu/cf-repro-tail

### Describe the Bug

Setup:
- one Worker with a DurableObject
- one Tail Worker
- Durable Object makes a connection to postgres using `pg` library

Problem:
- once the pg connection is established, log (console.log) output produced by the DO are no longer sent to the Tail worker. (or they are sent 30 min later, this is unconfirmed, but observed).

Full reproduction steps here:
https://github.com/astanciu/cf-repro-tail

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.