14 points hauju 1 hour ago 8 comments

slopinthebag 57 minutes ago | parent

since claude wrote this article and probably the app as well, i would reccomend asking claude to use sccache in ci to cut down on compile times.

GageBachik 40 minutes ago | parent

This does not read like Claude wrote it.

slopinthebag 39 minutes ago | parent

maybe not claude, but definitely an AI

anonymous908213 38 minutes ago | parent

Your detection skills are weak.

Philpax 35 minutes ago | parent

It was definitely AI-written. Has all of the usual cadence, "impact sentences", and pacing quirks. Pangram has it at 96% AI.

hauju 33 minutes ago | parent

so its AI written based on my experience.

hauju 34 minutes ago | parent

I tried sccache as well. But caching jobs took longer than some build steps.

nemothekid 50 minutes ago | parent

>Caching with Swatinem/rust-cache. It helps, but there’s a trap. A workflow run can only restore caches from its own ref or the default branch, and GitHub evicts caches unused for 7 days.

>A self-hosted runner for the heavy builds. This was by far the biggest win, 90 minutes down to 40. It also means I now maintain a build server.

WarpBuild (https://www.warpbuild.com/)[1] solved this for me.

1. You can cache into your own s3 bucket, so you manage eviction policy

2. They manage the infrastructure, or you can link in your AWS account. I have builds that run on spot instances that are requested when a build starts.

Then for the caching issue, I just have a scheduled job that reruns a build at midnight on the master branch.

[1] Not affiliated, found them through Google several months ago