Skip to content

Conversation

davidporter-id-au
Copy link
Member

@davidporter-id-au davidporter-id-au commented Nov 5, 2024

What changed?
Adds a small amount of coverage to some internal data object. Fixes up the toString since it seemed to be broken.

Why?
We're trying to lift the coverage and quality of these repos. Incidentally I'm trying to remember how to write Java.

How did you test it?

Potential risks

Release notes

Documentation Changes


@Override
public String toString() {

Copy link
Member Author

@davidporter-id-au davidporter-id-au Nov 5, 2024

Choose a reason for hiding this comment

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

this whole thing seems utterly pointless and not good personally I'd rather see JSON representation, but fixing it up since god forbid, someone mgiht actually be caring about it's current not good structure.

the main issue is that before, it broke for short strings, which is probably not what you want for a tostring

SignalExternalWorkflowParameters result = new SignalExternalWorkflowParameters();
result.setInput(input);
result.setRunId(runId);
result.setDomain(domain);
Copy link
Member Author

Choose a reason for hiding this comment

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

I guess this was missing also?

@davidporter-id-au davidporter-id-au changed the title adds coverage to a minor internal struct file adds coverage to SignalExternalWorkflowParameters struct file's methods Nov 5, 2024
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.23%. Comparing base (606808c) to head (7219475).
Report is 6 commits behind head on master.

Additional details and impacted files
Files with missing lines Coverage Δ
...ernal/replay/SignalExternalWorkflowParameters.java 100.00% <100.00%> (+57.89%) ⬆️

... and 5 files 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 606808c...7219475. Read the comment docs.

@davidporter-id-au davidporter-id-au merged commit b08b8d7 into cadence-workflow:master Nov 6, 2024
13 checks passed
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