Skip to content

Fix workflow hang on services#6507

Merged
6543 merged 9 commits into
woodpecker-ci:mainfrom
6543-forks:fix-hang
Apr 27, 2026
Merged

Fix workflow hang on services#6507
6543 merged 9 commits into
woodpecker-ci:mainfrom
6543-forks:fix-hang

Conversation

@6543
Copy link
Copy Markdown
Member

@6543 6543 commented Apr 26, 2026

close #6506 ; regression of #6471

because we now wait for all steps to trace status back before we return, the defere did not tear down services anymore ...

... we now explicit tear down services and steps after all stages have executed.

I also added tests to check for that and update the dummy backend to fullfill the interface contract of killing all "running" steps with DestroyWorkflow

@6543 6543 added the regression fix a bug that was not released yet label Apr 26, 2026
Comment thread pipeline/backend/dummy/dummy.go Outdated
@woodpecker-bot
Copy link
Copy Markdown
Contributor

woodpecker-bot commented Apr 26, 2026

Surge PR preview deployment was removed

@6543 6543 added the engine change how the pipeline engine works label Apr 26, 2026
@6543 6543 requested a review from a team April 26, 2026 22:39
@qwerty287 qwerty287 changed the title Fix wokflow hang on services Fix workflow hang on services Apr 27, 2026
@6543 6543 merged commit 60df1c6 into woodpecker-ci:main Apr 27, 2026
6 of 7 checks passed
@6543 6543 deleted the fix-hang branch April 27, 2026 07:11
@6543
Copy link
Copy Markdown
Member Author

6543 commented Apr 27, 2026

thx & sorry that i did not catched such easy bug first ...

@xoxys
Copy link
Copy Markdown
Member

xoxys commented Apr 27, 2026

No worries. Happens, as I approved it I could have tested it better as well. However, main is expected to contain bugs from time to time.

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

Labels

engine change how the pipeline engine works regression fix a bug that was not released yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Woodpecker services dont stop

3 participants