llama-stack-mirror/.github/actions/setup-runner
Omar Abdelwahab 0754d59999 fix(ci): Add final bytecode cache clear after installations
The issue was timing - we were clearing cache before installations,
but uv sync/pip install were creating new .pyc files. This commit:

1. Adds PYTHONDONTWRITEBYTECODE=1 to prevent .pyc generation
2. Clears bytecode cache AFTER all installations complete
3. Ensures no stale .pyc files exist before tests run

For editable installs (-e .), Python loads from source directory,
so clearing cache after installation ensures the resolver sees the
latest method signatures with the authorization parameter.
2025-11-12 15:28:49 -08:00
..
action.yml fix(ci): Add final bytecode cache clear after installations 2025-11-12 15:28:49 -08:00