Skip to content

refactor: use slices.Contains to simplify#5468

Merged
qwerty287 merged 1 commit into
woodpecker-ci:mainfrom
zhedazijingang:main
Aug 28, 2025
Merged

refactor: use slices.Contains to simplify#5468
qwerty287 merged 1 commit into
woodpecker-ci:mainfrom
zhedazijingang:main

refactor: use slices.Contains to simplify

b591306
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 28, 2025 in 0s

26.44% (+0.00%) compared to 7886f4a

View this Pull Request on Codecov

26.44% (+0.00%) compared to 7886f4a

Details

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.44%. Comparing base (7886f4a) to head (b591306).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
server/model/task.go 0.00% 2 Missing ⚠️
server/pipeline/cancel.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5468   +/-   ##
=======================================
  Coverage   26.43%   26.44%           
=======================================
  Files         403      403           
  Lines       28805    28789   -16     
=======================================
- Hits         7616     7612    -4     
+ Misses      20494    20482   -12     
  Partials      695      695           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.