fix(stream): honor PassThrough subclass transforms - #11028
proggeramlug wants to merge 2 commits into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (18)
Included review availability: Your plan provides up to 8 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughPassThrough is now recognized as a native ChangesPassThrough stream subclass support
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix · Severity of issue fixed: Medium Sequence Diagram(s)sequenceDiagram
participant Subclass
participant HIR
participant Codegen
participant Runtime
Subclass->>HIR: extend PassThrough
HIR->>Codegen: record native node_stream parent
Codegen->>Runtime: invoke js_node_stream_passthrough_subclass_init
Runtime->>Runtime: install _transform override or identity marker
Runtime-->>Subclass: return initialized PassThrough instance
Merge Risk: ⚪ Minimal · up to The PassThrough initializer is retained in keepalive builds, and default subclass behavior is compared with Node output. No concrete merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 63.16% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 19 functions across 17 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
🛠️ Fix failing CI checks 💡
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. Comment |
|
Landed on Cherry-picked from this PR's head Nothing needed from you. Thanks. |
Summary
PassThroughas a nativenode:streamparent in class declarations and class expressions_transformoverrides and default identity behaviorFixes #10745.
Validation
cargo fmt --all -- --checkgit diff --checkscripts/check_file_size.shpython3 scripts/raw_handle_debt.py --checkSummary by CodeRabbit
New Features
node:stream’sPassThroughacross direct, aliased, dynamic, and indirect inheritance._transformimplementations.Bug Fixes
Tests