I need to debug a thing that runs in CI. Part of the run is a tool that takes five minutes to run and this makes iterations slow. I could rewrite that to run in less than ten seconds, but doing that would take a week or two of full time work. What do I do?

EDIT: posted a response describing what I actually did

  • Suffer slow iterations (23%, 8 votes)
  • Take the Knuthian detour and rewrite the tool (64%, 22 votes)
  • Use a fake tool that's fast (32%, 11 votes)
  • You're supposed to be experienced, why ask? (8%, 3 votes)
34 voters. Poll end: 2 settimane fa

Questa voce รจ stata modificata (2 settimane fa)
in reply to Lars Wirzenius

This got more interest than I expected. My least serious polls do that. But it's fine.

I went with the "fake it" option, because the thing I was debugging was not inherently about the tool I was using, but about the things happening in CI when publishing the output. By removing the real tool from the process, I shortened the iteration cycle to about half a minute. This allowed me to find the root cause of the problem, which turned out be something entirely different than I though it'd be.

Questo sito utilizza cookie per riconosce gli utenti loggati e quelli che tornano a visitare. Proseguendo la navigazione su questo sito, accetti l'utilizzo di questi cookie.

โ‡ง