Repository navigation
v0.2.49 — one canonical CI token + expiry-aware re-mint preflight
Unifies CI-token minting onto ONE canonical identity (durable 90-day PAT, comment GitHub Actions (<repo>), OAuth fallback where PATs are disabled) shared by create-project, the lakebase-sync-ci-secrets repair CLI, the seed rehydrate (setup.sh Step 7g), the pre-push hook (now a thin delegator), and a NEW expiry-aware preflight.
ciTokenExpiry()readsdatabricks tokens list(live tokens only) andensureCiSecretsFresh()re-mints when a secret is missing, no live canonical token exists, or the token is within the re-mint margin — else no-op.- Wired fail-soft into
prepare-pr(before the push) andscm-merge(before the promote), the two CI-dispatch seams. Never blocks. - Fixes the "CI fails on empty/expired DATABRICKS_TOKEN" class without adding a fourth token convention.
Live-proven on a real project; full hermetic suite green (16 new ci-secrets cases).