Skip to content

[FIXED in 4.0.0–4.4.0] Upstream reports fixed by those releases, now each reproduced by a test #61

Closed

Description

@okomarov

The README lists seven upstream reports as fixed whose own scenarios were never run here. The 4.0.0 changelog says so: they "describe related failure paths covered by the ownership changes", and no Bun validation is claimed. Each needs a test that reproduces the report's scenario, so the claim is either proven or corrected.

Upstream Report What is missing
porsager#1208 nextWrite() uncaught exception on a reserved connection the scenarios commenters reproduced on Node 24 and 26 (the original report is on Bun)
porsager#1133 null socket after the backend ends the backend ended by idle_in_transaction_session_timeout, not pg_terminate_backend
porsager#1154 error when writing to a null socket no reproduction in the report; derive one from its stack trace
porsager#1204 a transaction's connection handed to another transaction production incident; no reproduction
porsager#1216 a closed transaction handle reads another user's rows through RLS the report's RLS reproduction
porsager#823 arbitrary UNSAFE_TRANSACTION in sql.begin() the report's concurrent-transaction scenario

Outcome per report: a test that reproduces it on Postgres.js 3.4.9 behaviour and passes on the fork, or a fix, or the README row changed to say what is and isn't covered. Bun is out of scope: it isn't supported or tested here, so porsager#1066 (Bun only) stays out of this issue and its README row is reworded instead.

Activity

  1. moved this to In progress in Roadmapon Oct 15, 2026
  2. okomarov commented on Oct 15, 2026

    @okomarov
    Author

    Done in d5910a5 and 47391d2. Every report this issue listed, and the partially tested rows from the audit, now has a test that fails on upstream 3.4.9 with the reported symptom and passes here; the per-report results are in PR #62. Exceptions, stated in the README: the Bun-only report is no longer claimed, the Vercel adapter rests on a production measurement, and one crash report has no known trigger, so only its stack is reproduced.

  3. moved this from In progress to Shipped in Roadmapon Oct 15, 2026
  4. added
    area: project
    on Oct 16, 2026
  5. changed the title [-]Reproduce the upstream reports that 4.0.0 fixes by mechanism only[/-] [+][FIXED in 4.0.0–4.4.0] Upstream reports fixed by those releases, now each reproduced by a test[/+] on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: project

    Type

    No type

    Projects

    • Status
      Shipped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions