Repository navigation
ci: run the property-tests branch's property tests nightly - #2897
Draft
tonyandrewmeyer wants to merge 4 commits into
Draft
tonyandrewmeyer wants to merge 4 commits into
tonyandrewmeyer wants to merge 4 commits into
Conversation
The property tests live on the long-lived property-tests branch, and GitHub only schedules workflows from the default branch. This workflow checks that branch out every night and runs the tests with the nightly Hypothesis profile, opening an issue if they fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
property-tests is only merged from main by hand, so on its own the nightly run would test whatever main was at the last merge. Merging main in the checkout, without committing, tests the current code, and a conflict fails the run to say the branch needs merging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A hang in setup or the merge would otherwise run to the 360-minute job default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A conflict and a property failure open the same scheduled-failure issue, but need different fixes. An error annotation puts the reason at the top of the run, where the failure enrichment will also see it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub only runs scheduled workflows from the default branch, so the nightly run of the Hypothesis property tests on the
property-testsbranch (#2869) has to live onmain. This addsproperty-tests-nightly.yaml, which checks outproperty-tests, runstox -e propertywith thenightlyprofile, and opens or updates an issue when a scheduled run fails, throughnotify-scheduled-failure.yamllike the other scheduled workflows.This needs #2869 to land first: until then
property-testshas nopropertytox environment, so the nightly run would fail.