Repository navigation
Conversation
…enarios The workerd job ran Wrangler 4.123.0 (workerd 1.20260811.1) at compatibility date 2025-01-01 only. It now runs Wrangler 4.151.1 (workerd 1.20261012.1) at 2025-01-01, 2025-09-15 (node:fs, node:os and process v2 on by default) and 2026-10-12, the newest date that runtime accepts. New scenarios, each one checked in real workerd: - copy-out: a COPY TO stream read by a slow consumer, which pauses and resumes the socket. - ssl-prefer-declined: ssl: 'prefer' against a server without SSL. - tls-untrusted-ca: a certificate workerd does not trust must fail with the certificate error, not CONNECT_TIMEOUT. - subscribe: one logical replication insert delivered. The CI clusters now run with wal_level = logical and a replication pg_hba entry. - diagnostics-channel: node:diagnostics_channel publish and tracePromise, for the event layer in #73. The worker imports the driver through a generated driver.js, so a later change can point the same scenarios at another build. WORKERD_KNOWN_FAILURES lists scenarios expected to fail; the run fails if one passes. The close-time rejection (#1) is tolerated under both messages: "Stream was cancelled" and, from workerd 1.20261008.1, "This socket has been closed". The runner picks both ports while holding the first listener open, so they cannot be equal, and retries a scenario once with fresh ports when Wrangler reports "Address already in use" (#54).
On the cf/ build, in real workerd at every compatibility date: - copy-out rejects with "socket.resume is not a function": the polyfill socket has no pause() or resume(). - subscribe never delivers, for the same reason. - ssl-prefer-declined ends in CONNECT_TIMEOUT: after the server answers N to the SSLRequest, nothing reads the socket again. tls-untrusted-ca fails at 2025-01-01 and 2025-09-15 only, and on both builds: the certificate error reaches the driver within milliseconds as "Network connection lost.", and workerd also reports the same error as an unhandled rejection. At 2026-10-12 there is no unhandled rejection.
This was referenced Oct 18, 2026
Author
|
Superseded by #151, which now carries these commits folded together with the fixes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 2 of the Cloudflare round (#15): bumps the workerd job to Wrangler 4.151.1, runs it at three compatibility dates, adds copy-out, ssl-prefer-declined, tls-untrusted-ca, subscribe and diagnostics-channel scenarios, and fixes the port race (#54). The first run shows which new scenarios fail on the current polyfill build; those become WORKERD_KNOWN_FAILURES until their fixes land.