-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a minor bug in CI slack report #22906
Conversation
artifact_zip_path = os.path.join(output_dir, f"{artifact_name}.zip") | ||
if os.path.isfile(artifact_zip_path): | ||
results[artifact_name] = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the key only if the artifact is downloaded
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
* fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
What does this PR do?
#22798 added code to show the difference between 2 CI runs. However, the previous CI run(s) may not yet produced the artifact
test_failure_tables
, and we gotKeyError: 'model_failures_report.txt'
in the last run.This PR adds some check.