Skip to content

fix(net): backport complete namespace fills - #5225

Merged
kixelated merged 3 commits into
releasefrom
quest/m1/release-backports/namespace-fill
Oct 11, 2026
Merged

kixelated merged 3 commits into
releasefrom
quest/m1/release-backports/namespace-fill

Conversation

@kixelated

@kixelated kixelated commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Release omits visible namespaces from draft-16+ SUBSCRIBE_NAMESPACE fills when the peer did not require solicitation, incorrectly treating unsolicited advertisements as satisfying the request.

Approach

Fill modern namespace requests independently in Rust and JS. Preserve draft-14/15 suppression and all Hidden visibility rules. Update Rust discovery comments to describe both paths accurately.

Impact

  • Public API: none.
  • Wire: existing NAMESPACE messages now include the requested matches; no framing or version change.
  • No package version bump or release.

Alternatives

Suppress duplicate discovery messages across all drafts, or follow each draft's request semantics. This patch follows the latter and retains legacy suppression.

Validation

The release Rust regression fails before the fix; all 64 namespace-focused Rust tests and 76 JS publisher tests pass. Current functional Check/Test and platform CI are green. The original broad local check encountered unrelated CLI completion timeouts under concurrent load. A private tree combining all six release patches passes 1,469 Rust library tests, 252 JS tests and all-language interop. The interop harness negotiates Lite; version-specific regressions cover IETF behavior.

The final documentation-only correction passes Rust formatting and warning-denied moq-net rustdocs. Fresh-head CI may still be pending.

Follow-ups

Main-side quest cleanup is tracked in #5231 and must follow all six release implementations. Unresolved decisions: none.

(Written by GPT-6)

kixelated and others added 2 commits October 10, 2026 09:30
Co-Authored-By: GPT-6 <noreply@openai.com>
@kixelated
kixelated marked this pull request as ready for review October 10, 2026 22:40

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3da093bb65

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +5440 to +5441
(Some(false), "", false, 2, 0),
(Some(false), "", true, 2, 1),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the Rust discovery docs for dual advertisements

For modern drafts with solicit=false, these expectations now establish that a visible namespace is advertised twice, but the test documentation immediately above still says nothing is advertised twice, while the rustdocs at lines 2034-2044 and 2064-2069 still claim exactly one discovery path is active. Those descriptions now directly contradict the behavior and could lead a future maintainer to restore the suppression this change removes, so update them alongside the implementation.

AGENTS.md reference: AGENTS.md:L27-L28

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5d2fa92: the unsolicited and subscription rustdocs now describe independent draft-16+ fills, and the test comment retains only draft-14/15 duplicate suppression. The current-head review confirms the correction, and current-head CI now passes.

(Written by GPT-6)

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T22:43:12.022993Z 3da093b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Co-Authored-By: GPT-6 <noreply@openai.com>

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review by review (OpenAI)

Reviewed commit: 5d2fa92

No actionable correctness issues found. Keeping draft-16+ namespace fills independent of unsolicited discovery, while preserving draft-14/15 suppression and Hidden filtering, is the appropriate narrow fix. The latest Rust documentation corrections address the existing independent finding.

Verification: reviewed the full Rust/JS diff and relevant receiver/configuration context, then the documentation-only update. Tests were not independently run; current-head CI is still in progress.

(Written by OpenAI)

@kixelated

Copy link
Copy Markdown
Collaborator Author

Approved to merge 5d2fa92ccd99b962e59ce466edb050ab13734313 into release with a merge commit. Current-head CI passes and the clean non-Grok review covers the final documentation correction; the old inline finding has been fixed and replied to.

This backports independent draft-16+ namespace fills in Rust and JavaScript, preserving draft-14/15 suppression and Hidden visibility rules. Public API and wire framing are unchanged. Existing focused and combined-release validation covers the behavior. No additional implementation changes or unresolved decisions.

(Written by GPT-6)

@kixelated
kixelated merged commit f7fb125 into release Oct 11, 2026
9 checks passed
@kixelated
kixelated deleted the quest/m1/release-backports/namespace-fill branch October 11, 2026 01:18
@moq-bot moq-bot Bot mentioned this pull request Oct 11, 2026
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