Skip to content

Conversation

@raman325
Copy link
Owner

@raman325 raman325 commented Jan 15, 2026

Proposed change

Consolidate and improve codecov configuration:

  1. Add default patch target: The unified codecov/patch check was using codecov's default (100%) instead of our 90% target because we only had named sections (python, typescript) without a default section.

  2. Remove duplicate config file: Deleted .github/.codecov.yaml which was conflicting with .github/codecov.yml.

  3. Rename for consistency: Renamed codecov.yml to codecov.yaml to match other YAML config files.

  4. Adopt recommended settings from old config:

    • precision: 2 - Display coverage to 2 decimal places
    • round: down - Round coverage down (conservative)
    • range: "70...100" - Color scale range for coverage display
    • comment.layout - Show reach, diff, flags, and tree in PR comments
    • github_checks.annotations: true - Add inline annotations for uncovered lines

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings January 15, 2026 19:29
@github-actions github-actions bot added github-config Changes to .github/ configuration files bug Something isn't working labels Jan 15, 2026
Copy link
Contributor

Copilot AI left a comment

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 adds a default section to the codecov patch status configuration to set a 90% coverage target for the unified codecov/patch check. Without this default section, the unified patch check was requiring 100% coverage instead of the intended 90% target that applies to the individual Python and TypeScript sections.

Changes:

  • Added default section with target: 90% to the patch status configuration in .github/codecov.yml

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@raman325 raman325 force-pushed the fix/codecov-default-patch branch from a5f3ca0 to 8b8200b Compare January 15, 2026 19:37
@raman325 raman325 changed the title Add default target to codecov patch status Fix codecov config: add default patch target and remove duplicate file Jan 15, 2026
@raman325 raman325 force-pushed the fix/codecov-default-patch branch from 8b8200b to 7b64d9d Compare January 15, 2026 19:38
- Add default patch target (90%) for unified codecov/patch check
- Remove duplicate .github/.codecov.yaml
- Rename codecov.yml to codecov.yaml for consistency
- Add display settings: precision, round, range
- Add PR comment layout settings
- Enable GitHub check annotations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@raman325 raman325 force-pushed the fix/codecov-default-patch branch from 7b64d9d to 61640e8 Compare January 15, 2026 19:40
@raman325 raman325 changed the title Fix codecov config: add default patch target and remove duplicate file Consolidate codecov config: fix patch target, remove duplicate, adopt best settings Jan 15, 2026
@github-actions github-actions bot added code-quality Pull requests that improve code quality and removed code-quality Pull requests that improve code quality labels Jan 15, 2026
@raman325 raman325 merged commit d2a585c into main Jan 15, 2026
18 checks passed
@raman325 raman325 deleted the fix/codecov-default-patch branch January 15, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github-config Changes to .github/ configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants