\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]",[2865,2868],{"name":2866,"color":2867},"bug","d73a4a",{"name":2869,"color":2870},"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.7871439,{"description":2880,"labels":2881,"number":2888,"owner":2872,"repository":2873,"state":2874,"title":2889,"updated_at":2890,"url":2891,"score":2892},"and address\r\n- https://github.com/woodpecker-ci/woodpecker/issues/3503 -> #3820\r\n- https://github.com/woodpecker-ci/woodpecker/pull/3733#issuecomment-2180578290\r\n- ...\r\n\r\nTests to run:\r\n- [ ] Run workflow with steps that should only run if the step before [failed,succeded] (could help with questions like: https://github.com/woodpecker-ci/woodpecker/pull/3846#discussion_r1686246455)\r\n- [ ] Services and check if it is started before the steps who need it ...\r\n- [ ] Make sure the Queue respect **labels** and dependencies correctly\r\n- [ ] ...",[2882,2885],{"name":2883,"color":2884},"tests","ACEA1E",{"name":2886,"color":2887},"summary","C3DC73",3819,"Create \"backend integration test\" framework","2024-11-05T23:18:48Z","https://github.com/woodpecker-ci/woodpecker/issues/3819",0.78802824,{"description":2894,"labels":2895,"number":2899,"owner":2872,"repository":2873,"state":2874,"title":2900,"updated_at":2901,"url":2902,"score":2903},"### Component\n\nserver\n\n### Describe the bug\n\nWhile testing the ntfy plugin to send notifications after pipeline failure I wanted to use `CI_STEP_NAME` but it doesn't return a value. The other CI_STEP_* variables are not returning anything either.\r\n\r\nHere a example pipeline. I have added `CI_WORKFLOW_NAME` which does work.\r\n```\r\npipeline:\r\n deploy:\r\n image: alpine:latest\r\n commands:\r\n - exit 1\r\n\r\n notify_on_failure:\r\n image: codeberg.org/l-x/woodpecker-ntfy\r\n settings:\r\n url: https://ntfy.example.com/ci\r\n token:\r\n from_secret: ntfy_token\r\n title: Build failure\r\n priority: urgent\r\n icon: https://woodpecker-ci.org/img/logo.svg\r\n tags: x, robot\r\n message: >\r\n Workflow: ${CI_WORKFLOW_NAME}\r\n Step name: ${CI_STEP_NAME}\r\n Step status: ${CI_STEP_STATUS}\r\n Step started: ${CI_STEP_STARTED}\r\n Step finished: ${CI_STEP_FINISHED}\r\n when:\r\n status: [ failure ]\r\n```\n\n### System Info\n\n```shell\nVersion: next-02913fa7\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/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 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).",[2896],{"name":2897,"color":2898},"enhancement","7E1FE4",1760,"`CI_STEP_*` environment variables do not return values","2024-10-05T23:54:48Z","https://github.com/woodpecker-ci/woodpecker/issues/1760",0.8096536,{"description":2905,"labels":2906,"number":2911,"owner":2872,"repository":2873,"state":2874,"title":2912,"updated_at":2913,"url":2914,"score":2915},"we currently don't have a concept how to translate/interpreter the services into \"local backend\" and just ignore them.\r\n\r\nwe should have it that way so it works very similar to what the user know with docker or kube backend.",[2907,2908],{"name":2897,"color":2898},{"name":2909,"color":2910},"backend/local","bfdadc",3095,"Implement services for local backend","2025-02-10T13:40:24Z","https://github.com/woodpecker-ci/woodpecker/issues/3095",0.81210023,{"description":2917,"labels":2918,"number":2920,"owner":2872,"repository":2873,"state":2921,"title":2922,"updated_at":2923,"url":2924,"score":2925},"### Component\n\nother\n\n### Describe the bug\n\nIn the Go client PipelineQueue expects an Activity list\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/woodpecker-go/woodpecker/client.go#L254\r\n\r\nBut GetPipelineQueue in the server returns a Feed list\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/server/store/datastore/feed.go#L42\r\n\r\nActivity and Feed does not match\r\n\r\nActivity\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/woodpecker-go/woodpecker/types.go#L143\r\n\r\nFeed\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/server/model/feed.go#L19\r\n\r\nEither both server and go client should use the same file as model, or CI should ensure that they stay compatible.\n\n### System Info\n\n```shell\nnext\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).",[2919],{"name":2866,"color":2867},2679,"closed","Go client expects PipelineQueue to return Activity list, but it returns Feed list","2023-11-01T09:43:57Z","https://github.com/woodpecker-ci/woodpecker/issues/2679",0.76710796,{"description":2927,"labels":2928,"number":2930,"owner":2872,"repository":2873,"state":2921,"title":2931,"updated_at":2932,"url":2933,"score":2934},"### Component\n\nagent\n\n### Describe the bug\n\nBy default netrc credentials (i.e. git credentials) are not injected into builds unless\r\n\r\n- the repo is set to trusted (which can only be done by admins)\r\n- \"Only inject netrc credentials into trusted containers\" is unchecked\r\n\r\nHowever, the latter does not work as executing a \"git push\" back to the checked out repo does not work when **the option is unchecked**.\r\nIt only works if the repo is set to \"trusted\" - which cannot be enabled by a normal user.\r\n\r\nShowcasing this in an example repo is hard as normal users cannot open the settings of a repo.\r\nI've tested this multiple times in an example repo toggling different options on and off and running a simple `git push` at the end (after a dummy modification).\r\n\r\nAlso I think the current docs are wrong\r\n\r\n> Cloning pipeline step may need git credentials. They are injected via netrc. By default, they're only injected if this option is enabled, the repo is trusted ([see above](#trusted)) or the image is a trusted clone image. If you uncheck the option, git credentials will be injected into any container in clone step.\r\n\r\nI think it should read as:\r\n\r\n\"By default, they're only injected if this option is enabled **and** the repo is trusted - or if the \"inject\" option is unchecked.\"\r\n\r\nAlso \"git credentials will be injected into any container in clone step\" -> should probably be \"into any container **in addition** to the 'clone' step\". \n\n### System Info\n\n```shell\n`next-8629a418f8`\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).",[2929],{"name":2897,"color":2898},2583,"Injecting netrc credentials into non-trusted containers does not work","2024-11-10T15:42:36Z","https://github.com/woodpecker-ci/woodpecker/issues/2583",0.778601,{"description":2936,"labels":2937,"number":2939,"owner":2872,"repository":2873,"state":2921,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Component\n\nserver, web-ui\n\n### Describe the bug\n\nJust open Chrome developer tools window and navigate to https://ci.woodpecker-ci.org.\r\n\r\nerror message\r\n`Refused to apply style from 'https://ci.woodpecker-ci.org/assets/custom.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.`\r\n\r\n\r\n\n\n### System Info\n\n```shell\n* Chrome latest version (as of 2023-10-01)\r\n* Woodpecker next-7d2bf54685\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).",[2938],{"name":2866,"color":2867},2514,"when no custom css/js is defined, wrong mimetype causes Chrome to complain","2023-10-03T10:28:22Z","https://github.com/woodpecker-ci/woodpecker/issues/2514",0.7867431,{"description":2945,"labels":2946,"number":2954,"owner":2872,"repository":2873,"state":2921,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### Component\r\n\r\nserver\r\n\r\n### Describe the bug\r\n\r\nAfter upgrading the server from `v0.15` to `v1.0` woodpecker only returns 404 and the following entries are continuously written to the log output\r\n\r\n```\r\n{\r\n \"level\":\"fatal\",\r\n \"error\":\"error to create migrations table: pq: relation \\\"UQE_migrations_name\\\" already exists\",\r\n \"time\":\"2023-07-26T22:49:03Z\",\r\n \"message\":\"could not migrate datastore\"\r\n}\r\n```\r\n\r\nNo other changes were made besides the update of the docker image.\r\n\r\n### System Info\r\n\r\n```shell\r\n- docker-compose version - 1.29.2\r\n- Docker Engine version - 23.0.5\r\n\r\nContainers:\r\n- docker.io/woodpeckerci/woodpecker-server:v1.0\r\n- registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.6-2 (PG-14)\r\n\r\nENV Settings:\r\n\r\nWOODPECKER_OPEN=True\r\nWOODPECKER_SERVER_ADDR=0.0.0.0:8000\r\nWOODPECKER_GRPC_ADDR=0.0.0.0:9000\r\nWOODPECKER_ADMIN=admin\r\nWOODPECKER_DOCKER_CONFIG=\r\nWOODPECKER_LOG_LEVEL=info\r\nWOODPECKER_HOST=https://woodpecker.my.tld\r\nWOODPECKER_SESSION_EXPIRES=24h\r\nWOODPECKER_AGENT_SECRET=xxxxxx\r\nWOODPECKER_DATABASE_DRIVER=postgres\r\nWOODPECKER_DATABASE_DATASOURCE=postgres://xxxxxx:xxxxxx@db/woodpecker?sslmode=disable&application_name=woodpecker\r\nWOODPECKER_GITEA=True\r\nWOODPECKER_GITEA_URL=https://forgejo.my.tld\r\nWOODPECKER_GITEA_CLIENT=xxxxxx\r\nWOODPECKER_GITEA_SECRET=xxxxxx\r\n```\r\n\r\n\r\n### Additional context\r\n\r\ntrace log:\r\n```\r\n{\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/server.go:82\",\r\n \"message\":\"LogLevel = trace\"\r\n}\r\n{\r\n \"level\":\"trace\",\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:232\",\r\n \"message\":\"Forge (gitea) opts: gitea.Opts{URL:\\\"https://forgejo.my.tld\\\", Client:\\\"xxxxxx\\\", Secret:\\\"xxxxxx\\\", SkipVerify:false}\"\r\n}\r\n{\r\n \"level\":\"trace\",\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:87\",\r\n \"message\":\"setup datastore: store.Opts{Driver:\\\"postgres\\\", Config:\\\"postgres://xxxxxx:xxxxxx@db/woodpecker?sslmode=disable&application_name=woodpecker\\\", XORM:store.XORM{Log:false, ShowSQL:false}}\"\r\n}\r\n{\r\n \"level\":\"fatal\",\r\n \"error\":\"error to create migrations table: pq: relation \\\"UQE_migrations_name\\\" already exists\",\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:94\",\r\n \"message\":\"could not migrate datastore\"\r\n}\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.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).\r\n\r\n----\r\n*upstream issue: https://gitea.com/xorm/xorm/issues/2317*",[2947,2948,2951],{"name":2866,"color":2867},{"name":2949,"color":2950},"server","5D7A92",{"name":2952,"color":2953},"dependencies","006b75",2038,"pq: relation \"UQE_migrations_name\" already exists","2023-12-19T02:30:47Z","https://github.com/woodpecker-ci/woodpecker/issues/2038",0.7904682,{"description":2960,"labels":2961,"number":2969,"owner":2872,"repository":2873,"state":2921,"title":2970,"updated_at":2971,"url":2972,"score":2973},"like the agent:\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/205f8ecc1649ab48a9d5fb52b0ecd7b8c24abf4f/docker/Dockerfile.agent.multiarch#L21\r\n\r\nref https://docs.docker.com/engine/reference/builder/#healthcheck\r\n\r\nTODO:\r\n- [ ] add subcommand to server that can test against https://github.com/woodpecker-ci/woodpecker/blob/205f8ecc1649ab48a9d5fb52b0ecd7b8c24abf4f/server/router/router.go#L69\r\n- [ ] use subcommand in container",[2962,2963,2966],{"name":2949,"color":2950},{"name":2964,"color":2965},"feature","180DBE",{"name":2967,"color":2968},"good first issue","76ea72",1943,"Add an healthcheck to server container","2023-07-25T13:55:31Z","https://github.com/woodpecker-ci/woodpecker/issues/1943",0.795725,{"description":2975,"labels":2976,"number":2979,"owner":2872,"repository":2873,"state":2921,"title":2980,"updated_at":2981,"url":2982,"score":2983},"### Component\n\nserver\n\n### Describe the bug\n\nAfter migration form 0.15.11 After migration from 0.15.11 during start of server, we get this error:\r\n\r\n```\r\nwodpecker-server_1 | {\"time\":\"2023-08-01T07:07:19Z\",\"message\":\"LogLevel = info\"}\r\nwoodpecker-server_1 | {\"level\":\"error\",\"error\":\"Migrating logs to log_entries is skipped, as we have 49180 entries to convert. Set 'WOODPECKER_MIGRATIONS_ALLOW_LONG' to 'true' to migrate anyway\",\"time\":\"2023-08-01T07:07:19Z\",\"message\":\"migration task 'migrate-logs-to-log_entries' failed but is not required\"}\r\nwoodpecker-server_1 | {\"level\":\"info\",\"time\":\"2023-08-01T07:07:19Z\",\"message\":\"Starting Woodpecker server with version '1.0.0'\"}\r\n\r\n```\r\nSetting WOODPECKER_MIGRATIONS_ALLOW_LONG to true does nothing. \r\n\n\n### System Info\n\n```shell\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"1.0.0\"}\r\n\r\n\r\nversion: '3'\r\n\r\nservices:\r\n woodpeckerdb:\r\n image: postgres:14.5-alpine\r\n restart: always\r\n environment:\r\n POSTGRES_DB: xxxxx\r\n POSTGRES_USER: xxx\r\n POSTGRES_PASSWORD: xxx\r\n TZ: Europe/Zagreb\r\n volumes:\r\n - ./_data/db/postgres:/var/lib/postgresql/data\r\n \r\n woodpecker-server:\r\n #image: woodpeckerci/woodpecker-server:v0.15.11-alpine\r\n image: woodpeckerci/woodpecker-server:v1.0.0-alpine\r\n restart: always\r\n depends_on:\r\n - woodpeckerdb\r\n volumes:\r\n - ./_data/woodpecker:/var/lib/woodpecker\r\n environment:\r\n - WOODPECKER_OPEN=true\r\n - WOODPECKER_OPEN=true\r\n - WOODPECKER_HOST=https://ci.domain.local\r\n - WOODPECKER_AGENT_SECRET=xxxx\r\n - WOODPECKER_GITEA=true\r\n - WOODPECKER_GITEA_URL=https://gitea.domain.local\r\n - WOODPECKER_GITEA_CLIENT=085e34c6-a362-42d2-9344-d4ab5f556bb4\r\n - WOODPECKER_GITEA_SECRET=gto_53npywpjlwwp4planwetxa2ixqbjloh4rq37sl6dfwqqzlej547q\r\n - WOODPECKER_AUTHENTICATE_PUBLIC_REPOS=true\r\n - WOODPECKER_BACKEND_DOCKER_NETWORK=fronted_network\r\n - WOODPECKER_DATABASE_DRIVER=postgres\r\n - WOODPECKER_DATABASE_DATASOURCE=postgres://woodpecker:woodpecker@woodpeckerdb:5432/woodpeckerdb?sslmode=disable\r\n - WOODPECKER_MIGRATIONS_ALLOW_LONG=true\r\n```\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).",[2977,2978],{"name":2866,"color":2867},{"name":2949,"color":2950},2079,"After migration from 0.15.11 getting error \"error\":\"Migrating logs to log_entries is skipped, as we have 49180 entries to convert on app start","2023-08-21T07:29:47Z","https://github.com/woodpecker-ci/woodpecker/issues/2079",0.7966922,["Reactive",2985],{},["Set"],["ShallowReactive",2988],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fbCsk4uQBw07l1XDuD3E2nIQATtNDmHcYDPCZgIXR7J4":-1},"/woodpecker-ci/woodpecker/2495"]