Commits
2026-11-01
⚡ perf(ci): a push no longer rebuilds what did not change: the runner gives each tracked file the time its content last changed, so cargo and make skip unchanged code after a fresh checkout; forge-ci has no build script, so a new commit no longer recompiles every crate, and only release builds read git for the commit shown in the version; one build job runs unit tests, the release build, then the e2e tests against the binary it ships, so forge compiles once fewer and e2e takes seconds; incremental is back on for test builds, on trial; ♻️ refactor: e2e tests move to forge-e2e and modules with no routes and no dependency on pages move to forge-web-base; debug builds show unknown for commit and dateAhmet Kaan Gümüş · 158fa0f
⚡ perf(ci): a push no longer rebuilds what did not change: the runner gives each tracked file the time its content last changed, so cargo and make skip unchanged code after a fresh checkout; forge-ci has no build script, so a new commit no longer recompiles every crate, and only release builds read git for the commit shown in the version; one build job runs unit tests, the release build, then the e2e tests against the binary it ships, so forge compiles once fewer and e2e takes seconds; incremental is back on for test builds, on trial; ♻️ refactor: e2e tests move to forge-e2e and modules with no routes and no dependency on pages move to forge-web-base; debug builds show unknown for commit and date
2026-10-29
⚡ perf(ci): a cancelled or requeued job no longer throws away the build cache: a hit used to move the entry into the job's workspace and only a finished job put it back, so cancelling run #108 and the memory requeue in #109 left main with a cold cache and a full recompile of 674 crates; now a hit copies the entry (cp --reflink=auto) and only a job that succeeds or fails replaces it, several jobs can read one entry at once, and copies hold a read lock so a save or eviction cannot swap the entry halfway; forge's own CI caches CARGO_HOME in the workspace too, so a run downloads only new cratesAhmet Kaan Gümüş · c3349ae
⚡ perf(ci): a cancelled or requeued job no longer throws away the build cache: a hit used to move the entry into the job's workspace and only a finished job put it back, so cancelling run #108 and the memory requeue in #109 left main with a cold cache and a full recompile of 674 crates; now a hit copies the entry (cp --reflink=auto) and only a job that succeeds or fails replaces it, several jobs can read one entry at once, and copies hold a read lock so a save or eviction cannot swap the entry halfway; forge's own CI caches CARGO_HOME in the workspace too, so a run downloads only new crates
2026-10-20
✨ feat: memory-aware job admission so a runner never over-commits its RAMAhmet Kaan Gümüş · 69c5821
✨ feat: memory-aware job admission so a runner never over-commits its RAM A job can declare memory in ci.toml. A runner admits a job only when the reservations of its running jobs plus the new one fit its memory budget (MemTotal minus headroom by default, swap ignored), tells the forge how much it can admit on every claim, and the forge hands out the first queued job that fits. A job that waited 5 minutes and does not fit stops smaller jobs passing it. Each job's cgroup gets memory.max of its declared memory plus slack, with swap off. Budget and default reservation are live settings on the runner page, which also shows budget, reserved and free. Old runners and forges keep the old behaviour. forge's own ci.toml declares 4g for test and build.
2026-10-18
⚡ perf(ci): per-branch build cache kept on the runnerAhmet Kaan Gümüş · fabd8b3
⚡ perf(ci): per-branch build cache kept on the runner - Jobs list workspace paths to keep with `cache = ["target"]`. - The runner moves a same-branch entry into the checkout and back after the run; a new branch starts from a copy of its base or default branch entry. - The server picks the scope from the run's trigger: pushes write `ref:<ref>`, pull requests only `pr:<n>`, so a PR can never seed the cache a deploy build reuses. - `cache_max_gib` (default 20, 0 = off) evicts the least recently saved entries. 🐛 deploy: exit 75 is a deliberate restart, not a failure. Without SuccessExitStatus the OnFailure rollback ran on every self-update and restored the previous binary.