Skip to content

P3: CI suppression-audit gate + production-readiness sweep - #49

Merged
acamarata merged 3 commits into
mainfrom
ci/suppression-audit-gate
Jun 18, 2026
Merged

P3: CI suppression-audit gate + production-readiness sweep#49
acamarata merged 3 commits into
mainfrom
ci/suppression-audit-gate

Conversation

@acamarata

Copy link
Copy Markdown
Collaborator

P3 EOP merge for admin (Next.js Accepted-exception repo). CI/suppression-audit-gate work + production-readiness mechanical sweep. Auto-merge when nself-ci green.

…alidation

Implements T-P3-E5-W4-S1-T01: hardens all admin surfaces after Vite migration.

- AsyncScreen component: enforces 7 states (loading/offline/auth-expired/
  error/empty/rate-limited/ready) across all panels
- useStackStatus hook: polls localhost:8080/health every 5s; requires 2
  consecutive failures before flagging offline (prevents false positives)
- AdminError discriminated union: 6 variants (stack_offline, auth_expired,
  sql_error, backup_failed, deploy_failed, network) each with user message
- Result<T,E> monad: typed success/failure for all data-fetching paths
- Zod validation: SQL (non-empty only, full admin access preserved),
  backup name (alphanumeric + hyphens/underscores, max 50 chars)
- 9 panels: ServiceHealth, DatabaseConsole, Backup, DeploymentUI, SSL,
  GraphQLPlayground, WebTerminal, Grafana, PluginConfig — all wired
- AdminLoginOverlay: re-auth overlay for 24h LokiJS session expiry
- Wiki docs: admin-guide.md (7-state contract, smoke tests, troubleshooting)
  and session-management.md (lifecycle, security, re-auth flow)
…ession guard

T-P3-E6-W2-S7-T01 — CI suppression audit.
- dependency-audit.yml: 1 annotated (pnpm audit count capture; gate is Fail on critical step)
- deploy-staging.yml: 1 annotated (Docker Hub creds absent in some envs)
- docker-publish.yml: 2 annotated (SARIF/GHAS; Docker Hub description best-effort)
- lefthook.yml: wire ci-suppression-guard pre-push
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin Error Error Jun 18, 2026 8:29pm

Request Review

@github-actions

Copy link
Copy Markdown

Lighthouse Audit Results

Category Score Status
Performance 78 🟠
Accessibility 100 🟢
Best Practices 96 🟢
SEO 91 🟢

Score Guide

  • 🟢 90-100: Good
  • 🟠 50-89: Needs improvement
  • 🔴 0-49: Poor

View full Lighthouse report

@acamarata
acamarata merged commit 6ffe47f into main Jun 18, 2026
38 of 41 checks passed
@acamarata
acamarata deleted the ci/suppression-audit-gate branch June 19, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant