Any objections to adopting dependency cooldowns fo...
# lysine-dev
j
Any objections to adopting dependency cooldowns for our projects? I could stomach a significant delay (2 weeks?)
👍🏻 1
👍 2
j
I went to go add this at work a few weeks ago and talked myself out of it.
I'm not opposed, but in our ecosystem the benefit is low to none
It's much more effective for cargo or npm
j
I think we depend on many build tools: Spotless/AnimalSniffer/Bnd and similar
These things don't ship with our libraries so there's negligible benefit to being up-to-date
But a compromise in any of them immediately compromises our stuff
Why are Cargo & NPM more exposed? Is that a technical thing or an ecosystem size thing?
j
Because all dependencies get the opportunity to run commands on install/build as opposed to just the build plugins
j
Yep yep, gotcha.
j
Same attack mechanism, 100x the surface
j
A compromise in one of the libraries we use in our tests is pretty devastating. We should try to configure our stuff to never run tests in CI builds that have publishing secrets
j
Yeah
Anyway I'm not opposed
I was going to pull all the renovate config out to its own repo
That'll let us centralize these changes and some others I want to make
j
Monorepo
🧌 2
(I'll show myself out)
h
GitHub dependabot has a default cooldown of 3 days for all ecosystems.
j
We're a Renovate household
h
Yeah, and I really don't like the default value of dependabot when using internal artifacts. Yes, you can change the config, but it is annoying to do it in each repo, because dependabot does not support a central config like renovate.
Sounds like I should switch too 🤔
j
Okay extracted a shared config, PRs to update all 6 repos, and a PR to append the config for reducing a different supply-chain attack vector.
thank you color 2
Feel free to add the cooldown via a PR, too!
j
7 days. I was originally thinking 14 days, but the cooldowns.dev docs convinced me that 7 days is enough for naughty releases to be found and quarantined github.com/lysine-dev/renovate-config/pull/2
(How long did it take xz to be detected?)
j
It wasn't released
Just merged
j
😅 phew