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

fix(binding-file): improve file-client implementation #1213

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented Jan 9, 2024

This PR tries to make the file-client implementation more reliable by replacing the synchronous fs code with asynchronous alternatives from fs/promises. I am not sure how much of a difference this will make, but I hope this change will resolve the issues we have been observing since the merging of #1175.

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5dc47c4) 77.60% compared to head (cfbf441) 77.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1213      +/-   ##
==========================================
- Coverage   77.60%   77.60%   -0.01%     
==========================================
  Files          83       83              
  Lines       17311    17309       -2     
  Branches     1747     1747              
==========================================
- Hits        13435    13433       -2     
  Misses       3840     3840              
  Partials       36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JKRhb JKRhb linked an issue Jan 9, 2024 that may be closed by this pull request
Copy link
Member

@relu91 relu91 left a comment

Choose a reason for hiding this comment

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

Tested also locally, good to go.

@danielpeintner danielpeintner merged commit 3ccd242 into eclipse-thingweb:master Jan 11, 2024
12 checks passed
@JKRhb JKRhb deleted the file-client-fix branch January 11, 2024 12:53
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.

FileClient tests fail locally
3 participants