Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Report when coverage is empty #3609

Closed

Conversation

nharper285
Copy link
Contributor

Summary of the Pull Request

What is this about?

PR Checklist

  • Applies to work item: #xxx
  • CLA signed. If not, go over here and sign the CLI.
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request

What does this include?

Validation Steps Performed

How does someone test & validate?

@@ -174,7 +175,7 @@ impl CoverageTask {
context.save_and_sync_coverage().await?;
}

info!("report coverage");
info!("report final coverage");
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not the final coverage.
the task can still report coverage in the loop that reads from the queue.

@@ -447,6 +452,8 @@ impl<'a> TaskContext<'a> {
if count % 10 == 0 {
self.save_and_sync_coverage().await?;
}
info!("report coverage");
Copy link
Contributor

Choose a reason for hiding this comment

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

don't emit this event here. At this point the coverage is is not really reported yet because we have no update the files.

@nharper285 nharper285 closed this Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants