-
Notifications
You must be signed in to change notification settings - Fork 500
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
[SDK] Fix bytecode caching #6593
Conversation
🦋 Changeset detectedLatest commit: 0dcde07 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Merge activity
|
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6593 +/- ##
==========================================
+ Coverage 54.96% 54.98% +0.02%
==========================================
Files 885 885
Lines 55517 55517
Branches 3793 3794 +1
==========================================
+ Hits 30513 30528 +15
+ Misses 24911 24894 -17
- Partials 93 95 +2
🚀 New features to boost your workflow:
|
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the bytecode caching mechanism in the `thirdweb` package by including additional metadata in the cache key, which improves cache differentiation and management. ### Detailed summary - Updated the `cacheKey` in `deploy-metadata.ts` to include `compilerMetadata.publisher` and `compilerMetadata.version` along with `compilerMetadata.name` and `chain.id`. - Removed the `version` and `publisher` fields from the deployment test case in `process-ref-deployments.test.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
b08831f
to
0dcde07
Compare
PR-Codex overview
This PR focuses on improving bytecode caching in the
thirdweb
package by enhancing the cache key to include additional metadata attributes.Detailed summary
cacheKey
indeploy-metadata.ts
to includecompilerMetadata.publisher
andcompilerMetadata.version
.version
andpublisher
fields from the test data inprocess-ref-deployments.test.ts
.