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

refactor: add const (and increase value) for commit files buffer size #790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zachschuermann
Copy link
Collaborator

What changes are proposed in this pull request?

add a new const: COMMIT_FILES_LIST_BUFFER_LENGTH and increase value from 10 to 200

How was this change tested?

existing

Copy link

codecov bot commented Mar 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.66%. Comparing base (06fb373) to head (c30976a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
- Coverage   84.68%   84.66%   -0.03%     
==========================================
  Files          83       83              
  Lines       19816    19816              
  Branches    19816    19816              
==========================================
- Hits        16782    16778       -4     
- Misses       2216     2218       +2     
- Partials      818      820       +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -24,6 +24,11 @@ use url::Url;
#[cfg(test)]
mod tests;

// This is the size of the buffer we use hold commit file names during log listing. We expect
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the size of the buffer we use to hold commit file names during log listing.

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.

3 participants