You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In woodpecker all workflows are restarted if the "restart" button is clicked woodpecker-ci/woodpecker#1886
For us this is annoying when a single workflow failed e.g. because of flaky tests.
We could write to some permanent storage e.g. S3 the commitID and the workflow that passed. Before starting that workflow we would check the storage if that flag exists and just skip the run with exit 0 if it does.
Of course that does not make sense for build workflows, but only for real test workflows
Since Woodpecker doesn't support restarting individual workflows separately, my idea for this was:
When a CI build starts, upload the current pipeline number to s3 using commit hash as path key
When a restart happens on the same commit, check the previous pipeline number in s3 and get the pipeline details with that.
Based on the previous pipeline info, run or skip the workflows.
The limitation in Woodpecker:
Workflows do not get skipped with exit 78
Because of this limitation, we will have to touch all the steps of all the workflows where we want this to be implemented, just to skip the steps if the workflow was passed previously.
we have a similar skip for when the cache is found if $BIN_CACHE_FOUND; then exit 0; fi
yeah, that's needed in every step of all workflows, and it doesn't look good.
But if we want, then maybe we can start first with API/e2e test workflows
Activity
individual-it commentedon Sep 18, 2025
before exiting the workflow could give a link to the previously passed one
saw-jan commentedon Jan 2, 2026
Since Woodpecker doesn't support restarting individual workflows separately, my idea for this was:
The limitation in Woodpecker:
exit 78Because of this limitation, we will have to touch all the steps of all the workflows where we want this to be implemented, just to skip the steps if the workflow was passed previously.
individual-it commentedon Jan 2, 2026
we have a similar skip for when the cache is found
if $BIN_CACHE_FOUND; then exit 0; fisaw-jan commentedon Jan 2, 2026
yeah, that's needed in every step of all workflows, and it doesn't look good.
But if we want, then maybe we can start first with API/e2e test workflows
saw-jan commentedon Jan 2, 2026
POC: opencloud-eu/opencloud#2099
✔️ When the workflow passed previously (steps skipped):
❌ When the workflow failed previously (steps run):
saw-jan commentedon Jan 7, 2026
@ScharfViktor, do we want this in web as well?
v-scharf commentedon Jan 7, 2026
I don't think so. e2e tests have retry=1 and are more stable than api tests