Add CI job to stress-test changed Go packages on PRs#7417
Draft
CharlieTLe wants to merge 1 commit intocortexproject:masterfrom
Draft
Add CI job to stress-test changed Go packages on PRs#7417CharlieTLe wants to merge 1 commit intocortexproject:masterfrom
CharlieTLe wants to merge 1 commit intocortexproject:masterfrom
Conversation
Add a non-blocking CI job that detects which Go packages changed in a PR and reruns their tests with -count 5 to surface flaky/non-deterministic failures before they merge. The job: - Only runs on pull requests (not pushes to master) - Uses continue-on-error so it never blocks merging - Runs on a single ubuntu-24.04 runner to minimize cost - Filters out vendor/ and integration/ directories - Only tests packages that contain _test.go files - Skips entirely if no testable Go packages changed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Charlie Le <charlie_le@apple.com>
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.
Summary
continue-on-error: true) CI job that detects which Go packages changed and reruns their tests with-count 5to catch flaky/non-deterministic failures before mergetest-stressMakefile target that acceptsSTRESS_TEST_PACKAGESand runs them without-race(the maintestjob already covers that)vendor/andintegration/directories and only tests packages containing_test.gofilesTest plan
test-stressjob appears in the CI checks🤖 Generated with Claude Code