Skip to content
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

feat: cache latest fuels version #3186

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Conversation

Dhaiwat10
Copy link
Member

@Dhaiwat10 Dhaiwat10 commented Sep 19, 2024

Closes TS-654

Summary

This PR adds a basic local cache for the latest fuels version fetched by the fuels CLI.

Checklist

  • All changes are covered by tests (or not applicable)
  • All changes are documented (or not applicable)
  • I reviewed the entire PR myself (preferably, on GH UI)
  • I described all Breaking Changes (or there's none)

@Dhaiwat10 Dhaiwat10 self-assigned this Sep 19, 2024
Copy link

vercel bot commented Sep 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
create-fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 1:49pm
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 1:49pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
create-fuels-counter-example ⬜️ Ignored (Inspect) Sep 27, 2024 1:49pm

@github-actions github-actions bot added the feat Issue is a feature label Sep 19, 2024
Copy link

codspeed-hq bot commented Sep 19, 2024

CodSpeed Performance Report

Merging #3186 will improve performances by ×2.8

Comparing dp/fuels-version-cache (43dbb55) with master (e7c2c30)

Summary

⚡ 1 improvements
✅ 20 untouched benchmarks

Benchmarks breakdown

Benchmark master dp/fuels-version-cache Change
Instantiate a new Unlocked wallet 106 ms 38.3 ms ×2.8

Co-authored-by: Peter Smith <[email protected]>
nedsalk
nedsalk previously approved these changes Sep 19, 2024
Torres-ssf
Torres-ssf previously approved these changes Sep 24, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is with these errors?

Screenshot 2024-09-25 at 06 54 01

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, they pass locally. Investigating

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this tests needs to be re-synced

image

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

Successfully merging this pull request may close these issues.

Implement caching to check latest fuels version
6 participants