Closed saraiva82 closed 6 months ago
If an empty workflow file is created and actions are triggered by another workflow,
Could you please show us your workflow file? It's just a empty file?
And please take a screenshot of the task detail page.
Yes the workflow file was empty like build.yml but no contents inside.
What you see on the ever-running action are the workflows that had content inside them. but when this was committed that was another workflow file added to the directory which led to this ever-running state. I then added content to that file to see if it would clear and it did not. it just runs the workflow normally. My last attempt was to delete the file altogether and that lead to a second-ever running open action. This seems to only affect the Actions UI and not the actual backend of it.
Hi @saraiva82 , I can't reproduce this issue. Could you please provide detailed steps to help us reproduce it?
If I understand clearly, the root reason is that an empty workflow file should not be triggered, but it was? Then you can not stop it or delete it. If it is, empty workflow will not be triggered in the latest version, so I think this issue has been fixed. Can you upgrade to the latest version, and check it again?
We close issues that need feedback from the author if there were no new comments for a month. :tea:
Description
If an empty workflow file is created and actions are triggered by another workflow, that empty action will show as open and running forever in the web ui. I checked if it was running in docker and it was not. I tried hitting stop on the UI and it does not work. I tried deleting the empty workflow and when my other workflow was triggered with a push, the deleted empty action triggered again and remains open. Again no docker action running in the backend. I then created the file again and populated with some job/steps and even though it ran properly, it did not remove these ghost action in the UI. Restarting gitea did not do the trick either.
I honestly did not try the demo site as there is a 3 hour wait time to activate my registration. I'll try later and update this
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
Running on Docker
How are you running Gitea?
Docker-compose with AWS RDS Postgres instance for the database
Database
PostgreSQL