Skip to content

Send forge status on cancel - #7516

Merged
6543 merged 10 commits into
woodpecker-ci:mainfrom
6543-forks:Send-forge-status-on-cancel
Nov 13, 2026
Merged

6543 merged 10 commits into
woodpecker-ci:mainfrom
6543-forks:Send-forge-status-on-cancel

Conversation

@6543

@6543 6543 commented Nov 9, 2026

Copy link
Copy Markdown
Member

idea taken from #7487

6543 and others added 3 commits November 9, 2026 01:14
Covers a pending workflow of a running pipeline and a blocked pipeline,
both passed to Cancel without workflows loaded as the API and the
auto-cancel do, and checks that a running workflow gets no status from
Cancel, since its agent sends the final one, and which state the
pipeline ends in.
@6543 6543 added server enhancement improve existing features labels Nov 9, 2026
The comment did not say where the status of a running workflow comes
from, so leaving them out read like a bug.
@6543
6543 requested a review from a team November 9, 2026 00:36
@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.19048% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.78%. Comparing base (913b07e) to head (223b5e0).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
server/pipeline/cancel.go 81.25% 3 Missing ⚠️
server/pipeline/decline.go 0.00% 1 Missing ⚠️
server/pipeline/restart.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7516      +/-   ##
==========================================
+ Coverage   66.76%   66.78%   +0.02%     
==========================================
  Files         450      450              
  Lines       22582    22591       +9     
==========================================
+ Hits        15076    15088      +12     
+ Misses       7506     7503       -3     

☔ View full report in Codecov by Harness.
📢 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.

Comment thread server/pipeline/cancel.go Resolved

@qwerty287 qwerty287 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides the comment above this seems fine to me, but untested

@6543
6543 merged commit 7bd2f19 into woodpecker-ci:main Nov 13, 2026
7 checks passed
@6543
6543 deleted the Send-forge-status-on-cancel branch November 13, 2026 11:44
@woodpecker-bot woodpecker-bot mentioned this pull request Nov 12, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve existing features server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants