woodpecker/server/pipeline
6543 a63135363b
Step status update dont set to running again once it got stoped (#3151)
Because of the check `if step.Stopped == 0`

without the check there are edgecases where could be the case a stoped
steped can be markt as running again, witch is wrong.

I do remember we have "running" steps indefinetly in cancled pipelines.
This could be the fix, i just did not test that specific.

Anyway the func hat a good testcoverage ... so just look at the tests

_Source:
https://github.com/woodpecker-ci/woodpecker/pull/3143#discussion_r1446138088_
2024-01-09 18:34:55 +01:00
..
stepbuilder Add imports checks to linter (#3056) 2023-12-29 21:19:42 +01:00
approve.go Allow to restart pipelines that has warnings (#2939) 2023-12-13 14:11:05 +01:00
cancel.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
config.go Add imports checks to linter (#3056) 2023-12-29 21:19:42 +01:00
create.go Ignore pipelines without config (#2949) 2023-12-21 11:13:25 +01:00
decline.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
errors.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
gated.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
helper.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
items.go Use name in backend types instead of alias (#3142) 2024-01-09 15:22:59 +01:00
items_test.go Add imports checks to linter (#3056) 2023-12-29 21:19:42 +01:00
pipelineStatus.go Only update pipelineStatus in one place (#2952) 2023-12-15 10:03:05 +01:00
pipelineStatus_test.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
queue.go Add imports checks to linter (#3056) 2023-12-29 21:19:42 +01:00
restart.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
start.go Add imports checks to linter (#3056) 2023-12-29 21:19:42 +01:00
step_status.go Step status update dont set to running again once it got stoped (#3151) 2024-01-09 18:34:55 +01:00
step_status_test.go Step status update dont set to running again once it got stoped (#3151) 2024-01-09 18:34:55 +01:00
topic.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
workflowStatus.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00