Skip to content

feat: add --wrapper option to report the invoking integration - #822

Open
thomasrockhu-codecov wants to merge 1 commit into
mainfrom
th/cli-wrapper-arg
Open

thomasrockhu-codecov wants to merge 1 commit into
mainfrom
th/cli-wrapper-arg

Conversation

@thomasrockhu-codecov

Copy link
Copy Markdown
Contributor

Adds a global --wrapper option so integrations that shell out to the CLI (GitHub Action, CircleCI orb, Bitrise step, wrapper) can identify themselves, e.g. codecovcli --wrapper codecov-action-7.1.1 upload-coverage ....

The value is carried in cli_args, which the CLI already sends on the commit, report, upload, upload-completion and empty-upload requests, so no payload changes are needed. The API reads it to record the wrapper alongside the CLI version.

codecovcli_commands is regenerated for the new flag.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
724 1 723 1
View the full list of 1 ❄️ flaky test(s)
api.temp.calculator.test_calculator::test_divide

Flake rate in main: 100.00% (Passed 0 times, Failed 1882 times)

Stack Traces | 0.001s run time
def
                test_divide():
                > assert Calculator.divide(1, 2) == 0.5
                E assert 1.0 == 0.5
                E + where 1.0 = <function Calculator.divide at 0x104c9eb90>(1, 2)
                E + where <function Calculator.divide at 0x104c9eb90> = Calculator.divide
                .../temp/calculator/test_calculator.py:30: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

This branch has not been deployed

No deployments
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.

2 participants