\n\nAnd here is the outcome on BitBucket:\n\u003Cimg width=\"479\" height=\"182\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/11c2a65d-cbf2-4162-9805-3d035bdac04e\" />\n\n\n### Steps to reproduce\n\n1. Run Woodpecker with BitBucket Cloud forge\n2. Create a pipeline that uses a matrix\n3. Let the pipeline finish on Woodpecker\n4. Observe the build statuses on the commit in BitBucket\n\n### Expected behavior\n\nBoth pipelines should show completed.\n\n### System Info\n\n```shell\nWoodpecker version: v3.8.0\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/versions]",[3082],{"name":3072,"color":3073},5338,"Build status not completing on matrix pipelines with BitBucket","2025-07-17T18:03:12Z","https://github.com/woodpecker-ci/woodpecker/issues/5338",0.798453,{"description":3089,"labels":3090,"number":3092,"owner":3050,"repository":3051,"state":3093,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Component\n\nserver\n\n### Describe the bug\n\n#4667 changes prometheus metric collection to only happen if `WOODPECKER_METRICS_SERVER_ADDR` is set. However, that flag controls if woodpecker stands up an _unauthenticated_ listener for metrics, while there is still the default _authenticated_ route mounted automatically on port 8000. Additionally, `woodpecker_pipeline_count` is still collected and exported, as well as the default go prometheus metrics, which also appears to contradict the point of the change in #4667. That PR should probably just be reverted and metrics collected unconditionally.\n\n### Steps to reproduce\n\n1. start the server with a standard configuration, but without `WOODPECKER_METRICS_SERVER_ADDR` set.\n2. note that the authenticated /metrics endpoint does not include most prometheus metrics.\n\n### Expected behavior\n\n1. the authenticated /metrics endpoint includes documented prometheus metrics.\n\n### System Info\n\n```shell\n`{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"3.6.0\"}`\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/versions]",[3091],{"name":3072,"color":3073},5210,"closed","Metrics are not collected if WOODPECKER_METRICS_SERVER_ADDR is not set","2025-05-28T23:28:34Z","https://github.com/woodpecker-ci/woodpecker/issues/5210",0.760345,{"description":3099,"labels":3100,"number":3102,"owner":3050,"repository":3051,"state":3093,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### Component\n\nserver\n\n### Describe the bug\n\nHello,\n\nI'm migrating from drone, and everything is mostly working as it should, but: whenever my workflow starts, it starts two times and fails the first one immediately. The second one finishes correctly. The error shown says `Post \"http://%2Fvar%2Frun%2Fdocker.sock/v1.51/containers/wp_01K10Y619E7X4N0J638B3R001S/start\": context canceled`. \n\nI tried merging the workflow files into one and also deleting my old `.drone.yml`, but that doesn't make a difference.\n\n\u003Cimg width=\"1009\" height=\"211\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/274f9884-8a0e-4681-b207-7f6085890c1b\" />\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]",[3101],{"name":3072,"color":3073},5364,"Workflow run starts two times, fails one immediately","2025-07-26T06:50:04Z","https://github.com/woodpecker-ci/woodpecker/issues/5364",0.77278525,{"description":3108,"labels":3109,"number":3110,"owner":3050,"repository":3051,"state":3093,"title":3111,"updated_at":3112,"url":3113,"score":3114},"\u003C!-- PLEASE READ BEFORE DELETING\r\n\r\nBugs or Issues? Please do not open a GitHub issue until you have\r\ndiscussed and verified with community support:\r\n\r\n https://discourse.drone.io/\r\n\r\nFailing Builds? Please do not use GitHub issues for generic support\r\nquestions. Instead please use Stack Overflow:\r\n\r\n http://stackoverflow.com/questions/tagged/drone.io\r\n\r\n-->\r\n\r\nRemove the original drone.io GitHub templates",[],135,"Feature request","2020-08-28T10:59:04Z","https://github.com/woodpecker-ci/woodpecker/issues/135",0.77699757,{"description":3116,"labels":3117,"number":3119,"owner":3050,"repository":3051,"state":3093,"title":3120,"updated_at":3121,"url":3122,"score":3123},"It looks like the Drone API has an endpoint where you POST to `/repos/\u003C>/\u003C>/builds` and the thing does the whoozit.\r\n\r\nThis would be very helpful, but I'm guessing it was implemented sometime after the fork. If I'm right, rather than just overlooking something, it might be worth implementing at some other endpoint. Personally, I see where putting it at \"POST to /builds\" saved time and trouble, but I think it's a little counterintuitive 🤷♂️ ",[3118],{"name":3061,"color":3062},240,"Create build from API?","2022-09-27T09:05:02Z","https://github.com/woodpecker-ci/woodpecker/issues/240",0.78187025,{"description":3125,"labels":3126,"number":1024,"owner":3050,"repository":3051,"state":3093,"title":3127,"updated_at":3128,"url":3129,"score":3130},"\u003C!-- PLEASE READ BEFORE DELETING\r\n\r\nBugs or Issues? Please do not open a GitHub issue until you have\r\ndiscussed and verified with community support:\r\n\r\n https://discourse.drone.io/\r\n\r\nFailing Builds? Please do not use GitHub issues for generic support\r\nquestions. Instead please use Stack Overflow:\r\n\r\n http://stackoverflow.com/questions/tagged/drone.io\r\n\r\n-->\r\n",[],"Go 1.12","2019-04-24T11:12:09Z","https://github.com/woodpecker-ci/woodpecker/issues/21",0.7819628,{"description":3132,"labels":3133,"number":3138,"owner":3050,"repository":3051,"state":3093,"title":3139,"updated_at":3140,"url":3141,"score":3142},"source: https://codeberg.org/Codeberg-CI/feedback/issues/27\r\n\r\n```\r\nsqlite> select build_status,build_created,build_started,build_finished from builds where build_repo_id = 4053 AND build_number=57;\r\nbuild_status build_created build_started build_finished\r\n------------ ------------- ------------- --------------\r\nfailure 1637414240 1637414240 0 \r\nsqlite> select build_status,build_created,build_started,build_finished from builds where build_repo_id = 4053 AND build_number=59;\r\nbuild_status build_created build_started build_finished\r\n------------ ------------- ------------- --------------\r\nsuccess 1637428693 1637428694 1637429120\r\n```",[3134,3135],{"name":3072,"color":3073},{"name":3136,"color":3137},"server","5D7A92",705,"If pipelin fail, finish time is not saved to database","2022-01-31T14:38:39Z","https://github.com/woodpecker-ci/woodpecker/issues/705",0.7851703,["Reactive",3144],{},["Set"],["ShallowReactive",3147],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fwLS5mwZiBPObs4vW11zlN_wqBITKXHYypcuz6u4e2hU":-1},"/woodpecker-ci/woodpecker/26"]