Skip to content

Conversation

3vilhamster
Copy link
Contributor

@3vilhamster 3vilhamster commented Nov 11, 2024

What changed?
Reverting #1260 since this code is unused and this logic is not required in the worker code.

Why?
To remove unused code and improve code coverage.

How did you test it?
Unit tests.

Potential risks
In theory, somebody could start using these metrics, but they should not be part of Cadence client responsibilities, and there is better tooling (prom-client) that does it better.

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.20%. Comparing base (82d54a7) to head (75c6630).
Report is 1 commits behind head on master.

Additional details and impacted files
Files with missing lines Coverage Δ
internal/internal_worker.go 82.56% <ø> (-0.08%) ⬇️
internal/internal_worker_base.go 81.95% <ø> (+8.03%) ⬆️
internal/worker.go 40.00% <ø> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82d54a7...75c6630. Read the comment docs.

@ketsiambaku
Copy link
Contributor

@timl3136 Did we have a change of plans ? wondering why this ended up not being used

@3vilhamster 3vilhamster merged commit f8bfb87 into cadence-workflow:master Nov 13, 2024
13 of 14 checks passed
@3vilhamster 3vilhamster deleted the revert-1260 branch November 13, 2024 09:41
mrombout pushed a commit to softsense/cadence-client that referenced this pull request Feb 26, 2025
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.

2 participants