Skip to content

ci: bootstrap protected sonar scanning - #15

Merged
aksOps merged 6 commits into
mainfrom
ci/sonar-bootstrap-a-prep
Aug 1, 2026
Merged

ci: bootstrap protected sonar scanning#15
aksOps merged 6 commits into
mainfrom
ci/sonar-bootstrap-a-prep

Conversation

@aksOps

@aksOps aksOps commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enforce frontend and Go coverage floors in an unprivileged regression workflow
  • publish revision-bound coverage artifacts for a protected workflow_run Sonar consumer
  • harden the consumer against candidate-code execution, artifact substitution, revision drift, symlinks, gitlinks, and control-plane changes
  • add CODEOWNERS and hostile tests for the CI trust boundary

Zero-regression evidence

  • frontend: 64 files, 875 tests
  • coverage: 98.20% statements, 95.07% branches, 98.71% functions, 99.42% lines
  • Go: every package at least 95%; aggregate 96.4%
  • build, go vet, go race, tracked Go formatting, actionlint, shellcheck, action pinning, workflow structure, hostile artifact validation, and archive install tests passed locally
  • commit 0de5855 has a valid SSH signature

Bootstrap exception

The protected Sonar workflow_run consumer cannot execute from this pull request because GitHub resolves workflow_run definitions from the default branch. This PR must pass every available non-Sonar gate and independent review. After merge, the exact main revision will be verified and the protected Sonar producer/consumer path will be exercised before remediation begins.

No product source files are changed.

Comment thread .github/workflows/sonar-exact-revision.yml Dismissed
Comment thread .github/workflows/sonar-exact-revision.yml Dismissed
Comment thread .github/workflows/sonar-exact-revision.yml Dismissed
Comment thread .github/workflows/sonar-exact-revision.yml Dismissed
Comment thread scripts/ci/create-coverage-manifest.cjs Fixed
Comment thread scripts/ci_monitor.cjs Dismissed

async function sonar(url) {
const token = required('SONAR_TOKEN');
const response = await fetch(url, {
Comment thread scripts/ci/validate-workflow-run.cjs Fixed
@aksOps
aksOps marked this pull request as ready for review August 1, 2026 10:24
@aksOps
aksOps merged commit ab6c4f2 into main Aug 1, 2026
10 checks passed
@aksOps
aksOps deleted the ci/sonar-bootstrap-a-prep branch August 1, 2026 15:10
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.

2 participants