-
Notifications
You must be signed in to change notification settings - Fork 198
feat: regenerate asset data 09/03/2025 #10420
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
Conversation
📝 WalkthroughWalkthroughData-only updates to asset metadata: expanded and pruned token color mappings in scripts/generateAssetData/color-map.json, a wholesale refresh of related-asset indices in src/lib/asset-service/service/encodedRelatedAssetIndex.json, and a new clearAssets migration entry (version 176) added in src/state/migrations/index.ts. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant App
participant StateMigrator as State Migrator
participant Store as Persisted Store
User->>App: Launch app
App->>StateMigrator: Initialize migrations
StateMigrator->>Store: Read current version
alt version < 176
StateMigrator->>Store: Apply migration 176 (clearAssets)
Note over StateMigrator,Store: Clears asset-related state before loading data
else version >= 176
StateMigrator-->>App: No-op for 176
end
App->>App: Load refreshed asset data (colors, related indices)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (11)
📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (3)**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/error-handling.mdc)
Files:
**/*📄 CodeRabbit inference engine (.cursor/rules/naming-conventions.mdc)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.cursor/rules/react-best-practices.mdc)
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-08-27T13:49:48.668ZApplied to files:
🧬 Code graph analysis (1)src/state/migrations/index.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
0xApotheosis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff sane, runtime check sane
Generated from CI.
Summary by CodeRabbit