Skip to content

docker: let log copy drain before closing stdout on container exit - #651

Draft
raymondfeliz wants to merge 2 commits into
runabol:mainfrom
raymondfeliz:fix/docker-wait-drain-logs
Draft

raymondfeliz wants to merge 2 commits into
runabol:mainfrom
raymondfeliz:fix/docker-wait-drain-logs

Conversation

@raymondfeliz

Copy link
Copy Markdown
Contributor

let log copy drain before closing stdout on container exit and a test

@raymondfeliz
raymondfeliz force-pushed the fix/docker-wait-drain-logs branch 2 times, most recently from bf05096 to 54c0723 Compare November 4, 2026 23:28
@raymondfeliz
raymondfeliz force-pushed the fix/docker-wait-drain-logs branch from 54c0723 to f1547b0 Compare November 4, 2026 23:42
The hand-rolled reader assumed each Read filled a whole frame, so frames split across reads dropped bytes and padded the log with NULs, which Postgres rejects on insert.
@raymondfeliz
raymondfeliz force-pushed the fix/docker-wait-drain-logs branch from f1547b0 to 9fca543 Compare November 5, 2026 00:10
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