\n\nThis happens on every push. It works fine on a manual run.\n\n### Steps to reproduce\n\nNo clue.\n\n### Expected behavior\n\nWorkflow run starts only one time.\n\n### System Info\n\n```shell\nWoodpecker v3.8.0\nDocker Compose v2.38.2\nDocker v28.3.2\n```\n\n### Additional context\n\ncompose logs:\n\n```\nwpci_agent | Status: Downloaded newer image for woodpeckerci/plugin-git:2.6.5\nwpci_server | {\"level\":\"error\",\"repo_id\":\"1\",\"pipeline_id\":\"21\",\"workflow_id\":\"36\",\"error\":\"stream: not found\",\"time\":\"2025-07-26T05:48:11Z\",\"message\":\"done: cannot close log stream for step 70\"}\nwpci_server | {\"level\":\"error\",\"error\":\"queue: task not found\",\"time\":\"2025-07-26T05:49:14Z\",\"message\":\"queue: evict_at_once: [38]\"}\nwpci_server | {\"level\":\"error\",\"error\":\"sql: no rows in result set\",\"time\":\"2025-07-26T05:49:14Z\",\"message\":\"queue: evict_at_once: [37]\"}\nwpci_agent | {\"level\":\"error\",\"error\":\"rpc error: code = Unknown desc = queue: task canceled\",\"time\":\"2025-07-26T05:49:14Z\",\"message\":\"grpc error: wait(): code: Unknown\"}\nwpci_agent | {\"level\":\"warn\",\"repo\":\"\u003CREPO NAME>\",\"pipeline\":\"22\",\"workflow_id\":\"37\",\"error\":\"rpc error: code = Unknown desc = queue: task canceled\",\"time\":\"2025-07-26T05:49:14Z\",\"message\":\"cancel signal received\"}\nwpci_server | {\"level\":\"error\",\"repo_id\":\"1\",\"pipeline_id\":\"22\",\"workflow_id\":\"37\",\"error\":\"sql: no rows in result set\",\"time\":\"2025-07-26T05:49:15Z\",\"message\":\"queue.Done: cannot ack workflow\"}\nwpci_server | {\"level\":\"error\",\"repo_id\":\"1\",\"pipeline_id\":\"22\",\"workflow_id\":\"37\",\"error\":\"stream: not found\",\"time\":\"2025-07-26T05:49:15Z\",\"message\":\"done: cannot close log stream for step 71\"}\nwpci_server | {\"level\":\"error\",\"repo_id\":\"1\",\"pipeline_id\":\"22\",\"workflow_id\":\"37\",\"error\":\"stream: not found\",\"time\":\"2025-07-26T05:49:15Z\",\"message\":\"done: cannot close log stream for step 72\"}\nwpci_server | {\"level\":\"error\",\"error\":\"sql: no rows in result set\",\"time\":\"2025-07-26T05:49:15Z\",\"message\":\"pull queue item: 38: failed to remove from backup\"}\nwpci_server | {\"level\":\"error\",\"repo_id\":\"1\",\"pipeline_id\":\"22\",\"workflow_id\":\"38\",\"error\":\"stream: not found\",\"time\":\"2025-07-26T05:49:15Z\",\"message\":\"done: cannot close log stream for step 73\"}\nwpci_server | {\"level\":\"error\",\"repo_id\":\"1\",\"pipeline_id\":\"22\",\"workflow_id\":\"38\",\"error\":\"stream: not found\",\"time\":\"2025-07-26T05:49:15Z\",\"message\":\"done: cannot close log stream for step 74\"}\nwpci_agent | latest: Pulling from woodpeckerci/plugin-docker-buildx\n```\n\n.woodpecker/build.yaml\n\n```yaml\nsteps:\n build:\n image: woodpeckerci/plugin-docker-buildx\n when:\n - branch: main\n event: push\n settings:\n # intentionally left out\n```\n\n.woodpecker/deploy.yaml\n\n```yaml\ndepends_on: [ build ]\n\nsteps:\n deploy:\n image: ghcr.io/appleboy/drone-ssh\n when:\n - branch: main\n event: push\n environment:\n # intentionally left out\n settings:\n # intentionally left out\n```\n\ncompose.yaml\n\n```yaml\nservices:\n\n wpci_server:\n image: woodpeckerci/woodpecker-server:v3-alpine\n container_name: wpci_server\n restart: unless-stopped\n ports:\n - 127.0.0.1:9082:9082\n volumes:\n - ./server:/var/lib/woodpecker\n environment:\n - WOODPECKER_FORGEJO=true\n - WOODPECKER_FORGEJO_URL=https://***.org\n - WOODPECKER_FORGEJO_CLIENT=***\n - WOODPECKER_FORGEJO_SECRET=***\n - WOODPECKER_OPEN=false\n - WOODPECKER_ADMIN=***\n - WOODPECKER_HOST=https://***.org\n - WOODPECKER_AGENT_SECRET=***\n - WOODPECKER_GRPC_ADDR=:9090\n - WOODPECKER_SERVER_ADDR=:9082\n - WOODPECKER_PLUGINS_PRIVILEGED=woodpeckerci/plugin-docker-buildx\n \n wpci_agent:\n image: woodpeckerci/woodpecker-agent:v3-alpine\n container_name: wpci_agent\n command: agent\n restart: unless-stopped\n depends_on:\n - wpci_server\n volumes:\n - ./agent:/etc/woodpecker\n - /var/run/docker.sock:/var/run/docker.sock\n environment:\n - WOODPECKER_SERVER=wpci_server:9090\n - WOODPECKER_AGENT_SECRET=***\n - WOODPECKER_PLUGINS_PRIVILEGED=woodpeckerci/plugin-docker-buildx\n```\n\n\n### Validations\n\n- [x] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [x] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [x] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/versions]",[3210],{"name":3152,"color":3153},5364,"Workflow run starts two times, fails one immediately","2025-07-26T06:50:04Z","https://github.com/woodpecker-ci/woodpecker/issues/5364",0.6876461,{"description":3217,"labels":3218,"number":3220,"owner":3155,"repository":3156,"state":3193,"title":3221,"updated_at":3222,"url":3223,"score":3224},"### Component\n\nserver, web-ui\n\n### Describe the bug\n\nWhen using commands & entrypoint at the same step to change the executing shell the WebUI & VSCode show a warning that the step matches multiple schemas but must match only one.\r\n\r\nI suspect the following lines https://github.com/woodpecker-ci/woodpecker/blob/42e7d71680d6dd0617e46c309c31d979babcc649/pipeline/frontend/yaml/linter/schema/schema.json#L228-L241\r\nas these only allow one of commands and entrypoint\n\n### Steps to reproduce\n\nCreate workflow with a step using commands and entrypoint\n\n### Expected behavior\n\nNo warnings should be issued as using commands and entrypoint at the same time is described in the docs to change the executing shell. ([https://woodpecker-ci.org/docs/usage/workflow-syntax#entrypoint](https://woodpecker-ci.org/docs/usage/workflow-syntax#entrypoint)\n\n### System Info\n\n```shell\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"2.7.0\"}\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]",[3219],{"name":3152,"color":3153},4064,"Schema validation failing using commands & entrypoint","2024-08-28T11:52:09Z","https://github.com/woodpecker-ci/woodpecker/issues/4064",0.6915022,{"description":3226,"labels":3227,"number":3232,"owner":3155,"repository":3156,"state":3193,"title":3233,"updated_at":3234,"url":3235,"score":3236},"### Component\r\n\r\nserver, agent\r\n\r\n### Describe the bug\r\n\r\nUser-1 have pipeline in repository `wp-test`, he [runs](https://woodpecker.test.smthd.com/repos/1/pipeline/139) `gitea-integration-test` branch:\r\n```yaml\r\nskip_clone: true\r\nservices:\r\n postgres:\r\n image: digitalocean/doks-debug\r\n commands:\r\n - echo 'This is Gitea Postgres test server' | nc -l -6 5432\r\n ports:\r\n - 5432\r\nsteps:\r\n gitea:\r\n image: digitalocean/doks-debug\r\n commands:\r\n - nc -v -6 -w 10 postgres 5432\r\n```\r\n\r\nUser-2 have pipeline below in his `wp-test-2` repository and `woodpecker-integration-test` branch:\r\n```yaml\r\nskip_clone: true\r\nservices:\r\n postgres:\r\n image: digitalocean/doks-debug\r\n commands:\r\n - echo 'This is Woodpecker Postgres test server' | nc -l -6 5432\r\n ports:\r\n - 5432\r\nsteps:\r\n wp:\r\n image: digitalocean/doks-debug\r\n commands:\r\n - nc -v -6 -w 10 postgres 5432\r\n```\r\nWhen User-1's pipeline Service and service Pod were launched, User-2 [ran his own](https://woodpecker.test.smthd.com/repos/2/pipeline/13).\r\n\r\nBugs:\r\n1. User-2's pipeline was cancelled with `error\":\"services \"postgres\" already exists`.\r\n2. User-1's Service and service Pod were deleted because User-2's pipeline cleaned up resources and the names were the same - `postgres`.\r\n\r\n### System Info\r\n\r\n```shell\r\n`next-0b5eef7d1e`, 1 Server, 1 Agent, max workflows 2.\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n[woodpecker-agent.log](https://github.com/woodpecker-ci/woodpecker/files/14075623/woodpecker-agent.log)\r\n\r\nhttps://github.com/woodpecker-ci/woodpecker/pull/3236#issuecomment-1902404296\r\n\r\n### Validations\r\n\r\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\r\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]",[3228,3229],{"name":3152,"color":3153},{"name":3230,"color":3231},"backend/kubernetes","bfdadc",3288,"Multiple flaws when running pipelines with the same service (K8s)","2024-02-17T18:45:23Z","https://github.com/woodpecker-ci/woodpecker/issues/3288",0.69554806,{"description":3238,"labels":3239,"number":3241,"owner":3155,"repository":3156,"state":3193,"title":3242,"updated_at":3243,"url":3244,"score":3245},"### Component\n\nserver\n\n### Describe the bug\n\nOne cannot use a filtered step in the depends_on clause. If you try it, the linter rejects the configuration\r\n\r\n\r\nThis prohibits the combination of parallel steps and optional steps in the same pipeline.\r\n\r\nMinimal reproducer:\r\n```\r\nsteps:\r\n - name: filtered\r\n image: alpine\r\n commands:\r\n - echo \"step 1\"\r\n when:\r\n branch:\r\n - xyz\r\n\r\n - name: unconditional\r\n image: alpine\r\n commands:\r\n - echo \"step 2\"\r\n depends_on:\r\n - filtered\r\n```\n\n### System Info\n\n```shell\nVersion 2.2.2\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]",[3240],{"name":3152,"color":3153},3278,"Filtered steps and depends_on (step)","2024-01-25T17:22:40Z","https://github.com/woodpecker-ci/woodpecker/issues/3278",0.70183164,{"description":3247,"labels":3248,"number":3255,"owner":3155,"repository":3156,"state":3193,"title":3256,"updated_at":3257,"url":3258,"score":3259},"### Clear and concise description of the problem\r\n\r\nIt's not possible to run multiple steps in one container.\r\n\r\n### Suggested solution\r\n\r\nAdd something like \"sub-steps\" that run in the same container, but are separated in UI.",[3249,3252],{"name":3250,"color":3251},"feature","180DBE",{"name":3253,"color":3254},"pipeline-config","1BE540",1269,"Sub-steps","2022-10-15T06:23:13Z","https://github.com/woodpecker-ci/woodpecker/issues/1269",0.70775115,["Reactive",3261],{},["Set"],["ShallowReactive",3264],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fNTo5ceqFOTrGxY15eouVRjiv1i0YVAyV5D1dCM6F5vY":-1},"/woodpecker-ci/woodpecker/3494"]