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

Commit 519c79c

Browse files
authored
Merge branch 'main' into revert-3557-revert-7bcc41c67b74cd97668e169705d9af365f5c1297
2 parents bb71b73 + 5cf619e commit 519c79c

File tree

1 file changed

+5
-2
lines changed
  • src/agent/onefuzz-task/src/tasks/coverage

1 file changed

+5
-2
lines changed

src/agent/onefuzz-task/src/tasks/coverage/generic.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ impl CoverageTask {
146146
bail!("input is not specified on the command line or arguments for the target");
147147
}
148148

149-
context.heartbeat.alive();
150-
151149
info!("report initial coverage");
152150
context.report_coverage_stats().await;
153151

152+
context.heartbeat.alive();
153+
154154
for dir in &self.config.readonly_inputs {
155155
debug!("recording coverage for {}", dir.local_path.display());
156156

@@ -174,6 +174,9 @@ impl CoverageTask {
174174
context.save_and_sync_coverage().await?;
175175
}
176176

177+
info!("report coverage");
178+
context.report_coverage_stats().await;
179+
177180
context.heartbeat.alive();
178181

179182
if let Some(queue) = &self.config.input_queue {

0 commit comments

Comments
 (0)