Skip to content

fix plugin memory leaks #3467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

fix plugin memory leaks #3467

wants to merge 3 commits into from

Conversation

akshay-gupta7
Copy link
Contributor

Why does this PR exist?

Closes #0000

What does this pull request do?

Testing this change

Additional Notes (if any)

Copy link

changeset-bot bot commented Jul 23, 2025

⚠️ No Changeset found

Latest commit: e6c9f50

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 23, 2025

⤵️ 📦 ✨ The artifact was successfully created! Want to test it? Download it here 👀 🎁

Copy link
Contributor

github-actions bot commented Jul 23, 2025

Commit SHA:e94b2bf0a60aff84c64f7b173ce7692a72ed81ce

Test coverage results 🧪

Code coverage diff between base branch:main and head branch: fix-memory-leaks 
Status File % Stmts % Branch % Funcs % Lines
🔴 total 67.15 (0.02) 57.67 (-0.05) 63.85 (-0.13) 67.54 (0.03)
🔴 packages/tokens-studio-for-figma/src/app/store/models/tokenState.tsx 63.29 (-0.21) 51.29 (0) 75.67 (-0.85) 63.93 (-0.22)
🔴 packages/tokens-studio-for-figma/src/plugin/createLocalVariablesInPlugin.ts 51.28 (-1.84) 38.09 (0) 40 (-26.66) 51.35 (-1.98)
🔴 packages/tokens-studio-for-figma/src/plugin/createLocalVariablesWithoutModesInPlugin.ts 37.77 (0.93) 35 (0) 14.28 (-5.72) 39.53 (0.65)
🔴 packages/tokens-studio-for-figma/src/plugin/processTextStyleProperty.ts 88.88 (-11.12) 75 (-7.14) 100 (0) 88 (-12)
🟢 packages/tokens-studio-for-figma/src/plugin/pullStyles.ts 95.15 (0.38) 76.31 (2.31) 95.34 (-0.11) 95.51 (-0.04)
🟢 packages/tokens-studio-for-figma/src/plugin/setValuesOnVariable.ts 94.23 (3.99) 78 (-3.63) 100 (0) 94.23 (4.23)
🔴 packages/tokens-studio-for-figma/src/utils/findBoundVariable.ts 62.5 (0) 66.66 (-8.34) 66.66 (0) 62.5 (-8.92)

Copy link
Contributor

github-actions bot commented Jul 23, 2025

Commit SHA:e94b2bf0a60aff84c64f7b173ce7692a72ed81ce
Current PR reduces the test coverage percentage by 1 for some tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant