Skip to main content

Module git_cache

Module git_cache 

Source
Expand description

Independent local Git snapshots for native repository runners. The manager never fetches from GitHub: checkout keeps its own authentication and ref selection. Only Git objects and generated Git metadata cross job boundaries.

Enums§

Outcome

Constants§

ENVIRONMENT

Functions§

capture
Called only after the runner has stopped and before the workspace is removed. The caller must hold the namespace’s normal runner lease during this call. Publish through an atomic pointer, retaining the previous good generation on every failure. Snapshots borrow no objects from the attempt or other caches.
prepare
Record the repository, and seed only an empty standard checkout. A first attempt is cold; normal checkout authenticates and downloads as before. The caller must hold the namespace’s normal runner lease during this call.
target_for_runtime
Read the bounded launch plan; it contains no credentials or cache paths.