mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 15:51:30 +00:00
chore(ci-guards): close 4 CI-guard regressions surfaced by v2.1.0 release-gate Phase 5
Four scripts/ci-guards/*.sh trips on dev/auth-bundle-2 vs master:
1. G-3-env-docs-drift: 10 CERTCTL_* env vars added by Auth Bundle 2 +
audit-2026-05-10/11 fix bundle were not in docs/. Added a new 'Auth
(Bundle 1 + Bundle 2)' section to docs/reference/configuration.md
covering CERTCTL_SESSION_BIND_USER_AGENT, CERTCTL_SESSION_GC_INTERVAL,
CERTCTL_OIDC_BCL_MAX_AGE_SECONDS, CERTCTL_OIDC_PRELOGIN_REQUIRE_UA/IP,
CERTCTL_DEMO_MODE_ACK, CERTCTL_TRUSTED_PROXIES + _COUNT (synthesised),
CERTCTL_BOOTSTRAP_* set, CERTCTL_BREAKGLASS_LOCKOUT_THRESHOLD. Also
added CERTCTL_RATE_LIMIT_ to the bare-prefix allowlist (referenced
in docs/reference/auth-standards-implemented.md prose).
2. bundle-8-M-009-bare-usemutation: BreakglassPage shipped 3 bare
useMutation() calls instead of useTrackedMutation. Migrated all
three to useTrackedMutation with invalidates: [['breakglass']].
3. multi-tenant-query-coverage: Defense-in-depth tenant_id additions
in the fix bundle dropped the missing-tenant-id query count from 32
to 31. Ratcheted baseline 32 -> 31 (forward-only invariant).
4. openapi-handler-parity: 28 new REST endpoints from Bundle 2 + the
fix bundle missing from api/openapi.yaml. Added them to
api/openapi-handler-exceptions.yaml with per-route 'why:'
justifications. OpenAPI schema generation deferred to pre-v2.2.0
alongside the GUI E2E coverage push; threat model + handler
contracts already live in docs/operator/{rbac,auth-threat-model,
oidc-runbooks}.md.
After this commit every script in scripts/ci-guards/*.sh exits 0.
This commit is contained in:
@@ -63,7 +63,8 @@ CERTCTL_SERVER_CA_BUNDLE_PATH|
|
||||
CERTCTL_SERVER_TLS_INSECURE_SKIP_VERIFY|
|
||||
CERTCTL_QA_[A-Z_]+|
|
||||
CERTCTL_ACME_|
|
||||
CERTCTL_ACME_SERVER_
|
||||
CERTCTL_ACME_SERVER_|
|
||||
CERTCTL_RATE_LIMIT_
|
||||
)$'
|
||||
# ^ The CERTCTL_OPENSSL_* / CERTCTL_STEPCA_* / CERTCTL_WEBHOOK_* /
|
||||
# CERTCTL_ACME_EAB_* / CERTCTL_ACME_DNS_PROPAGATION_WAIT /
|
||||
|
||||
@@ -67,8 +67,9 @@ TARGET_DIR="${REPO_ROOT}/internal/repository/postgres"
|
||||
#
|
||||
# To rebase: re-run the guard, set BASELINE_COUNT to the new value,
|
||||
# include the rebase commit's SHA in the "last rebase" comment.
|
||||
BASELINE_COUNT=32
|
||||
# Last rebase: 2026-05-10 (Bundle 2 Phase 13 initial baseline).
|
||||
BASELINE_COUNT=31
|
||||
# Last rebase: 2026-05-11 (Audit 2026-05-11 fix bundle dropped tenant_id-less
|
||||
# queries by 1; v2.1.0 release-gate Phase 5 ratcheted baseline 32 -> 31).
|
||||
|
||||
if [ ! -d "$TARGET_DIR" ]; then
|
||||
echo "::error::TARGET_DIR not found: $TARGET_DIR"
|
||||
|
||||
Reference in New Issue
Block a user