Skip to content

fix(appearance): skip dependency dirs in contract audit walks - #2190

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/fix-appearance-audit-skip-deps
Aug 10, 2026
Merged

fix(appearance): skip dependency dirs in contract audit walks#2190
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/fix-appearance-audit-skip-deps

Conversation

@bobleer

@bobleer bobleer commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Appearance contract audit recursively walked MiniApp/ and other cross-boundary roots without skipping dependency/build outputs.
  • Local MiniApp/**/node_modules (e.g. playwright-core) could contain strings like ThemeService and fail pnpm run desktop:build / appearance:contract-audit.
  • Align walkers with audit-theme-colors.mjs by ignoring node_modules, dist, and build.

Test plan

  • pnpm run appearance:contract-audit passes
  • Re-run pnpm run desktop:build (or at least frontend:build-all) with a MiniApp demo that has local node_modules

Prevent MiniApp local node_modules and build outputs from triggering false ThemeService contract failures during desktop builds.
@bobleer
bobleer merged commit c326156 into GCWing:main Aug 10, 2026
7 checks passed
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