fix(runtime): honor deleted prototype methods in direct guards - #9168
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 (4)
Included review availability: Your plan provides up to 8 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe typed-feedback direct-method contract now honors per-name prototype invalidation after method deletion. Runtime and integration tests verify guard failure, ordinary dispatch fallback, and the resulting ChangesPrototype method deletion guard
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR prevents deleted prototype methods from being incorrectly used for direct calls and restores the expected fallback and error behavior. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description provides a clear summary, concrete changes, targeted test commands, the linked issue, and version-bump information. It omits some template headings and checklist items, but it contains the required substantive information. Full details: Linked Issues checkExplanation The changes satisfy issue [ Full details: Docstring CoverageExplanation Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 3 files. (1 skipped: 1 unsupported.)
✨ 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 |
cf5fd0d to
db3839d
Compare
|
Merged via a merge train — cherry-picked with three other PRs onto one branch and validated together in a single build. Combined validation: codegen 1357 passed, runtime 2844 passed (exit 0, 0 abort markers), perry --bins 1066, fmt clean, Pairs with #9169, which is the other half of #9131 (prototype replacement not observed through a typed-parameter receiver). The two conflict in the prototype-guard code, so I landed this one first and am rebasing #9169 onto it — the monkey-patching probe is still 7/23 with only this applied, which is expected since #9169 carries the observation half. |
Summary
Testing
No version bump; this includes only the standard changelog fragment.
Fixes #9123
Summary by CodeRabbit
Bug Fixes
TypeError.Tests