\r\n\n\n### Steps to reproduce\n\n.\n\n### Expected behavior\n\n_No response_\n\n### System Info\n\n```shell\n\"next-d126cf9e35\"\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]",[3020,3023],{"name":3021,"color":3022},"bug","d73a4a",{"name":3024,"color":3025},"ui","46DEA2",4677,"woodpecker-ci","woodpecker","open","`tag` pipelines are missing avatar and commit title","2025-01-12T06:19:42Z","https://github.com/woodpecker-ci/woodpecker/issues/4677",0.72013944,{"description":3035,"labels":3036,"number":3040,"owner":3027,"repository":3028,"state":3029,"title":3041,"updated_at":3042,"url":3043,"score":3044},"`woodpecker-ci/woodpecker`:\r\n - rename `BOT_PRIVATE_KEY` to sth like `GITHUB_SSH_PRIVATE_KEY`\r\n - ~~remove `docker_username` and use clear text user~~ #2625 \r\n - ~~remove `QUAY_IO_USER` and use clear text user~~ #2625 \r\n - replace `dockerhub_token` with ",[3037],{"name":3038,"color":3039},"build","6AB8BA",2589,"Cleanup woodpecker secrets","2024-04-02T08:06:52Z","https://github.com/woodpecker-ci/woodpecker/issues/2589",0.75138676,{"description":3046,"labels":3047,"number":3052,"owner":3027,"repository":3028,"state":3029,"title":3053,"updated_at":3054,"url":3055,"score":3056},"### Component\r\n\r\nserver, agent\r\n\r\n### Describe the bug\r\n\r\nThis is mainly a summary issue of https://github.com/woodpecker-ci/woodpecker/issues/833, https://github.com/woodpecker-ci/woodpecker/issues/2062, https://github.com/woodpecker-ci/woodpecker/issues/2911\rand #4349\n\r\nI've been trying to debug this without real success.\r\n\r\nI've been using the local backend, and can do the following observations:\r\n- cancel pipeline while running: completely broken. The commands are finished, the step is marked as success, the pipeline too (https://github.com/woodpecker-ci/woodpecker/issues/2911)\r\n- cancelling a pending pipeline seems to work for me\r\n\r\nOn ci.woodpecker-ci.org, I can see (uses docker backend):\r\n- cancel pending pipeline, agent is available: the pipeline starts anyways (this probably is #2062)\r\n- cancel running pipeline: works in general, but new status is failing but should be killed\r\n\r\n### System Info\r\n\r\n```shell\r\nnext\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\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]\r\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[3048,3049],{"name":3021,"color":3022},{"name":3050,"color":3051},"summary","C3DC73",2875,"Fix pipeline cancelling","2024-12-08T12:10:57Z","https://github.com/woodpecker-ci/woodpecker/issues/2875",0.75466937,{"description":3058,"labels":3059,"number":3068,"owner":3027,"repository":3028,"state":3029,"title":3069,"updated_at":3070,"url":3071,"score":3072},"We could have a workspace preparation docker image that would be run as root and do necessary tasks to prepare everything so that the skip clone would work and also clone steps could be run as non-root images?\n\nMaybe even a woodpecker server could act as docker registry to serve container image for this so that it would work in instances that have no internet connection\n\n_Originally posted by @lafriks in https://github.com/woodpecker-ci/woodpecker/pull/5056#issuecomment-2784618118_",[3060,3063,3066],{"name":3061,"color":3062},"server","5D7A92",{"name":3064,"color":3065},"backend/docker","bfdadc",{"name":3067,"color":3065},"backend/kubernetes",5082,"Add workspace preparation hidden step before clone steps","2025-04-07T21:24:54Z","https://github.com/woodpecker-ci/woodpecker/issues/5082",0.75951535,{"description":3074,"labels":3075,"number":3082,"owner":3027,"repository":3028,"state":3083,"title":3084,"updated_at":3085,"url":3086,"score":3087},"### Clear and concise description of the problem\r\n\r\nFor example, automatic detection doesn't work for Podman. This causes strange errors like `git executable doesn't exist` in the `clone` step.\r\nThis issue was posted on Matrix, but there was something like that before, as I remember.\r\n\r\n### Suggested solution\r\n\r\nDisable automatic fallback to the `local` backend.\r\n\r\n### Alternative\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Checked that the feature isn't part of the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\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 request the same feature to avoid creating a duplicate.",[3076,3079],{"name":3077,"color":3078},"agent","ECBCDF",{"name":3080,"color":3081},"breaking","A1B83C",3996,"closed","Disable auto-fallback to Local backend","2024-08-07T10:04:12Z","https://github.com/woodpecker-ci/woodpecker/issues/3996",0.67837185,{"description":3089,"labels":3090,"number":3092,"owner":3027,"repository":3028,"state":3083,"title":3093,"updated_at":3094,"url":3095,"score":3096},"### Component\n\nserver\n\n### Describe the bug\n\nIf connection broken while you are running pipeline manually, you'll get `unknown` error and panic on Server.\n\n### Steps to reproduce\n\n1. Run Forge\r\n2. Run Woodpecker server, log in\r\n3. Open some repository\r\n4. Click `Run pipeline`\r\n5. Turn off Forge / scale down to 0 / disallow WP-Forge connection via firewall\r\n6. Close `Trigger a manual pipeline run` dialog by pressing `Run pipeline` button\r\n7. See unknown error and not closed overlay\r\n[Error](https://github.com/user-attachments/assets/f71d13a4-2e9f-40b1-b49c-1f8e0e3be855)\r\n9. Check server logs and find `panic recovered`\r\n[server-panic.log](https://github.com/user-attachments/files/16317552/server-panic.log)\r\n\n\n### Expected behavior\n\n1. Should not be panic on server\r\n2. As dialog closes, overlay should disappear also\r\n3. More meaningful error than `unknown`\n\n### System Info\n\n```shell\n`2.7.0`, Gitea\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]",[3091],{"name":3021,"color":3022},3943,"Improve error on manual run when connection with Forge lost","2024-08-07T07:31:19Z","https://github.com/woodpecker-ci/woodpecker/issues/3943",0.72557026,{"description":3098,"labels":3099,"number":3102,"owner":3027,"repository":3028,"state":3083,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### Component\n\nweb-ui\n\n### Describe the bug\n\npipeline file like this\r\n\r\n```yml\r\n---\r\nlabels:\r\n platform: linux/amd64\r\n backend: local\r\n\r\nsteps:\r\n hello:\r\n image: bash\r\n commands:\r\n - uname -a\r\n - pwd\r\n - ls -AFlh\r\n - echo \"hello world 你好\"\r\n - touch hello.txt\r\n - echo $${PATH}\r\n\r\n 测试:\r\n image: bash\r\n commands:\r\n - uname -a\r\n - pwd\r\n - ls -AFlh\r\n - echo \"hello world 你好 测试\"\r\n\r\n```\r\n\r\nbut display wrong in webui\r\n\r\n\r\n\n\n### System Info\n\n```shell\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"1.0.3\"}\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\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]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[3100,3101],{"name":3021,"color":3022},{"name":3024,"color":3025},2609,"pipeline config display utf-8 character wrong","2024-01-03T09:39:05Z","https://github.com/woodpecker-ci/woodpecker/issues/2609",0.72683674,{"description":3108,"labels":3109,"number":3110,"owner":3027,"repository":3028,"state":3083,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Clear and concise description of the problem\n\nIt seems there's no API endpoint to sync repos? Would be great to have one. \r\n\r\n\n\n### Suggested solution\n\nAdd an API endpoint to sync new repos. \n\n### Alternative\n\n_No response_\n\n### Additional context\n\nI have some need for it within some automation which \r\n\r\n1. syncs new repos\r\n2. enables repos\r\n3. triggers a build by an automated commit\r\n\r\nApologies if I have overlooked the obvious - but I couldn't get it working even when invoking other endpoints (with the aim of triggering an implicit sync). \n\n### Validations\n\n- [X] Checked that the feature isn't part of the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md).\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 request the same feature to avoid creating a duplicate.",[],1973,"Do we need a syncing repos via API? [-> no]","2023-07-12T09:04:10Z","https://github.com/woodpecker-ci/woodpecker/issues/1973",0.7345999,{"description":3116,"labels":3117,"number":3119,"owner":3027,"repository":3028,"state":3083,"title":3120,"updated_at":3121,"url":3122,"score":3123},"### Component\n\nserver, web-ui\n\n### Describe the bug\n\nHi, \r\n\r\nIf I try to create a secret from the webUI, a global or a user secret, it fails with \"unkown error\"\r\n\r\nI tried next and 2.0.0-rc0, with and without WOODPECKER_ENCRYPTION_KEY set. \r\nI tried sqlite and postgres backend, deleting the whole DB between tests. Same result each time. \r\n\r\nI switched to 1.0.3, works like a charm !\n\n### System Info\n\n```shell\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"1.0.3\"}\r\n\r\nPostgres image : ghcr.io/cloudnative-pg/postgresql:16.0 ( 3 nodes cluster in k8s )\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\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]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[3118],{"name":3021,"color":3022},2821,"Can NOT create secret from the webUI","2023-11-23T06:46:03Z","https://github.com/woodpecker-ci/woodpecker/issues/2821",0.7367784,{"description":3125,"labels":3126,"number":3130,"owner":3027,"repository":3028,"state":3083,"title":3131,"updated_at":3132,"url":3133,"score":3134},"### Clear and concise description of the problem\r\n\r\nAt the moment, the only way to set a global environment variable is to change the configuration of the service itself and restart the Woodpecker application. [See here](https://woodpecker-ci.github.io/docs/usage/environment#global-environment-variables)\r\n\r\nAn example of where I would find this incredibly useful is for image names. Let say that I use one specific docker image throughout a number of projects and I know ahead of time that, periodically, I may need to change that image name. It would be great to easily do so without having to restart the entire Woodpecker platform.\r\n\r\n### Suggested solution\r\n\r\nI propose, in the spirit of #7 and #345 that there be Global and/or Project level environment variables and the corresponding UI editor. These environment variables could be stored in the database and would then be easily made available to all projects.\r\n\r\n### Alternative\r\n\r\n At the moment, the closest solution to this would be to create a secret per-project and then map that to the environment variable, but this comes with limitations. With the fact that secrets are, by design, secret.. there would be no way to easily see what the current value of that secret is. For anything that isn't actually a secret, this would be counter-productive. \r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://woodpecker-ci.github.io/docs/intro).\r\n- [X] Check that there isn't already an [issue](https://github.com/woodpecker-ci/woodpecker/issues) that request the same feature to avoid creating a duplicate.",[3127],{"name":3128,"color":3129},"feature","180DBE",362,"Global Environment Variable UI editor","2023-04-30T01:29:10Z","https://github.com/woodpecker-ci/woodpecker/issues/362",0.74791765,["Reactive",3136],{},["Set"],["ShallowReactive",3139],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fYsLp8YKtHNW1s80KIOfTKMfBrmzj-RwSWDDWwNWdntE":-1},"/woodpecker-ci/woodpecker/3819"]