fix(gc): classify boxed string concat as poll-capable - #7896
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe GC root-dominance checker classifies ChangesGC poll-reach classification
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
@coderabbitai review |
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@changelog.d/7896-boxed-concat-poll-reach.md`:
- Around line 1-3: Expand the changelog fragment to include concise context
referencing Issue `#7872`, plus the completed GC root-dominance moving-only audits
and corpus checks from the PR objective. Preserve the existing behavior summary
and record the validation results as history and validation notes.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 5306b7a8-ee26-4944-9e5d-3ac47e3e2d27
📒 Files selected for processing (2)
changelog.d/7896-boxed-concat-poll-reach.mdscripts/gc_root_dominance_check.py
Closes #7872.
Summary
js_string_concat_boxtoPOLL_CAPABLE_RUNTIME, so every--moving-onlychecker arm sees the helper's path throughjs_dynamic_string_or_number_addto coercion/user codeReproduction
On the pre-fix
maincheckout:After this change, the same audit reports 3,791 exported symbols, 1,616 intra-runtime call edges, 384
ALLOC_REmatches, and no unlisted poll-reaching allocation wrapper.Validation
python3 scripts/gc_root_dominance_check.py --self-test--audit-alloc-re,--audit-poll-capable,--audit-poll-reach,--audit-immovable-sources)python3 scripts/gc_gate_wiring_check.pypython3 scripts/check_test_registration.pybash scripts/check_file_size.shgit diff --checkAdditional observation, not changed here: the dependency-scale Zod corpus emitted all 81 expected IR modules but its final link failed on unresolved intra-Zod symbols, identically with Perry's cache disabled. Running the checker directly over those emitted modules still met the normal floors (12,903 functions), reported 0 dominance violations, 0 unrooted allocas, and 89 stale uses within the 118 budget; the exact classification delta for this list entry was 0 newly exposed stale windows.
Summary by CodeRabbit
Bug Fixes
Documentation