SAMTOOLS BEING USED EVERYWHERE
# rants
m
SAMTOOLS BEING USED EVERYWHERE
shakefist 2
🤣 4
srsly, I feel like I’m running tests for almost every single module and subworkflow
50+ tests when updating
samtools/index
...
p
That seems like a... good thing?
m
Not if you’re running them 😆 Takes ages
My main gripe is I have to re-run several tests a million times, since I’m updating every samtools module
p
hah, yeah I get that
By sheer coincidence, I'm on this thread because I'm procrastinating from making a presentation, and this is the slide I'm currently working on 😆
🤣 4
m
Yeah, I get why it has to happen, and that it’s useful, but that doesn’t mean I have to like doing it 😅
Especially since I’m planning to to bcftools, picard and gatk after this
🫠 2
All of which are pretty high traffic tools
p
But what do you actually have to do? Just throw in the PRs and come back tomorrow, no?
m
Gotta run all the tests to update the snapshots
p
ah, run locally?
m
yeah
p
We should make some kind of automation / bot thing that can pick up snapshot assets from failed CI tasks and then commit them 🤔
😮 1
@nf-core-bot update snapshots
m
that would be AWESOME!
Combine that with renovate and the whole thing gets automated
p
exactly 👍🏻
in fact I think that @Edmund and I discussed / planned this already in regard the seqera containers migration blog posts
m
we have something similar in place already for gpus and sentieon
🤔 1
and I think @Júlia Mir has something in store for the rest
the main issue now is more to make such an action modular
p
Where is it in place already?
m
modules repo
My credo, you need something, make it, and deal later with the fallback
p
I confess I somehow completely failed to see these workflows, sorry @Júlia Mir 🙈
shakefist 1
Hopefully the approach I took for mine might be a little nicer - it uploads the snapshot files from failed actions runs as artefacts automatically. So then the bot trigger just grabs those files from the previous run and commits them, rather than re-running the tests.
Should be quite a lot faster
I didn't do anything special for sentieon 🤔 But mine should work for normal and gpu tests
That said, I haven't tested mine at all cowboyhat tip
And I have to run now 😆
shared a GIF
m
screams
Main issue is that we need to merge to test it shakefist
nod 1
p
Should be fairly safe to do so, as it only runs on a comment trigger..
So can't see that it'll negatively affect much
m
at the moment my guess is only Sateesh and me
I won't pester you much since I know what you're doing and why
e
> Main issue is that we need to merge to test it Such is the way of GHA
I've been meaning to do this, I'm just afraid people will start merging whatever
party this 1
m
How about we control that only maintainers can do this?
e
Yeah, that would be an ideal world.
I think ideally we'd require any updates to snapshots to be reviewed by maintainers.
➕ 1