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: remove totalBytes field from appendContext #996

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

Conversation

ijsong
Copy link
Member

@ijsong ijsong commented Feb 21, 2025

What this PR does

This PR removes the totalBytes field from the appendContext struct. It modifies
prepareAppendContext to return totalBytes instead of changing the appendContext
struct. Through this PR, the appendContext becomes slightly simple.

@ijsong ijsong requested a review from hungryjang as a code owner February 21, 2025 04:37
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.08%. Comparing base (a05f7e3) to head (115ec16).

Additional details and impacted files
@@                                   Coverage Diff                                   @@
##           consolidate_append_wait_groups_into_a_single_object     #996      +/-   ##
=======================================================================================
+ Coverage                                                80.02%   80.08%   +0.06%     
=======================================================================================
  Files                                                      178      178              
  Lines                                                    21402    21405       +3     
=======================================================================================
+ Hits                                                     17127    17143      +16     
+ Misses                                                    3484     3475       -9     
+ Partials                                                   791      787       -4     

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

@ijsong ijsong force-pushed the consolidate_append_wait_groups_into_a_single_object branch from 3b5d0de to 1ad1abf Compare February 21, 2025 09:01
@ijsong ijsong force-pushed the remove_totalbytes_field_from_appendcontext branch from 698ec10 to f8f0f9a Compare February 21, 2025 09:01
@ijsong ijsong force-pushed the consolidate_append_wait_groups_into_a_single_object branch from 1ad1abf to 44b49d5 Compare February 21, 2025 10:16
@ijsong ijsong force-pushed the remove_totalbytes_field_from_appendcontext branch from f8f0f9a to 3090904 Compare February 21, 2025 10:16
@ijsong ijsong force-pushed the consolidate_append_wait_groups_into_a_single_object branch from 44b49d5 to 5f405f7 Compare February 21, 2025 12:59
@ijsong ijsong force-pushed the remove_totalbytes_field_from_appendcontext branch from 3090904 to 9dbf3f4 Compare February 21, 2025 12:59
@ijsong ijsong force-pushed the consolidate_append_wait_groups_into_a_single_object branch from 5f405f7 to ed39e3b Compare February 21, 2025 13:20
@ijsong ijsong force-pushed the remove_totalbytes_field_from_appendcontext branch from 9dbf3f4 to 7e80e10 Compare February 21, 2025 13:20
@ijsong ijsong force-pushed the consolidate_append_wait_groups_into_a_single_object branch from ed39e3b to 7b9ac3a Compare February 21, 2025 13:42
@ijsong ijsong force-pushed the remove_totalbytes_field_from_appendcontext branch from 7e80e10 to 34d085d Compare February 21, 2025 13:42
This PR removes the totalBytes field from the appendContext struct. It modifies
prepareAppendContext to return totalBytes instead of changing the appendContext
struct. Through this PR, the appendContext becomes slightly simple.
@ijsong ijsong force-pushed the consolidate_append_wait_groups_into_a_single_object branch from 7b9ac3a to a05f7e3 Compare February 21, 2025 13:55
@ijsong ijsong force-pushed the remove_totalbytes_field_from_appendcontext branch from 34d085d to 115ec16 Compare February 21, 2025 13:56
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.

1 participant