Defer Codecov status checks until 100 reports are uploaded

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Infrastructure
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Codecov status checks on mongo-python-driver pull requests currently report before all coverage uploads have arrived, which can show a misleading status. See PR #3002 check run for an example.

      Definition of done

      codecov.yml in mongo-python-driver sets codecov.notify.after_n_builds so status checks wait until 100 coverage reports have been uploaded before reporting to GitHub.

      Pitfalls

      Confirm the PR's actual upload count before picking 100 — if fewer than 100 reports are ever uploaded for a given PR, the status check will never resolve and will block merges indefinitely.

            Assignee:
            Unassigned
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: