Visitar URL original
spec: list CODECOV_TOKEN for csharp/python repos + coverage policy by ptr727 · Pull Request #263 · ptr727/ProjectTemplate · GitHub
Skip to content

spec: list CODECOV_TOKEN for csharp/python repos + coverage policy - #263

Merged
ptr727 merged 1 commit into
developfrom
chore/codecov-required-secrets
Jul 9, 2026
Merged

ptr727 merged 1 commit into
developfrom
chore/codecov-required-secrets

Conversation

@ptr727

@ptr727 ptr727 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

spec/secrets.json typeMechanisms already requires codecov for every csharp/python repo, but no repo listed CODECOV_TOKEN in requiredSecrets, so it was not auditable per repo. Make it explicit and document the coverage policy.

  • requiredSecrets += CODECOV_TOKEN on all 10 csharp/python repos: Utilities, LanguageTags, MediaTools, PlexCleaner, PhotoCleaner, AudioCleaner, NxWitness, aiopurpleair, homeassistant-purpleair, Financial-Modeling.
  • secrets.json codecov note: it is listed (unlike the implicit baseline secrets); coverage upload is report-only by default (fail_ci_if_error: false); only aiopurpleair and homeassistant-purpleair enforce a 99%+ threshold.
  • Annotate both purpleair entries with the 99%+ gate.

python3 spec/validate.py passes (21 cataloged, 0 backlog).

🤖 Generated with Claude Code

…olicy

typeMechanisms already mandates codecov for every csharp/python repo; make that
explicit in the registry so the required secret is auditable per repo.

- requiredSecrets += CODECOV_TOKEN on all 10 csharp/python repos (Utilities,
  LanguageTags, MediaTools, PlexCleaner, PhotoCleaner, AudioCleaner, NxWitness,
  aiopurpleair, homeassistant-purpleair, Financial-Modeling).
- secrets.json codecov mechanism: note that it is listed (unlike implicit
  baseline secrets), coverage upload is report-only by default, and only
  aiopurpleair + homeassistant-purpleair enforce a 99%+ threshold.
- Annotate both purpleair entries with the 99%+ coverage gate.

Spec validation passes (21 cataloged, 0 backlog).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 8, 2026 23:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes Codecov usage auditable at the per-repo level by explicitly listing CODECOV_TOKEN in registry/repos.json for all C# and Python repos, and documents the fleet coverage policy in spec/secrets.json.

Changes:

  • Add a codecov mechanism note in spec/secrets.json describing the report-only default and the two repos enforcing a 99%+ coverage gate.
  • Add CODECOV_TOKEN to requiredSecrets for all 10 csharp/python repos in registry/repos.json.
  • Annotate aiopurpleair and homeassistant-purpleair with drift notes calling out the 99%+ coverage threshold enforcement.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
spec/secrets.json Documents the Codecov/coverage policy for C# and Python repos (report-only by default; two repos enforce 99%+).
registry/repos.json Makes CODECOV_TOKEN explicitly required for all C# and Python repos; adds drift notes for the two stricter coverage-gated repos.

@ptr727
ptr727 merged commit 6c7f8be into develop Jul 9, 2026
7 checks passed
@ptr727
ptr727 deleted the chore/codecov-required-secrets branch July 9, 2026 02:00
ptr727 added a commit that referenced this pull request Jul 9, 2026
…spec/registry updates (#267)

Promotion of `develop` -> `main`, batching the merged PRs since the last
promotion:

- **#266** — merge-bot auto-merges every Dependabot tier (drop
semver-major skip) + docs.
- **#265** — WORKFLOW.md D1.4 correction (workflow changes are linted in
CI).
- **#264** — canonical WORKFLOW.md EOL note + repo-config JSON indent.
- **#263** — spec: CODECOV_TOKEN for csharp/python repos + coverage
policy.
- **#262** — registry: mark MediaTools conformant.
- **#261** — codify general repository settings + promotion-safety
learnings.

No code beyond template governance/config/spec; `spec/validate.py`
green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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