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

BNK-370 generate multiple batches in a recon file #177

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

jasonbornsteinMOOV
Copy link
Contributor

Changes

Why Are Changes Being Made

@jasonbornsteinMOOV jasonbornsteinMOOV changed the title BNK-340 generate multiple batches in a recon file BNK-370 generate multiple batches in a recon file Sep 21, 2023
@jasonbornsteinMOOV jasonbornsteinMOOV force-pushed the BNK-370-recon-file-generation branch from d070921 to f22cc2c Compare September 22, 2023 17:59
Copy link

@rowland66 rowland66 left a comment

Choose a reason for hiding this comment

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

One comment, but I just realized this is only the test harness, so probably not worth worrying about too much.


writer FileWriter
func (batch *batchMirrorBatch) write(buf *bytes.Buffer) error {

Choose a reason for hiding this comment

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

How big are these batches likely to get? Is storing them in memory ever going to be a problem?

Copy link
Contributor Author

@jasonbornsteinMOOV jasonbornsteinMOOV Sep 22, 2023

Choose a reason for hiding this comment

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

in a way, that's going to get tested when we use this for simulating volume.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 81.25% and project coverage change: +1.21% 🎉

Comparison is base (87c21f8) 58.11% compared to head (f22cc2c) 59.32%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
+ Coverage   58.11%   59.32%   +1.21%     
==========================================
  Files          15       15              
  Lines         721      740      +19     
==========================================
+ Hits          419      439      +20     
  Misses        250      250              
+ Partials       52       51       -1     
Files Changed Coverage Δ
pkg/response/file_transformer.go 76.23% <50.00%> (ø)
pkg/response/batch_mirror.go 82.75% <84.09%> (+10.96%) ⬆️

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

@jasonbornsteinMOOV jasonbornsteinMOOV merged commit 012767c into master Sep 22, 2023
6 checks passed
@jasonbornsteinMOOV jasonbornsteinMOOV deleted the BNK-370-recon-file-generation branch September 22, 2023 18:24
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