Skip to content

Renames AccountsFile::append_accounts() to write_accounts() #6879

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

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

brooksprumo
Copy link

Problem

AccountsFile::append_accounts() is misleading, as it is not legal to call this function multiple times. If using TieredStorage, this fn will panic.

Summary of Changes

Rename to write_accounts().

@brooksprumo brooksprumo self-assigned this Jul 8, 2025
@brooksprumo brooksprumo force-pushed the accounts/write-accounts branch from 613a8d1 to cfbcfb6 Compare July 8, 2025 14:57
@brooksprumo brooksprumo marked this pull request as ready for review July 8, 2025 15:43
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.2%. Comparing base (fca11d3) to head (cfbcfb6).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #6879     +/-   ##
=========================================
- Coverage    83.3%    83.2%   -0.1%     
=========================================
  Files         853      852      -1     
  Lines      378508   376898   -1610     
=========================================
- Hits       315483   313856   -1627     
- Misses      63025    63042     +17     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

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

lgtm.

@brooksprumo brooksprumo merged commit ae70b90 into anza-xyz:master Jul 8, 2025
41 checks passed
@brooksprumo brooksprumo deleted the accounts/write-accounts branch July 8, 2025 16:27
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.

4 participants