Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
This repository was archived by the owner on May 29, 2026. It is now read-only.

bug[codecov]: Version 10/11 does not load CI variables from --auto-load... #107

Description

@gabyx

Environment

What version are you running? 10.4.0

Steps to Reproduce

Check the parameters on the Merge Request Job:

https://gitlab.com/data-custodian/custodian/-/jobs/13154662980

The only command which was executed was:

[
"codecov" "--verbose" "--auto-load-params-from" "gitlabci" 
"--slug" "data-custodian/custodian" "--git-service" "gitlab" "--codecov-yml-path" "/builds/data-custodian/custodian/tools/configs/codecov/codecov.yaml" "upload-coverage"
 "--network-root-folder" "/builds/data-custodian/custodian" "--flag" "quitsh" 
"--disable-search" "--fail-on-error" 
"--commit-sha" "d4b8b693be6e59cc05951a0045ad114f6bbaf932" 
"--token" "****hidden****" 
"-f" "/builds/data-custodian/custodian/.output/quitsh/coverage/data/coverage.txt"]

No Gitlab variables are loaded anymore like, I checked that all variables CI_ are available in this job!.

Expected Result

The variables sshould be filled from Gitlab CI env variables:

debug - 2025-12-10 16:00:01,359 -- Starting upload coverage --- {"verbose": true, "auto_load_params_from": "GitlabCI", "codecov_yml_path": "/builds/data-custodian/custodian/tools/configs/codecov/codecov.yaml", "enterprise_url": null, "disable_telem": false, "version": "cli-10.4.0", "command": "upload-coverage", "network_root_folder": "/builds/data-custodian/custodian", "flags": ["lib-common"], "disable_search": true, "fail_on_error": true, "commit_sha": "16f09c5f182c72e729f9c3d0ab94e91c53a3ed2d", "git_service": "gitlab", "slug": "data-custodian/custodian", "report_code": "default", "files_search_root_folder": "/builds/data-custodian/custodian", "files_search_exclude_folders": [], "recurse_submodules": false, "disable_file_fixes": false, "build_code": "12390186059", "build_url": "https://gitlab.com/data-custodian/custodian/-/jobs/12390186059", "job_code": "12390186059", "name": "12390186059", "branch": "feat/implement-consent-status", "pull_request_number": "714", "env_vars": {}, "plugin_names": ["xcode", "gcov", "pycoverage"], "dry_run": false, "use_legacy_uploader": false, "handle_no_reports_found": false, "report_type_str": "coverage", "network_filter": null, "network_prefix": null, "gcov_args": null, "gcov_ignore": null, "gcov_include": null, "gcov_executable": null, "swift_project": null, "parent_sha": null}

Actual Result

This was an upgrade from v9 to v10 which breaks...
See reproducible script below.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions