gitea/routers
Lunny Xiao da33b708af
Add a transaction to `pickTask` (#33543) (#33563)
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>
2025-02-12 11:53:56 +08:00
..
api Add a transaction to `pickTask` (#33543) (#33563) 2025-02-12 11:53:56 +08:00
common Fix bleve fuzziness search (#33078) (#33087) 2025-01-02 21:45:14 +00:00
install Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
private Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Fix context usage (#33554) (#33557) 2025-02-11 19:46:27 +08:00
init.go Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) (#32964) 2024-12-24 00:37:11 +08:00