Skip to content

Conversation

@geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Dec 6, 2024

Add % of files extracted without errors to summary stats. Requested by @redsun82 .

  • I don't think the exists(f.getRelativePath()) part makes any difference right now, but let me know if you have a preference about it.
  • the 57% number for the test is rather low, reflecting some odd stuff we're doing there. On openvmm I get 91%.
  • the number is rounded to an int, because I'm not confident I can output a float or string and pick it up in DCA. Again, if this is a problem please say and I'll look into what I can do.

@geoffw0 geoffw0 added no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code labels Dec 6, 2024
Copy link
Contributor

@redsun82 redsun82 left a comment

Choose a reason for hiding this comment

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

Thank you so much for this!

I think the exist(file.getRelativePath()) makes a lot of sense and is more future-proof. The numbers I see in integration tests are exactly what I expected. The lower number in the test is probably due to us not running cargo check on the tests in the past, and some compilation errors are probably present there. We should fix that eventually, and turn cargo check on on all the tests but those that explicitly require failure, but not in the context of this PR.

@redsun82 redsun82 merged commit a555a44 into github:main Dec 6, 2024
14 checks passed
@geoffw0 geoffw0 deleted the percent branch September 26, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants