Skip to content

[Pending Validation] Return execution success status from load_bigquery_stats script - #5441

Open
stormKx18 wants to merge 2 commits into
masterfrom
load_big_query_return_updates
Open

[Pending Validation] Return execution success status from load_bigquery_stats script#5441
stormKx18 wants to merge 2 commits into
masterfrom
load_big_query_return_updates

Conversation

@stormKx18

Copy link
Copy Markdown
Contributor

Summary

Previously, load_bigquery_stats did not return a status, making it impossible for callers to know if the data was loaded successfully or if errors occurred.
This PR updates load_bigquery_stats to return True if all fuzzer stats load successfully, and False if any errors or exceptions occur.


Changes

  • load_bigquery_stats.py:
    • Track each fuzzer load task and check for errors or exceptions.
    • Return True on success, False on failure.
  • load_bigquery_stats_test.py:
    • Assert True on successful runs.
    • Added a unit test verifying False is returned when a BigQuery job fails.

Unit tests

Code changes passed all the previous and new unit tests.

image

Validation

In progress.

@stormKx18 stormKx18 self-assigned this Aug 27, 2026
@stormKx18
stormKx18 requested a review from a team as a code owner August 27, 2026 19:33
@stormKx18
stormKx18 requested a review from dylanjew August 27, 2026 19:52

@dylanjew dylanjew left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, pending testing in dev!

@dylanjew dylanjew left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM but please confirm testing in dev first!

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