Skip to content

Conversation

@josedonizetti
Copy link
Collaborator

1. Explain what the PR does

"Replace me with make check-pr output"

2. Explain how to test it

3. Other comments

amount = (1 << 16) - 1
}

return uint32(amount), nil

Check failure

Code scanning / CodeQL

Incorrect conversion between integer types High

Incorrect conversion of an unsigned 64-bit integer from
strconv.ParseUint
to a lower bit size type uint32 without an upper bound check.
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 7.19424% with 129 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@e4492f4). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pkg/cmd/flags/capture.go 8.84% 94 Missing and 9 partials ⚠️
pkg/cmd/cobra/cobra.go 0.00% 26 Missing ⚠️

❌ Your patch check has failed because the patch coverage (7.19%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5035   +/-   ##
=======================================
  Coverage        ?   29.58%           
=======================================
  Files           ?      234           
  Lines           ?    26297           
  Branches        ?        0           
=======================================
  Hits            ?     7781           
  Misses          ?    17975           
  Partials        ?      541           
Flag Coverage Δ
unit 29.58% <7.19%> (?)
Files with missing lines Coverage Δ
pkg/config/config.go 0.00% <ø> (ø)
pkg/cmd/cobra/cobra.go 0.00% <0.00%> (ø)
pkg/cmd/flags/capture.go 39.10% <8.84%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant