-
Notifications
You must be signed in to change notification settings - Fork 600
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
Update multiverse jobs in CI to avoid resource issues in github actions #3016
Conversation
SimpleCov Report
|
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.
I'm so glad you fixed this problem! 🎉 🧶
Seeing all the duplication, I wonder if we could use a composite action to reduce some of the steps we write again and again?
Here's the GHA doc on reducing duplication that taught me about this concept.
Rather than push things up into a separate repo, I imagine we could just use our actions
directory.
I also understand if that refactor seems like too much for now. We could create a ticket and add it to the backlog if you prefer to leave things as-is.
I think looking into that would be a good idea, but I do think it would be better as a future improvement. It would be my preference to leave the duplication for now, just so things are working again at least. That way I can pick redshift back up again to make sure we don't fall behind there, since that's been tricky. |
Sounds good! Let's create an issue after this PR is merged. |
So, this does seem to work to prevent the github communication errors/running out of resources thing from happening, yay!
scheduled CI run: https://github.com/newrelic/newrelic-ruby-agent/actions/runs/12772900369
I saw a couple of random actual intermittent test failures, like a timeout or openai complaining about not having a token, BUT I haven't seen ANY github communication errors come up on there and I tried rerunning it several times to give it as many chances to fail as I could.
I don't love how much bigger the files are now and all the duplication I had to add.
But it's better to have an annoying file than have github actions run out of resources all the time though, so ¯\(ツ)/¯ oh well
Here is what changed for multiverse:
I wanted mysql running with very few other things since that was mentioned in some of the comments we saw as being a problem.
I also didn't want too many services running in the same one just because I wanted to minimize the number of services each group was running to avoid resource issues.
Also I wanted kafka on its own because we've seen some weird issues with rdkafka in the past so just wanted those alone in case those things continue happening.
resolves #3004