Public Access
A pull request's firmware step took 358 s: 260 of them rebuilding the framework that was already in the volume, because the platform decides by sdkconfig.defaults in the project folder, which is generated and not in git, so no fresh checkout had it. It is now kept in the volume, inside the libraries it describes, and copied into the checkout; the platform still checks its hash against platformio.ini. The version was a -D on every command line: each commit recompiled everything, and no cache could help. scripts/version.py now writes one generated header, read by one file. PlatformIO's build cache in the volume for pull requests' firmware, ccache for the host tests (built for coverage, which the build cache can't keep), the tools in a venv in the volume, and a tag builds its firmware once. A release still compiles its own sources from nothing. Measured on fresh copies of the tree: the firmware step 358 s to 27 s (a new version and one changed file), tests and coverage 49 s to 33 s, a local rebuild with nothing changed 77 s to 13 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EhqxQ49eCju4CzKYNjZzwT
18 lines
379 B
Plaintext
18 lines
379 B
Plaintext
.pio/
|
|
.vscode/
|
|
*.pyc
|
|
|
|
# Private signing keys never belong in the repository (ADR 0003)
|
|
*key.pem
|
|
|
|
# Generated by pioarduino's hybrid compile from custom_sdkconfig (platformio.ini)
|
|
.dummy/
|
|
managed_components/
|
|
sdkconfig.*
|
|
|
|
# The built site (site/config.toml sends it here)
|
|
/public/
|
|
|
|
# The version, written by scripts/version.py before each build
|
|
lib/version/src/version_generated.h
|