mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-28 23:59:25 +00:00
Both build scripts watch the current branch's loose ref file so the embedded Git SHA follows new commits. A packed ref has no loose file, and Cargo treats a missing rerun-if-changed path as always stale, so both crates recompiled on every build. A fresh clone packs its refs, which is the state of every Amp orb and CI checkout. When the loose ref is missing, watch the nearest existing directory instead (usually .git/refs/heads). The branch's next commit writes its loose ref there, so the SHA still updates. While the ref stays packed, a commit on another local branch reruns the two build scripts once. A no-op `cargo nextest run --workspace --no-run` drops from 17.4s to 0.5s. Amp-Thread-ID: https://ampcode.com/threads/T-01a1d1cb-9abf-76aa-be86-d84487f672e7 Co-authored-by: Scott Werner <scott@lithos.computer> |
||
|---|---|---|
| .. | ||
| build-support | ||
| fabro-api | ||
| fabro-auth | ||
| fabro-client | ||
| fabro-config | ||
| fabro-db | ||
| fabro-dev | ||
| fabro-http | ||
| fabro-macros | ||
| fabro-oauth | ||
| fabro-options-metadata | ||
| fabro-proc | ||
| fabro-redact | ||
| fabro-static | ||
| fabro-telemetry | ||
| fabro-template | ||
| fabro-test | ||
| fabro-types | ||
| fabro-util | ||
| fabro-vault | ||