Skip to content

Conversation

@ViniciustCosta
Copy link
Collaborator

@ViniciustCosta ViniciustCosta commented Dec 29, 2025

Handler for store_fuzzer_run_results in postprocess (#3406) was not adding the fuzzer script logs to the correct structured buckets, as expected by the fuzzer page on the UI. This PR tries to fix it by copying the data from the blob store to the expected buckets during postprocess.

b/361867455

@ViniciustCosta ViniciustCosta marked this pull request as ready for review December 29, 2025 22:41
Copy link
Contributor

@javanlacerda javanlacerda left a comment

Choose a reason for hiding this comment

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

LGTM, just some nits. Thanks for fixing it.

fuzzer_logs_bucket = fuzzer_logs.get_logs_gcs_path()
try:
if not storage.copy_blob(logs_blob_bucket, fuzzer_logs_bucket):
logs.warning(
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe just run Raise here to avoid duplicate the warning?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn't want to break the fuzz task postprocess if this copy operation fails, as it is not critical. So I'd rather not raise the exception here.

I could get the return of the copy_blob and add a finally block to log warning for both cases and avoid duplicate the warning, but tbh I'm ok with the as is.

Copy link
Contributor

Choose a reason for hiding this comment

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

But you're catching the exception in the line 808, so if you raise, it will send the warning and continue

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah I see what you meant, yeah I can do that. Thanks

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