Skip to content

ci(quality): coverage gate, weekly dependency audit - #5

Merged
andrespineli merged 6 commits into
mainfrom
chore/quality-hardening
Aug 7, 2026
Merged

ci(quality): coverage gate, weekly dependency audit#5
andrespineli merged 6 commits into
mainfrom
chore/quality-hardening

Conversation

@andrespineli

Copy link
Copy Markdown
Contributor

Summary

  • Coverage gate: the Quality job now fails when coverage drops below 70% (currently at 76.28%). Raise the minimum as coverage grows.
  • Weekly dependency audit (deps-audit.yml): Dependabot cannot watch deno.lock, so advisories in Deno/npm deps only surfaced when a PR happened to run the gate. A scheduled Monday run now fails on high-severity advisories and lists the full advisory report plus outdated direct dependencies in the run summary.

Pending (follow-up in this PR)

  • Remove .github/workflows/codeql.yml: GitHub's CodeQL default setup was enabled on the repo and has taken over analysis (the Analyze (javascript-typescript) check). Keeping both the default setup and this advanced workflow conflicts — analysis uploads from the workflow get rejected once default setup owns the languages.

Testing

  • Workflow YAML validated locally; the coverage gate reuses the existing awk-computed percent and skips when coverage is n/a (test failures already fail the job).

- Coverage was computed but purely informational; the Quality job now
  fails below 70% (measured 76% when introduced - raise as it grows).
- Dependabot cannot watch deno.lock, so advisories only surfaced when a
  PR happened to run the gate. A scheduled weekly audit now fails on
  high-severity advisories and lists outdated deps in the run summary.
The quality gate is PR-only, so nothing recomputes coverage when a PR
lands. A new workflow measures coverage on every push to main and
force-pushes a shields.io endpoint JSON to a single-file badges branch;
the README coverage badge reads from it.
The blog URL is about to move; pointing prose at the site root keeps
the references from breaking. The header keeps site + docs only.
@andrespineli
andrespineli merged commit d0fed4b into main Aug 7, 2026
4 checks passed
@andrespineli
andrespineli deleted the chore/quality-hardening branch August 7, 2026 16:00
@andrespineli andrespineli mentioned this pull request Aug 7, 2026
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