-
-
Notifications
You must be signed in to change notification settings - Fork 249
chore: audit cleanup for PRs merged 09-26..09-28 #4373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3669725
docs: fix discontinuity and version-source notes
kixelated 3cefab5
fix(net): enforce the read-size limit on buffered decodes
kixelated 2fcab57
docs(quest): correct quest details from recent reviews
kixelated ffaa97f
docs(quest): plan follow-ups and fix rs2ts and wildcard gaps
kixelated 0af55e3
docs(quest): drop the cross-hop specificity requirement
kixelated 00e27e8
docs(quest): trim BBR app-limited to the long-idle regression
kixelated aefee90
Merge remote-tracking branch 'origin/main' into HEAD
kixelated 2863f34
fix(net): cap the whole buffered decode, not each read
kixelated File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # [M] Deliver queued stream data before a client closes | ||
|
|
||
| ## Goal | ||
|
|
||
| A process that finishes its tracks and then closes its `moq_tokio::Client` | ||
| delivers what it already queued, including each stream's FIN, before the | ||
| connection closes, bounded by a deadline. `moq import` at stdin EOF is the | ||
| consumer: a subscriber over a real relay sees the catalog finish instead of | ||
| `Error::Dropped`. | ||
|
|
||
| ## Plan | ||
|
|
||
| - [#4303](https://github.com/moq-dev/moq/pull/4303) made `moq import` finish | ||
| the catalog at EOF, but only in-process: over a real session the process | ||
| exits and the close discards the queued finish. | ||
| [#4287](https://github.com/moq-dev/moq/pull/4287) added `Client::close`, | ||
| which sends the CONNECTION_CLOSE but does not wait for stream data. | ||
| - A QUIC close discards unacknowledged stream data, so the session has to | ||
| wait until its open send streams are written, finished, and acknowledged, | ||
| not only handed to the transport. The pending group and control writes live | ||
| in moq-net's session tasks; the transport wait lives in moq-tokio. | ||
| - Bound the wait so a stalled peer cannot hang an exiting process. Share the | ||
| deadline and the graceful path with | ||
| [Session close](/quest/m1/session-close.md), which waits for announce | ||
| acknowledgements the same way; `abort` and drop stay immediate. | ||
| - Cover every backend `Client::close` covers, and say which do not drain | ||
| (WebSocket and iroh end on drop today). | ||
| - Regression tests: a moq-tokio test, shaped like | ||
| `noq_client_close_reaches_server`, where the client finishes a track and | ||
| closes on a runtime dropped right after, and the server's subscriber reads | ||
| the finish rather than a drop. Then a CLI test piping a file through | ||
| `moq import` to a relay. | ||
|
|
||
| Public API: likely additive (`Client::close` gains the drain, or a graceful | ||
| close sits beside `abort`). Wire: none. | ||
|
|
||
| ## Related | ||
|
|
||
| - [Session close](/quest/m1/session-close.md) - the graceful end that withdraws announces | ||
| - [Graceful relay drains](/quest/m1/drain/README.md) - the server-side drain over GOAWAY |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # [S] Interop matrices run side by side | ||
|
|
||
| ## Goal | ||
|
|
||
| Two `just test interop --all` matrices can run at once on one machine, even | ||
| from one checkout, and both pass. `just test harness` runs from a clean | ||
| checkout. | ||
|
|
||
| ## Plan | ||
|
|
||
| [#4228](https://github.com/moq-dev/moq/pull/4228) fixed the port | ||
| reservations and the canvas-blocked pause click, and stages Go per run. What | ||
| remains: | ||
|
|
||
| - Under two concurrent matrices, `python -> js` and `go -> js` sometimes stall | ||
| the browser subscriber: the Pause control never appears within 30 s. It | ||
| was not seen in a single run. Find the cause (CPU starvation of headless | ||
| Chromium, a shared resource, or a real stall) before touching timeouts. | ||
| - `prepare_python` runs `just py build` in the workspace, so concurrent runs | ||
| rewrite the same `.venv` and maturin output (Codex on #4228). Build into the | ||
| run directory, as Go now does, or serialize the build. | ||
| - `just test harness` runs `harness.browser.ts` without installing workspace | ||
| dependencies or Playwright Chromium, so it only passes where CI's earlier | ||
| step prepared them. Provision them in the recipe, or reuse the path | ||
| `interop.sh` already takes. | ||
| - Prove it by running two `--all` matrices at once, several times, from one | ||
| checkout. | ||
|
|
||
| Public API: none. Wire: none. |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.