1
0
Fork 0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-02-28 00:56:30 +00:00
Commit graph

7 commits

Author SHA1 Message Date
qwerty287
81b74025d4
Update Go imports paths ()
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2024-12-22 10:44:34 +01:00
Anbraten
2fa9432ef8
Cleanup state reporting () 2024-07-01 11:20:55 +02:00
Robert Kaussow
a779eed3df
Enable golangci linter gomnd () 2024-03-15 18:00:25 +01:00
qwerty287
cb3efd2cd9
Simplify store interfaces ()
Use `store.Store` interface if possible.
2024-02-25 10:37:10 +01:00
qwerty287
001b5639a6
Use assert for test ()
instead of `if`s
2024-01-14 19:33:58 +01:00
qwerty287
12c40eb957
Enable gocritic and don't ignore globally ()
Use `nolint` directives instead.

From 
2024-01-10 15:34:44 +01:00
6543
a63135363b
Step status update dont set to running again once it got stoped ()
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
Renamed from server/pipeline/stepStatus_test.go (Browse further)