Repository navigation
Conversation
Bind self calls in a trait default body to the enclosing declaration, expand a zero-argument local macro used as an entire impl body, keep *self/**self trait bounds, and mark macro-generated forwarding callers. Concrete plain impls that do not override the method inherit the default; overrides still resolve to the impl body. Bump Rust to v11.
Record the two real bytes misses, the compilable forwarding controls, the baseline/candidate receipts, the corrected 20-case answer set, the tracing cross-project case and the uninvolved reader report.
Rebuild the distributable archive with the canonical Node 22/zlib toolchain and replay the bytes case, the tracing cross-project case and the forwarding control from a fresh unpack.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Keep template callers independent of impl order, retain expansion origins, and prevent unknown cfg evidence from selecting a unique target.
…corrections Freeze cfg and divergent-template controls, retain source-first futures and reader evidence, and record final source/ZIP replays without claiming new real caller positions.
1 task
This branch has not been deployed
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.
Summary
Maintainers changing a Rust trait method need to see which source template calls it, where that template expands, and which targets remain uncertain. This Draft retains the v11 default-body/forwarding work and revises macro ownership against fixed baseline
70750e6ba, on the original branch. The branch includes #1296's statistics-onlyaa080c89b; that correction is not product benefit.Current model:
rust-source-direct-v12/ adapter 12. Expansion remains bounded to a preceding, same-module local macro with one empty matcher and no arguments, filling the entire impl body. This is not general macro expansion or concrete runtime dispatch analysis. Unknown accessor returns and unknown generated trait implementations remain ambiguity blockers; nestedcfg_attris respected.Report and reader navigation · Exact replay script
Evidence
Before / after, fixed v11 baseline
70750e6baavailable/passedrecords: 152 total, 121 applicable and all passing, 31 N/A, 8 classes.446134c1..c0122993usesderef_async_read!as the whole body ofAsyncRead for Box<T>andAsyncRead for &'a mut T. Itssplit.rs:49closure call remains in the denominator and remains missing. A separatearc_wake.rsparse error makes both captures partial; no modern upstream build is claimed. Tracing is regression-only, not validation of this macro rule.a61b2328c6b88127a324384e9ef536f42282ca41d4cd2d93290d1e774da5e6d9, official Node 22.23.2 / zlib1.3.1-e00f703; second canonical build is byte-identical. All nine tested source/test hashes match final commit3b09a193e69428c83cb0c5c0374c37d9c134adee. Isolated dependency installation reports eight npm audit warnings against unchanged dependencies (one moderate, seven high); no dependency upgrade or security clearance is claimed.Computed comparison, source hashes, review receipt and raw runs: final acceptance is under
final/and*-final.*; initial tooling-failed/cancelled batches and earlier ZIP evidence are explicitly nonfinal.Final-head CI: 42592939655 completed successfully for
3b09a193e69428c83cb0c5c0374c37d9c134adee: 19 successful jobs; only the two deployment jobs skipped. Both full-regression shards, browser/WebM gates, Node compatibility, ZIP byte freshness, three-platform package smoke and Windows portability ran successfully. The Code Analysis module job actually executed 461 tests, all passing, none skipped, including the new cfg/provenance/unknown-impl regressions. The v11 run is not reused as final CI. Wiki investigation record.Merge Danger
Door: two-way
Code and packaged artifact can be reverted. Historical v11 facts retain their original contract; new v12 callers intentionally identify a template rather than imply a unique impl. No persisted-data migration or live installation.
Blast Radius: code-analysis
Rust extraction, shared fact validation/query navigation, and packaged ZIP. Unknown/runtime targets remain conservative. This is source/CLI evidence, not complete Rust inference or upstream-project build acceptance. Keep Draft; do not merge. #1296 remains Draft;
labs/code-analysis(bf0a29e76), live installations and releases are unchanged.AI assistance and accountability
Qoder agent (model identity not recorded) performed investigation, implementation, tests, scoped review and report/PR drafting under @tt-a1i's direction. The origin combines real bytes/futures source cases and explicitly synthetic cfg/divergence review controls; no constructed probe is presented as an observed user incident. Accountable human: @tt-a1i.