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(logs): properly count the number of processed items within all batches in the logs #436

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

C0ZEN
Copy link
Member

@C0ZEN C0ZEN commented Feb 9, 2022

Only the first batch was taken into consideration.
The information was lost during the recursion of batches processing.
Fixes #431

PR Checklist

Please check if your PR fulfils the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated (for bugfix/feature)
  • Docs have been added/updated (for bugfix/feature)
  • Contributing implementation have been added/updated (for bugfix/feature)
  • Website documentation have been added/updated (for bugfix/feature)

PR Type

What kind of change does this PR introduce?

  • Feature (a new feature)
  • Bugfix (a bug fix)
  • Style (changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc))
  • Refactor (a code change that neither fixes a bug nor adds a feature)
  • Perf (a code change that improves performance)
  • Test (adding missing tests or correcting existing tests)
  • Build (changes that affect the build system, CI configuration or external dependencies)
  • Docs (changes that affect the documentation)
  • Chore (anything else), please describe:

What is the current behaviour?

What is the new behaviour?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@C0ZEN C0ZEN added merge-into-master 👑 Will create a PR from develop to master bugfix 💊 Fixing something not working or not good labels Feb 9, 2022
@C0ZEN C0ZEN added this to In progress in Pull requests via automation Feb 9, 2022
@C0ZEN C0ZEN added this to In progress in Issues via automation Feb 9, 2022
@C0ZEN C0ZEN self-assigned this Feb 9, 2022
…tches in the logs

Only the first batch was taken into consideration.
The information was lost during the recursion of batches processing.
Fixes #431
@github-actions github-actions bot added the test 🧪 Contains a change in a test file label Feb 9, 2022
@codecov
Copy link

codecov bot commented Feb 9, 2022

Codecov Report

Merging #436 (b3fa660) into develop (bc7750c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #436   +/-   ##
========================================
  Coverage    99.82%   99.82%           
========================================
  Files          115      115           
  Lines         2327     2328    +1     
  Branches       226      227    +1     
========================================
+ Hits          2323     2324    +1     
  Misses           4        4           
Flag Coverage Δ
integration-issues 72.55% <100.00%> (+0.01%) ⬆️
integration-pull-requests 75.30% <100.00%> (+0.01%) ⬆️
unit 99.52% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/processing/abstract-processing.service.ts 100.00% <100.00%> (ø)

@codeclimate
Copy link

codeclimate bot commented Feb 9, 2022

Code Climate has analyzed commit b3fa660 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 99.8% (0.0% change).

View more on Code Climate.

@C0ZEN C0ZEN merged commit 8d35747 into develop Feb 9, 2022
Pull requests automation moved this from In progress to Done Feb 9, 2022
@C0ZEN C0ZEN deleted the bugfix/wrong-batch-count branch February 9, 2022 22:47
Issues automation moved this from In progress to Done Feb 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

🎉 This PR is included in version 1.43.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released 📦 Added when a Github/npm release was made label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 💊 Fixing something not working or not good merge-into-master 👑 Will create a PR from develop to master released 📦 Added when a Github/npm release was made test 🧪 Contains a change in a test file
Projects
Development

Successfully merging this pull request may close these issues.

[BUG] The log regarding the total of processed items are only counting the first batch
1 participant