Skip to content

PYTHON-5467 Fix codecov upload#2701

Merged
blink1073 merged 1 commit intomongodb:masterfrom
blink1073:codecov-followup
Feb 6, 2026
Merged

PYTHON-5467 Fix codecov upload#2701
blink1073 merged 1 commit intomongodb:masterfrom
blink1073:codecov-followup

Conversation

@blink1073
Copy link
Member

@blink1073 blink1073 commented Feb 6, 2026

PYTHON-5467

Changes in this PR

Use the CODECOV_TOKEN secret to upload codecov to avoid the error: Upload failed: {"message":"Token required because branch is protected"}

Test Plan

We'll need to merge to be able to make sure it works.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)?
  • Is there test coverage?
  • Is any followup work tracked in a JIRA ticket? If so, add link(s).

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

@blink1073 blink1073 requested a review from a team as a code owner February 6, 2026 12:12
@blink1073 blink1073 requested a review from Jibola February 6, 2026 12:12
@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@afc884d). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2701   +/-   ##
=========================================
  Coverage          ?   80.81%           
=========================================
  Files             ?      140           
  Lines             ?    23869           
  Branches          ?     4073           
=========================================
  Hits              ?    19290           
  Misses            ?     3718           
  Partials          ?      861           
Flag Coverage Δ
coverage-report-coverage-report 80.77% <ø> (?)
mongodb-latest-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 46.56% <ø> (?)
mongodb-latest-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 44.31% <ø> (?)
mongodb-latest-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 59.18% <ø> (?)
mongodb-latest-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 59.34% <ø> (?)
mongodb-latest-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 46.72% <ø> (?)
mongodb-rapid-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 46.58% <ø> (?)
mongodb-rapid-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 44.32% <ø> (?)
mongodb-rapid-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 59.18% <ø> (?)
mongodb-rapid-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 59.34% <ø> (?)
mongodb-rapid-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 46.71% <ø> (?)
mongodb-v4.2-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 43.61% <ø> (?)
mongodb-v4.2-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 41.68% <ø> (?)
mongodb-v4.2-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 56.87% <ø> (?)
mongodb-v4.2-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 57.01% <ø> (?)
mongodb-v4.2-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 43.79% <ø> (?)
mongodb-v4.4-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 44.14% <ø> (?)
mongodb-v4.4-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 42.04% <ø> (?)
mongodb-v4.4-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 57.27% <ø> (?)
mongodb-v4.4-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 57.37% <ø> (?)
mongodb-v4.4-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 44.18% <ø> (?)
mongodb-v5.0-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 44.36% <ø> (?)
mongodb-v5.0-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 42.25% <ø> (?)
mongodb-v5.0-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 57.47% <ø> (?)
mongodb-v5.0-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 57.61% <ø> (?)
mongodb-v5.0-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 44.49% <ø> (?)
mongodb-v6.0-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 44.41% <ø> (?)
mongodb-v6.0-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 42.25% <ø> (?)
mongodb-v6.0-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 57.49% <ø> (?)
mongodb-v6.0-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 57.66% <ø> (?)
mongodb-v6.0-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 44.56% <ø> (?)
mongodb-v7.0-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 44.39% <ø> (?)
mongodb-v7.0-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 42.25% <ø> (?)
mongodb-v7.0-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 57.49% <ø> (?)
mongodb-v7.0-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 57.65% <ø> (?)
mongodb-v7.0-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 44.53% <ø> (?)
mongodb-v8.0-test-server-version-python3.10-async-auth-ssl-sharded-cluster-min-deps-cov 46.55% <ø> (?)
mongodb-v8.0-test-server-version-python3.10-async-noauth-nossl-standalone-min-deps-cov 44.31% <ø> (?)
mongodb-v8.0-test-server-version-python3.10-sync-auth-ssl-sharded-cluster-min-deps-cov 59.17% <ø> (?)
mongodb-v8.0-test-server-version-python3.10-sync-noauth-nossl-replica-set-min-deps-cov 59.33% <ø> (?)
mongodb-v8.0-test-server-version-python3.11-async-noauth-nossl-replica-set-cov 46.70% <ø> (?)
no-c-ext-rhel8-test-standard-latest-python3.11-async-noauth-nossl-standalone 56.40% <ø> (?)
no-c-ext-rhel8-test-standard-latest-python3.12-async-noauth-ssl-replica-set 58.33% <ø> (?)
no-c-ext-rhel8-test-standard-latest-python3.13-async-auth-ssl-sharded-cluster 57.73% <ø> (?)
no-c-ext-rhel8-test-standard-latest-python3.14-async-noauth-nossl-standalone 56.03% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blink1073 blink1073 merged commit b1a0a1f into mongodb:master Feb 6, 2026
79 of 82 checks passed
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.

3 participants