You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already has travis-CI for basic CI, why introduce another one ?
There are a few reasons.
Github actions has better github integrations. Travis CI has to be enabled by project maintainer.Like https://github.com/nodejs/quic, you have to go to travis website to make it work, orgnization members won't has the permission. If we has this, futher experimental projects CI part should be easy.
Github action support linux, macOS, windows. I am thinking introduce build steps on all three platforms. This should make build problem found more early. (Like quic: initial experimental quic implementation #30943, works on linux, but not on macOS). Maybe only execute test on one platform.
Github action machine config is good than others, macOS has
One thing I have not seen solved via github actions is a good way at looking at the output of a test suite. Is there a decent solution from that aside from digging through the logs?
In Actions output, each build step is below a twisty and only build steps that have failed have their twisty open. So if you create lots of job step then there is no digging required to find the failure.
I'm broadly in favour of trying things on GitHub actions.
A couple of concerns:
We're going further away from the quite simple "check if the Node.js CI run is not red" before landing to potential confusion as to what has to pass in order to land a PR (I've seen confusion over Travis CI results, which up until recently were only considered advisory). Perhaps a solution is node-core-utils but that currently (a) does not look at the results of Node.js CI runs (it just checks one has been run) and (b) doesn't currenly check anything other than Node.js CI runs.
Maintenance. The CI jobs (on any of the providers) have an ongoing people maintenance cost. For the Node.js CI that is (the overstretched) @nodejs/build. I and a few others have kept Travis CI working for us (I used to manually restart a lot of Travis CI jobs). Actions are relatively new so will need contributors to step up to keep it working (on the other hand if we can move things from Node.js CI into actions and reduce the burden on @nodejs/build that would be a plus).
Activity
mscdex commentedon Dec 18, 2019
There was this previous PR FWIW.
MylesBorins commentedon Dec 18, 2019
One thing I have not seen solved via github actions is a good way at looking at the output of a test suite. Is there a decent solution from that aside from digging through the logs?
cclauss commentedon Dec 19, 2019
In Actions output, each build step is below a twisty and only build steps that have failed have their twisty open. So if you create lots of job step then there is no digging required to find the failure.
gengjiawen commentedon Dec 19, 2019
@cclauss Any thought on reopen your PR ?
cclauss commentedon Dec 19, 2019
Reopened. https://github.com/nodejs/node/pulls/cclauss
gengjiawen commentedon Dec 19, 2019
Thought on make one of the PRs support windows and macOS too ?
cclauss commentedon Dec 19, 2019
Sure. Go for it.
richardlau commentedon Dec 19, 2019
I'm broadly in favour of trying things on GitHub actions.
A couple of concerns:
sam-github commentedon Dec 19, 2019
I had never noticed that! In retrospect, its because I don't even try to run
git node landuntil it is green.gengjiawen commentedon Jan 2, 2020
I would like to be involved maintain github action. Feel free to @ me when there is related issue.
gengjiawen commentedon Jan 2, 2020
My intention is only to try build tasks. So I opened a new PR: #31153.
cclauss commentedon Jan 2, 2020
Also open are #29474 and #29193
gengjiawen commentedon Jan 10, 2020
close for #31153 is merged.