Skip to content
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

no more Travis-CI for PR validation, use GitHub Actions #10961

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

SethTisue
Copy link
Member

@SethTisue SethTisue commented Dec 19, 2024

also, do not build the spec during PR validation, doing so is overkill and spurious failures have been an ongoing annoyance. nightly ("mergely") is fine for this

this doesn't eliminate Travis-CI entirely. it will still publish nightlies and publish the spec. (for now, anyway.) for context on that, and for why we also keep Jenkins, see scala/scala-dev#751

we could have made this limited change (to PR validation only) ages ago, but it didn't seem like a priority

but

  • the contention for the one slot in our Travis-CI free plan has become annoying to me personally, especially around release time
  • that same contention is also annoying to all contributors (including ourselves) when there is activity on multiple PRs (usually it's six Som Snytts, hacking away)
  • the presence of Travis-CI in PR validation is confusing to contributors
  • maybe GitHub Actions will be faster, which all of us would appreciate

and also, it dawned on me today that this might actually be quite easy, so why not just go ahead and try it?

cc @He-Pin who asked about this recently — the question got me thinking

doing so is overkill. it's fine to just build the spec nightly.
spurious failures are vastly more common than real failures in this.
@scala-jenkins scala-jenkins added this to the 2.12.21 milestone Dec 19, 2024
@SethTisue SethTisue added the internal not resulting in user-visible changes (build changes, tests, internal cleanups) label Dec 19, 2024
@SethTisue
Copy link
Member Author

maybe GitHub Actions will be faster, which all of us would appreciate

oh, wow:

on Travis-CI we see PR validations on the 2.12.x branch taking ~1h5m, for example this run

but the GHA run here finished in just 33m

🚀

this level of speedup will be even more welcome on 2.13.x, where the Travis-CI PR validation times are considerably longer (~1h50m)

@SethTisue SethTisue marked this pull request as ready for review December 19, 2024 23:00
@SethTisue
Copy link
Member Author

SethTisue commented Dec 19, 2024

wdyt @lrytz @som-snytt ?

@SethTisue SethTisue force-pushed the get-travis-ci-out-of-pr-validation branch from eb49f4f to 9761bae Compare December 19, 2024 23:09
@He-Pin
Copy link
Contributor

He-Pin commented Dec 20, 2024

the cycle 🚲 is faster now

Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@SethTisue SethTisue merged commit b045381 into scala:2.12.x Dec 20, 2024
4 checks passed
@SethTisue SethTisue deleted the get-travis-ci-out-of-pr-validation branch December 20, 2024 17:53
@SethTisue
Copy link
Member Author

The merge onto 2.13.x isn't completely straightforward, so I might not get to it until January sometime.

@SethTisue
Copy link
Member Author

SethTisue commented Jan 6, 2025

I'll submit an independent forward-port PR rather than including it in a routine batch merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal not resulting in user-visible changes (build changes, tests, internal cleanups)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants