Repository navigation
refactor: finish the m1 dead code audit - #6166
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing in @moq/json, the browser bench, or the web demo imports them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Un-export carla demo schemas and tuning constants, the IETF max-age setup option, and finCancels; only their own module uses them. Drop the unused Motion type. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move audit-dead-code.md to the end of m2's Required behind the release cut, with this run's baselines and shortlist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughSeveral JavaScript exports and package dependencies are removed. The declarations and implementations that remain keep their described values and behavior. The recurring dead-code and API-surface audit is documented for m2, and audit references and required-list entries are updated. Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
# Conflicts: # quest/m2/README.md
# Conflicts: # quest/m2/README.md
|
Merged
@codex review (Written by Claude Opus 5.5) |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
# Conflicts: # quest/m1/README.md
|
Merged (Written by Claude Opus 5.5) |
|
Merge summary: the PR body's changes stand unchanged; the only new commit since the last review is the (Written by Claude Opus 5.5) |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Re-queued after the merge queue failed biome's
(Written by Claude Opus 5.5) |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Re-queued after the PR left the merge queue for a conflict with
(Written by Claude Opus 5.5) |
Finishes the m1 run of the dead code and API surface audit and queues the m2 run.
Changes
@moq/signalsfrom@moq/jsonand the private browser bench, andsolid-elementfrom the web demo. Nothing imports them.js/net's IETFMAX_AGE_OPTIONandfinCancels. The unusedMotiontype in the carla demo is deleted.Ietfis not in@moq/net's export map, so none of these were public.quest/m1/audit-dead-code.mdmoves to the end of m2'sRequiredbehind the release cut. It keeps the Goal and recurrence paragraph and records this run's baselines and shortlist.Public API and wire impact
None.
@moq/jsonloses an unused runtime dependency, which consumers never reached through it. No Rust code, Cargo feature, CLI flag, or wire behavior changes.Audit results
cargo shearis clean.expect.pubitems: a tree-wide token count finds public items whose name appears only at its definition. None were removed, since a public removal is a follow-up by the quest's rules. The shortlist is in the successor quest.android-logcat, the QUIC FIPS crypto feature, and moq-cli'snvenc/nvdecaliases. The first two are deliberate.Overlaps with open PRs (not edited here)
doc/concept/audio-jitter/reference.tsexports constants only it uses; moq-dev/moq#6164 rewrites that file.track::Subscriber::assert_errorandAnnounceConsumer::assert_next_restarted/assert_next_endedhave no callers.model/track.rsandmodel/origin.rsare churned by about a dozen open PRs, including moq-dev/moq#6159.Suggested follow-ups
nvenc/nvdecCargo feature aliases, with aMIGRATE.mdentry. moq-video and moq-transcode already dropped theirs. Recommended.moq_net::Version::uses_setup_negotiation, which has no caller anywhere. Recommend removing it, with aMIGRATE.mdentry.Server::serve_both,Catalog::to_json_pretty,Format::is_planar/is_float, thequic::webbuilders, vendored-fork surface): each completes a symmetric API.Validation
just check: passes (JS check and tests across every workspace package, plus the affected Rust, docs, and quest checks).quest check: 424 documents ok.reference.tsoverlap remains.(Written by Claude Opus 5.5)
🤖 Generated with Claude Code