Skip to content

v0.2.49 — one canonical CI token + expiry-aware re-mint preflight

Choose a tag to compare

@kevin-hartman kevin-hartman released this 09 Oct 17:33
· 28 commits to main since this release

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() reads databricks tokens list (live tokens only) and ensureCiSecretsFresh() 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) and scm-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).