Skip to content

Name the fallback reason for JavaScript coverage settings #336

Open

Description

@adityankale190895

These configure coverage, which can fail a run through a threshold (check-coverage, branches: 80) even when every test passes:

  • .c8rc, .c8rc.json, .nycrc, .nycrc.json, .nycrc.yml
  • codecov.yml and .codecov.yml

A change to only one of them runs the full suite, with the reason Unknown changed file: ….

.coveragerc gets Tool configuration changed: coverage settings in #323. Use the same wording so the reason doesn't depend on the language.

Be careful: .c8rc. and .nycrc. are also in IMPLICIT_PREFIXES in src/repo/file-references.ts. Leave that list alone.

Done when:

  • All of them report Tool configuration changed: coverage settings.
  • There's a test case for each.
  • The docs row lists them.

New to DiffCI? See CONTRIBUTING.md. #142 and its PRs (#144, #155, #156) are a worked example of this exact change. Add a case to tests/repo/tool-config-reasons.test.ts, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.

Activity

  1. added
    enhancement
    good first issue
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions