-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Run CI every night #1334
Run CI every night #1334
Conversation
This repo gets run many many times every day in Sentry, Snuba, and Relay repos so I don't think scheduled runs are necessary. |
I haven't seen this error (timeout on 360m) until now for example. Maybe this can help us understanding the problems sooner? |
I tend to disagree but not a strong one. Also, I'm no longer the main maintainer of the repo so I'll leave the final decision to @chadwhitacre 🙂 It's just, I don't find this particularly useful for myself.
They run things in GCB (https://github.com/getsentry/sentry/blob/037ce428a4f60f39b891f410be0904187b05f2b8/docker/cloudbuild.yaml#L46-L68) so that might be the reason. I'd rather put more effort into porting those to GitHub actions rather than this kind of "bandaid" solutions. That's a much bigger and riskier ask tho. |
I can try opening a PR migrating main sentry repository CI to GHA later, that would really helps us understanding and fixing problems sooner, and I also understand right now we should put double effort realizing if an error has something to do with GCB/GHA differences or is this a really bug. But meanwhile from my POV which cannot involve much on other sentry repositories and see if running CI on self-hosted is resulting in an error, I would rather see new problems here rather than waiting for other sentry repositories to fail and wait for them to open an issue here about it.
@BYK I highly value your input and I'd appreciate if you read ^ and tell me about it. |
Once we get rid of the GHA/GCB discrepancies (even now, with the added GCB run, it is mitigated quite a lot) "waiting for other repos for potential problems" stops being a problem (from my perspective) due to the following reasons:
One thing that would add more value (even more than the dreaded GCB/GHA move) would be to simulate a release in a nightly. Now that would definitely add value and make us much more ready for releases. This can start with something very basic like running
I would refrain from that as an external contributor as the images built in GCB can directly push to Sentry accounts which are then used from there. A move like this would involve some credentials. Either they'd be using GitHub's Docker Repo |
#1341 for the timeout. I'm okay bringing this in until CI settles down, I can see it being helpful to have a daily signal whether CI is healthy or not since we don't necessarily have PRs every day in Now to get CI to green on this PR so we can merge ... :P |
I guess we're good with this until we get rid of the GHA/GCB discrepancies then, as I'm not sure when it will be fixed, I'd say let's have a better CI in this repository until then.
Fair enough. |
23fdac4
to
0fc2930
Compare
@aminvakil Can you rebase to pick up #1375? 🙏 |
This reverts commit 75ac296d103ff585ae0e5cb70129acec0b9349ab.
All checks have passed 🎉 I'm sure it will bring us more headaches as it will fail randomly every night with current CI flakes, but I hope we can at least realize when something like #1341 happens and tear down our CI completely and debug it easier. |
I think this helps us running to catch any errors sooner than a PR comes up as this repository is not having so many changes and there may be many days without a CI running, and who doesn't like more testing? :)
We may want to change the time though.