logoalt Hacker News

jwilliams • today at 8:12 PM • 1 reply • view on HN

One other approach I’ll throw in the mix too: Using git trailers to avoid repeated work. https://jonathannen.com/abusing-git-trailers/


Replies

IshKebab • today at 8:55 PM

That seems... pretty janky to be honest. Not compatible with merge queues (which should be the default). The way it should really work is you have an accurate build graph with sandboxing and cache the results. Basically Bazel, Buck2, etc. Then when your agent runs tests the results get cached, and when CI does it again it uses the cache... but it also works if something has changed.

➕ show 1 reply