\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]",[3039,3042],{"name":3040,"color":3041},"bug","d73a4a",{"name":3043,"color":3044},"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":3054,"labels":3055,"number":3062,"owner":3046,"repository":3047,"state":3048,"title":3063,"updated_at":3064,"url":3065,"score":3066},"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- [ ] ...",[3056,3059],{"name":3057,"color":3058},"tests","ACEA1E",{"name":3060,"color":3061},"summary","C3DC73",3819,"Create \"backend integration test\" framework","2024-11-05T23:18:48Z","https://github.com/woodpecker-ci/woodpecker/issues/3819",0.78802824,{"description":3068,"labels":3069,"number":3073,"owner":3046,"repository":3047,"state":3048,"title":3074,"updated_at":3075,"url":3076,"score":3077},"### 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).",[3070],{"name":3071,"color":3072},"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":3079,"labels":3080,"number":3085,"owner":3046,"repository":3047,"state":3048,"title":3086,"updated_at":3087,"url":3088,"score":3089},"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.",[3081,3082],{"name":3071,"color":3072},{"name":3083,"color":3084},"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":3091,"labels":3092,"number":3094,"owner":3046,"repository":3047,"state":3095,"title":3096,"updated_at":3097,"url":3098,"score":3099},"### 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).",[3093],{"name":3040,"color":3041},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":3101,"labels":3102,"number":3104,"owner":3046,"repository":3047,"state":3095,"title":3105,"updated_at":3106,"url":3107,"score":3108},"### 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).",[3103],{"name":3071,"color":3072},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":3110,"labels":3111,"number":3113,"owner":3046,"repository":3047,"state":3095,"title":3114,"updated_at":3115,"url":3116,"score":3117},"### 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).",[3112],{"name":3040,"color":3041},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":3119,"labels":3120,"number":3128,"owner":3046,"repository":3047,"state":3095,"title":3129,"updated_at":3130,"url":3131,"score":3132},"### 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*",[3121,3122,3125],{"name":3040,"color":3041},{"name":3123,"color":3124},"server","5D7A92",{"name":3126,"color":3127},"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":3134,"labels":3135,"number":3143,"owner":3046,"repository":3047,"state":3095,"title":3144,"updated_at":3145,"url":3146,"score":3147},"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",[3136,3137,3140],{"name":3123,"color":3124},{"name":3138,"color":3139},"feature","180DBE",{"name":3141,"color":3142},"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":3149,"labels":3150,"number":3153,"owner":3046,"repository":3047,"state":3095,"title":3154,"updated_at":3155,"url":3156,"score":3157},"### 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).",[3151,3152],{"name":3040,"color":3041},{"name":3123,"color":3124},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",3159],{},["Set"],["ShallowReactive",3162],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fbCsk4uQBw07l1XDuD3E2nIQATtNDmHcYDPCZgIXR7J4":-1},"/woodpecker-ci/woodpecker/2495"]