Skip to content

Add CI script to check for bookrunner failures#868

Merged
celinval merged 4 commits intomodel-checking:mainfrom
adpaco-aws:bookrunner-check
Feb 26, 2022
Merged

Add CI script to check for bookrunner failures#868
celinval merged 4 commits intomodel-checking:mainfrom
adpaco-aws:bookrunner-check

Conversation

@adpaco-aws
Copy link
Copy Markdown
Contributor

Description of changes:

Adds a CI script to check for bookrunner failures, and another step in the bookrunner workflow to call it.

Resolved issues:

Call-outs:

Testing:

  • How is this change tested? CI.

  • Is this a refactor change? No.

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@adpaco-aws adpaco-aws requested a review from a team as a code owner February 25, 2022 22:52
Copy link
Copy Markdown
Contributor

@celinval celinval left a comment

Choose a reason for hiding this comment

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

One tiny comment. Thanks for doing this so quick. :)

# The threshold is roughly computed as: `1.05 * <number of expected failures>`
# The extra 5% allows us to account for occasional timeouts. It is reviewed and
# updated whenever the Rust toolchain version is updated.
THRESHOLD=652
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: can we add the calculation here instead of relying on the person that is updating this?

EXPECTED=<num>
THRESHOLD=$(expr ${EXPECTED} \* 105 / 100) # Add 5% threshold.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

@celinval celinval merged commit d81285f into model-checking:main Feb 26, 2022
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 26, 2022
* Add script and workflow step to check for bookrunner failures

* Update bookrunner docs

* Compute threshold from expected num of failures

* Update expected number to current
tedinski pushed a commit that referenced this pull request Apr 27, 2022
* Add script and workflow step to check for bookrunner failures

* Update bookrunner docs

* Compute threshold from expected num of failures

* Update expected number to current
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