25 ms·
> when an upstream library changes, update downstream libraries' dependency manifest files This needs to happen periodically, when we have slack. Doing it cont
by erik_seaberg 5y ago
> when an upstream library changes, update downstream libraries' dependency manifest files
This needs to happen periodically, when we have slack. Doing it continuously adds risks that aren’t really our job to take.
- throwaway894345 5y agoIn my experience, if it doesn't happen continuously, it simply doesn't happen at all until something breaks (and then there's a bunch of finger-pointing at upstream even though downstream didn't update). Your first line of defense is that downstream tests are run before anything that affects downstream is merged. The next line of defense is stuff like canary deployments which allow you to minimize blast radius and roll back quickly. Obviously this depends a great deal on your risk regime--if you're SaaS this is probably fine, but if you're embedded this is a non-starter.