Full-codebase-audit 2026-05-30 outputs: - Audit report: 09 - Audits/Full Codebase Audit - 2026-05-30.md - 81 issue files ISSUE-055..135 (decisions + 1 skipped no-brainer). - Scanner docs from scratch (was zero): architecture, data model, API ref, payment flow, operations runbook + repo README. - Doc-sync updates across API reference, data models, flows, design system. - Secret Rotation Runbook (08 - Operations) for the exposed credentials. - Reusable workflow guide (07 - Development) + .claude/workflows/full-codebase-audit.js. Issues remain status:open intentionally — the code fixes are uncommitted-then-committed working-tree changes per repo and aren't "resolved" until merged/deployed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
42 lines
1.5 KiB
Markdown
42 lines
1.5 KiB
Markdown
---
|
|
issue: 117
|
|
title: "Frontend/scanner/backend: production/manual CI pipelines lack lint/type/test/audit gates"
|
|
severity: medium
|
|
domain: CI/CD
|
|
labels: [ci-cd, quality, supply-chain]
|
|
status: open
|
|
created: 2026-05-30
|
|
source: Full Codebase Audit 2026-05-30
|
|
---
|
|
|
|
# Frontend/scanner/backend: production/manual CI pipelines lack lint/type/test/audit gates
|
|
|
|
**Severity:** medium
|
|
**Domain:** CI/CD
|
|
**Labels:** ci-cd, quality, supply-chain
|
|
|
|
## Description
|
|
|
|
Production and manual CI pipelines across all three repos push images without the same lint/type/test gates that development pipelines apply. A broken build can be pushed to production via a manual trigger. NB-37 added a typecheck to the backend manual pipeline; the broader question of enforcing gates on all production/manual pipelines remains.
|
|
|
|
## Options
|
|
|
|
1. Add tsc/lint/test (and `go vet`/`go test` for scanner) to production and manual pipelines.
|
|
2. Reuse the development pipeline's gate as a shared step.
|
|
3. Block manual pipeline pushes unless a gate flag is passed.
|
|
|
|
## Recommendation
|
|
|
|
Require the same lint/type/test gate on production and manual pipelines across all repos. This is a known project memory item ("verify before push").
|
|
|
|
## Affected Files
|
|
|
|
- `frontend/.woodpecker/production.yml`
|
|
- `backend/.woodpecker/manual.yml`
|
|
- `scanner/.woodpecker/manual.yml`
|
|
- `scanner/.woodpecker/production.yml`
|
|
|
|
## References
|
|
|
|
- [Full Codebase Audit 2026-05-30](../09%20-%20Audits/Full%20Codebase%20Audit%20-%202026-05-30.md) — DEC-77
|