Skip to content

app-builder 1.8.0

Choose a tag to compare

@heetbeet heetbeet released this 09 Sep 10:46
0da2295

app-builder 1.8.0

This release adds opt-in Python environment caching for repeated CI builds. Existing builds behave as before unless you enable it.

Speed up Python setup

env:
  APP_BUILDER_CACHE_PYTHON_BIN: '1'
  APP_BUILDER_CACHE_PYTHON_VENV: '1'

Enable either independently. BIN caches bundled Python and its dependencies; VENV caches the development environment. Continue using app-builder deps, release and release-gh normally.

Matching caches speed up fresh environment creation. Every pre/post hook still runs. Existing developer environments retain their normal updates and added packages.

app-builder cache info
app-builder cache clear python-bin
app-builder cache clear python-venv

Clear removes saved environments, not live ones, and does not force a rebuild. Both caches share a 5 GiB storage target. A corrupt archive or failed runtime check warns and falls back to normal setup.

What to know before enabling it

  • Caches match the dependency lock, Python configuration, platform and app-builder version, not branch names or checkout locations.
  • VENV caching does not detect custom changes that hooks make to bundled Python before venv creation. After such changes, clear python-venv and recreate the environment, or disable VENV caching.
  • Use trusted storage. Disposable CI runners need their CI cache service to preserve the cache between jobs.
  • The bundled HTML help includes the controls and recovery guidance.

Validation

The change was tested with the full Windows suite and focused cache tests covering restoration, corruption, unsafe archive paths, concurrent saves, clearing, eviction, hook order and developer-added packages. A real Python fixture also verified relocated interpreters and pip-generated launchers.

In that small local fixture, fresh setup with both cache hits took 4.25 seconds versus 19.59 seconds without caching. Populating both caches took 89.72 seconds. These are fixture results, not an Autory CI benchmark or a performance guarantee.

Implemented in PR #100.

Downloads

Run app-builder-1.8.0-installer.exe to install or upgrade. Use --yes for unattended installation. The .7z asset is the application payload, not the complete installer. Checksums and the build manifest are included.

Assets

  • app-builder-1.8.0.7z (sha256:5ae91c0149428e42e7f874da4461e1633b045c950286c50720efd09c68506ddd)
  • app-builder-1.8.0-installer.exe (sha256:df672829090bb51cd1d0caf08619cab124c7c2684e463a0fd137265171310991)
  • app-builder-1.8.0-manifest.json (sha256:b374f009a6f9e313d8c00da2eaa3679386850a1eed267b8b5f0722f5dc0278d6)
  • app-builder-1.8.0-SHA256SUMS.txt (sha256:a6c764cad402ba16b45d701f16f0aba9778e3e69424d353f61994f416a34030c)