fix: clear stale vue reactive globals#34488
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe PR modifies the Vue3 renderer's Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
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 |
|
Hi @terminalchai, Due to a recent high volume of unreviewed AI-generated PRs, we are requesting verification and proof that the implemented fix actually works. Please provide a simple GIF/Video or image of how the fix works, optimally with before-and-after comparisons. Thank you for your understanding! |
|
Closing due to inactivity |
What I changed
This removes the early return in
updateArgs()for the Vue 3 renderer so the deletion pass still runs whennextArgsorglobalsare cleared to{}.I also added regression tests covering both cases:
Fixes #34319
How to test
Automated tests
corepack yarn test code/renderers/vue3/src/render.test.ts --config code/renderers/vue3/vitest.config.tsManual testing
No manual testing required for this change. It is covered by focused Vue renderer regression tests.
Notes
I initially tried the root
yarn testentrypoint, but in this checkout it fails during unrelated workspace Vitest project setup for@storybook/addon-vitest. The targeted Vue renderer Vitest config above passes and exercises the changed code directly.Summary by CodeRabbit
Bug Fixes
Tests