-
Notifications
You must be signed in to change notification settings - Fork 138
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
state: avoid infinite recursion in JobStore #1084
Conversation
81aa877
to
f52db4a
Compare
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.
We (especially you) did quite some work to reduce CI run time over the last couple of weeks. Therefore, I would instead not run this as part of our usual CI pipeline.
What do you think about running this as a nightly job, similar to the benchmarks? That would still ensure that we catch this bug before a release.
We could, but that would have to be limited to linux and/or macos as it's just impossible to run that in the Windows GHA environment. |
909a2be
to
f6d7476
Compare
@dbanck I have gated the test on |
f6d7476
to
155ded9
Compare
155ded9
to
09be5f9
Compare
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.
LGTM! I would just update the name
Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Fixes #1065
I couldn't come up with a more light-weight test which would reproduce the bug. As mentioned in the comment, it (scheduling over 1 million jobs) takes about 3-4 minutes to finish on M1 Pro and consumes decent chunk of almost all cores + ~5-6GB of memory at peak.
The Windows GHA environment runs out of memory before the test can even finish. 🙊
There are a few options to consider:
LONG_TESTS=1
-tags=longtests
We could also consider not running the test on non-empty
CI
ENV variable (which most CI systems set, incl. GitHub Actions), but I'd argue that it's probably not as valuable to run that test locally for most of the time either.