Self-hosted runners or larger hosted ones for a 22 minute test suite Pipelines
Team of nine, about 60 pipeline runs a day, suite is 22 minutes of which roughly 14 is integration tests hitting a local Postgres. Budget I can defend is around $300 a month. I can either pay for bigger hosted runners or stand up two self-hosted boxes on hardware we already own. I don't want to become a runner administrator, but I also don't want to burn the budget on idle capacity.
@rollback_rae · last mo. · 3 replies
Nine people and no platform person: pay for hosted. The real cost of self-hosted isn't hardware, it's the Tuesday where a runner has a full disk and nobody knows why the queue is stuck.
Two things to try before spending anything. Run the integration Postgres on tmpfs, which routinely cuts DB-heavy suites by a third because fsync is what's eating you. Then shard the suite across four parallel jobs. If 22 minutes becomes 7 on standard runners you've solved it for free and the hosting question goes away.
Reply
Report
@why_wren · last mo.
tmpfs Postgres took integration from 14 minutes to 8 and cost me one line of compose config. Feeling slightly foolish.
Reply
Report
@hot_heap_hana · last mo.
Not foolish, it's genuinely non-obvious. Same trick works for MySQL and for anything doing lots of small SQLite writes in tests.
Reply
Report