-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a transaction to pickTask
#33543
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copyright year should be changed in this case?
IIRC, sometimes this will not be changed in some PRs before? 🤔
Yes. I think there is no need to change it. |
Ship of Theseus https://en.wikipedia.org/wiki/Ship_of_Theseus (ps: personally I never review the "license header" changes, as long as lint passes, I do not care .......) |
I was unable to create a backport for 1.23. @Zettat123, please send one manually. 🍵
|
In the old `pickTask`, when getting secrets or variables failed, the task could get stuck in the `running` status (task status is `running` but the runner did not fetch the task). To fix this issue, these steps should be in one transaction. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* giteaofficial/main: Add a transaction to `pickTask` (go-gitea#33543) Fix context usage (go-gitea#33554)
Backport #33543 In the old `pickTask`, when getting secrets or variables failed, the task could get stuck in the `running` status (task status is `running` but the runner did not fetch the task). To fix this issue, these steps should be in one transaction. --------- Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
In the old
pickTask
, when getting secrets or variables failed, the task could get stuck in therunning
status (task status isrunning
but the runner did not fetch the task). To fix this issue, these steps should be in one transaction.