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 #3350

Merged
merged 25 commits into from
Oct 30, 2024
Merged

feat: cache latest fuels version #3350

merged 25 commits into from
Oct 30, 2024

Conversation

Dhaiwat10
Copy link
Member

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)

Copy link

vercel bot commented Oct 21, 2024

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

Name Status Preview Comments Updated (UTC)
fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 8:21am
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 8:21am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
ts-docs-api ⬜️ Ignored (Inspect) Oct 30, 2024 8:21am

@Dhaiwat10 Dhaiwat10 changed the title feat: cache latest fuels version feat: cache latest fuels version Oct 21, 2024
@Dhaiwat10 Dhaiwat10 marked this pull request as draft October 21, 2024 15:40
Copy link

codspeed-hq bot commented Oct 21, 2024

CodSpeed Performance Report

Merging #3350 will not alter performance

Comparing dp/fuels-version-cache (a6aaef2) with master (e55aaca)

Summary

✅ 18 untouched benchmarks

Copy link
Contributor

@Torres-ssf Torres-ssf left a comment

Choose a reason for hiding this comment

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

Nice job 👏

Copy link
Member

@maschad maschad left a comment

Choose a reason for hiding this comment

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

Nice job!

Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
70.26%(+0.06%) 69.97%(+0.07%) 74.51%(+0.05%) 70.56%(+0.06%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
✨ packages/fuels/src/cli/utils/fuelsVersionCache.ts 100%
(+100%)
100%
(+100%)
100%
(+100%)
100%
(+100%)
🔴 ✨ packages/fuels/src/cli/utils/getLatestFuelsVersion.ts 91.66%
(+91.66%)
75%
(+75%)
100%
(+100%)
92.3%
(+92.3%)

@maschad maschad merged commit f1500e4 into master Oct 30, 2024
25 checks passed
@maschad maschad deleted the dp/fuels-version-cache branch October 30, 2024 09:17
Dhaiwat10 added a commit that referenced this pull request Nov 19, 2024
Co-authored-by: Peter Smith <[email protected]>
Co-authored-by: Chad Nehemiah <[email protected]>
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
5 participants