Regarding the thing about CI with Nextflow edge fr...
# team-maintainers
p
Regarding the thing about CI with Nextflow edge from the maintainers notes: In the Nextflow team we are currently working towards having nightly builds. The intention is that we can then have an automated canary CI task that runs using the test pipeline (or similar) that gives us a bleeding edge warning of any breaking changes in
master
from Nextflow. Hopefully this will allow us to get ahead of breaking changes and
edge
releases will be less likely to take out all of nf-core CI. We could even implement this now and just build Nextflow ourselves in the CI job, there's nothing stopping us from doing that. So might be worth holding off any changes in how we treat CI failures with edge?
m
The plan was to keep the tests with edge, just not having a failure be a block for a merge
p
Yup, but I'm saying that maybe a failure should be a block for a merge if, in the future, we have more confidence that it's not something that has changed in Nextflow that's breaking all pipelines.
ie. if we have more confidence in edge releases for the nf-core template, then any failures should be pipeline specific (in theory). And so then CI failures should be blocking.
m
For me
edge
really means not stable
otherwise it's
stable
so for me a failure with
stable
is blocking
a failure with
edge
not really
If I remember well at the beginning we were testing only with the latest stable release, we started using edge for modules, and never switch back on this
p
I guess - I like the idea of catching problems as early as possible though
But I agree that taking down all nf-core pipelines CI in one go is a bad thing and shouldn't happen
party this 1
m
I like it too
but we could still see that there are errors, fix that particular issue in separate PRs and still merge unrelated PRs
p
I guess. Fair enough! ¯\_(ツ)_/¯
m
-> https://github.com/nf-core/sarek/pull/1798 This PR should not be blocked
p
That's a config error in Sarek
Well, it was a config error in all of nf-core, that we now fixed in the template
I'd argue it should be blocked, as it's not going to change in future versions of Nextflow. It's something that needs to be solved in Sarek
So it's actually a great example of why I think we should have edge as required 😆
If you are not blocked and release, then anyone running this release of Sarek with current edge or future stable versions of Nextflow will get the same error
If you don't want to do a full template update, the fix is quite easy, just this config
m
that was not an error before, now it's an error, I don't see why it should block a release
especially a small patch release
p
It mostly wasn't an error because it was a relatively recent change to the template. The template was valid, then it was briefly invalid for a few months, now it's valid again.
The fact that the invalid config didn't cause an error was essentially an accident
But yes if we'd had the canary builds that I want we would have caught it, as it was a template + Nextflow version problem
m
ok, so another example: https://github.com/nf-core/references/pull/84 I know I'm playing around with output, so I expect things to change, and they indeed change, and a file that was published is no longer published with edge, while still published with the minimal nextflow version. This creates a block in my PR that should not be there
p
Weird - do you know why it's not being published?
I guess my point with all of these is that if we only test with stable then I fear that the same errors will still show up, but just later. And then they'll be harder to resolve.
Having them as non-essential CI is nice but I fear that folks will just ignore them. But maybe I'm overly paranoid.
m
In this particular case, my test works on stable but fails on edge
for me edge means non-stable
so I expect failure
I just don't want them to block
p
For me, edge means future-stable
edge releases should be stable, they are effectively pre-releases to try to allow folks to try out the new code before it goes out to production for everyone.
It's not the same as a dev branch build for example, which would be non-stable
m
I see what you mean