Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: switch context.Background() -> t.Context() from go 1.24 #3473

Merged
merged 15 commits into from
Feb 20, 2025

Conversation

mmetc
Copy link
Contributor

@mmetc mmetc commented Feb 18, 2025

No description provided.

@mmetc mmetc added this to the 1.6.6 milestone Feb 18, 2025
Copy link

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@mmetc mmetc force-pushed the golangci-lint-1.64 branch from 850266e to fa054f2 Compare February 18, 2025 15:56
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.05%. Comparing base (19eb278) to head (c7e73be).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3473      +/-   ##
==========================================
+ Coverage   56.02%   56.05%   +0.02%     
==========================================
  Files         389      389              
  Lines       43387    43387              
==========================================
+ Hits        24309    24319      +10     
+ Misses      17005    17000       -5     
+ Partials     2073     2068       -5     
Flag Coverage Δ
bats 40.18% <ø> (-0.02%) ⬇️
unit-linux 33.44% <ø> (+0.05%) ⬆️
unit-windows 22.44% <ø> (+0.02%) ⬆️

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.

@mmetc mmetc marked this pull request as draft February 19, 2025 11:03
@mmetc mmetc force-pushed the golangci-lint-1.64 branch from fa054f2 to 5823ffd Compare February 19, 2025 12:33
@mmetc mmetc changed the title CI: use golangci-lint 1.64 tests: switch context.Background() -> t.Context() from go 1.24 Feb 19, 2025
@mmetc mmetc marked this pull request as ready for review February 19, 2025 12:33
@mmetc mmetc merged commit 45624c6 into master Feb 20, 2025
17 checks passed
@mmetc mmetc deleted the golangci-lint-1.64 branch February 20, 2025 23:09
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.

2 participants