Repository navigation
test: pin upstream shapes for #299, #290 and #295 - #317
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
ryuzdev
force-pushed
the
test/pin-upstream-shapes-299-290-295
branch
from
November 29, 2026 21:33
06646bc to
39663d7
Compare
The woken_outbound_conformance suite covered the woken same-cell facet call via /start+/notify but not the upstream denoland#287 shape: a DO fetch returning 101 with a WebSocket, where a read loop started by that fetch makes a facet call per incoming message. The fixture gains a /ws route (handler control + loop legs) and the suite a raw-TCP round trip asserting pong:go for both.
Request headers carrying raw non-ASCII bytes (valid UTF-8 caf+U+00E9,
a lone Latin-1 byte, invalid sequences) echoed back as code-point
lists; workerd and Cello agree, so the gate pins it. The runner sends
{ bytes: [...] } header values as raw wire bytes, bypassing string
encoding.
ryuzdev
force-pushed
the
test/pin-upstream-shapes-299-290-295
branch
from
November 29, 2026 21:51
39663d7 to
f4c8fc8
Compare
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.
Pins two upstream regression shapes found while verifying 0.3.2. No Closes lines: the issues are already closed.
(a) #299 — finished-fetch 101/WebSocket read loop (new test)
woken_ws_read_loop_facet_settles(crates/cello/tests/woken_outbound_conformance.rs) drives a raw-TCP WebSocket handshake against the fixture's new/wsroute (crates/cello/tests/fixtures/woken-outbound/worker.js) and assertspong:gofor thehandlercontrol and theloopleg (capnwebnewWorkersWebSocketRpcResponseshape, upstream denoland#287). The existing suite only covered the woken facet call via/start+/notify.Fail-before on v0.3.1 (throwaway port, since removed):
mode=handlerreplies,mode=loop: no reply within 10s. Pass-after on this branch: 4/4 woken tests green.(c) #295 — raw non-ASCII request header bytes (pin, no fix needed)
New
header-non-ascii-bytescase +header-bytescorpus fixture echo the Worker's view as code-point lists. The runner sends{ bytes: [...] }header values as raw wire bytes (byte-identical heads for all existing cases, verified). Workerd and Cello agree on all three classes (valid UTF-8caf+C3+A9visible, loneE9andFF/truncated-C3decode to U+FFFD), so this is a pin only — no behavior change.The #290 idle plain-stream case now lives in the companion fix PR (it diverged and needed a runtime fix).
Gate total on this branch: 300 cases (299 + 1 new), all green on workerd 1.20261121.1 and this branch.
Verification
cargo test -p cello --test woken_outbound_conformance --profile ci --locked→ 4 passedcargo clippy -p cello --all-targets -- -D warnings→ clean;cargo fmt --allappliednode runner.mjs(full gate) → all 301 cases agree on the pre-split branch (300 here + the moved case)Changelog (one line)
Pin the 101/WebSocket read-loop facet leg and raw non-ASCII header bytes against workerd.