Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Fix concatenated log context in Sequence #412

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

cjnosal
Copy link
Contributor

@cjnosal cjnosal commented Aug 22, 2023

Each child reconciler was receiving the accumulated log context of all prior children in the Sequence

Before:

INFO MyResourceReconciler.0.MyChildSetReconciler.0.id $msg
INFO MyResourceReconciler.0.MyChildSetReconciler.0.1.id $msg
INFO MyResourceReconciler.0.MyChildSetReconciler.0.1.2.id $msg

After:

INFO MyResourceReconciler.0.MyChildSetReconciler.0.id $msg
INFO MyResourceReconciler.0.MyChildSetReconciler.1.id $msg
INFO MyResourceReconciler.0.MyChildSetReconciler.2.id $msg

Each child reconciler was receiving the accumulated log context of all
prior children in the Sequence
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (0ced1f4) 60.62% compared to head (4768e6c) 60.62%.

❗ Current head 4768e6c differs from pull request most recent head fbed359. Consider uploading reports for the commit fbed359 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #412   +/-   ##
=======================================
  Coverage   60.62%   60.62%           
=======================================
  Files          24       24           
  Lines        2334     2334           
=======================================
  Hits         1415     1415           
  Misses        835      835           
  Partials       84       84           
Files Changed Coverage Δ
reconcilers/sequence.go 55.00% <100.00%> (ø)

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

@scothis
Copy link
Contributor

scothis commented Aug 23, 2023

Good catch. Thanks

@scothis scothis merged commit 23ff219 into vmware-labs:main Aug 23, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants