-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Support Actions concurrency
syntax
#32751
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
Merged
Merged
Changes from 37 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
d6a95ce
support concurrency
Zettat123 f713c68
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Zett…
ChristopherHX 76f58ef
fix: lint
ChristopherHX 249e315
fix: assert correct status code
ChristopherHX b012126
fix: rerun all jobs did not respect concurrency
ChristopherHX 91fccb7
Fix and Test rerun single jobs
ChristopherHX 2e6032a
Remove CancelJobsByJobConcurrency in PickTask
ChristopherHX 1a08b87
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Zett…
ChristopherHX 9bba25e
remove code
ChristopherHX e6d25e2
Merge branch 'main' of https://github.com/go-gitea/gitea into pr/Zett…
ChristopherHX dc86086
call EmitJobsIfReady when cancelling a run
Zettat123 8721155
add TestCancelConcurrentRun
Zettat123 c5444e7
improve concurrency index
Zettat123 63eaf15
modify cancel-in-progress behavior
Zettat123 96d6938
fix bugs and tests
Zettat123 ea2bc92
Merge branch 'main' into support-actions-concurrency
Zettat123 a4b76b6
update InsertRun
Zettat123 ca18672
modify cancel-in-progress behavior
Zettat123 dc003e4
fix lint
Zettat123 e45ca56
improve handling cancellation
Zettat123 5e2059a
rename migration
Zettat123 4ba788d
Merge branch 'main' into support-actions-concurrency
Zettat123 2481e83
fix migration
Zettat123 f585f90
remove blockRunByConcurrency todo for jobs
ChristopherHX 5e43aa2
fix migration to use same index as model
ChristopherHX d5f6c44
implement evaluate concurrency expression again, vars may change afte…
ChristopherHX 796d2c1
Use a single RawConcurrency in db
ChristopherHX 6a9eb9e
fix fmt
ChristopherHX 42c2ca2
add TestAbandonConcurrentRun
Zettat123 5a45b76
update to act dev version add new tests
ChristopherHX 989e274
Merge branch 'main' into support-actions-concurrency
Zettat123 15cc5c5
resolve conflicts
Zettat123 defa2fd
fix status update
Zettat123 7d5c377
Merge branch 'main' into support-actions-concurrency
Zettat123 ffe50aa
Merge branch 'main' into support-actions-concurrency
Zettat123 63d9a56
resolve conflicts
Zettat123 2dbede9
add 'IgnoreDropIndices' option to migration
Zettat123 8356dbe
only keep new index
Zettat123 ffe9597
fix comments
Zettat123 9a70f52
Merge branch 'main' into support-actions-concurrency
Zettat123 7b30080
skip chanaged jobs when cancelling jobs
Zettat123 c652810
add more comments and fix ErrUnevaluatedConcurrency
Zettat123 15c504c
fix rerun job and update test
Zettat123 3b4ad5d
remove ErrUnevaluatedConcurrency
wxiaoguang ae81158
fix comment
wxiaoguang d91ec9b
update comments
wxiaoguang 87d7f65
fix comment
wxiaoguang 84d6254
fix comment
Zettat123 bb399e6
fix lint
Zettat123 90a31d0
refactor
wxiaoguang d7dcd8b
fine tune
wxiaoguang 23c80cf
fix lint
wxiaoguang 2ad1e67
fix
wxiaoguang 02dc4fa
fix
wxiaoguang 023e6e2
use shouldBlock instead of status checking
wxiaoguang e38d886
fix test
wxiaoguang 4f5143f
fix prepare
wxiaoguang 2383132
rename variable
wxiaoguang 6d12149
fix
wxiaoguang d69d345
fine tune comment and func name
wxiaoguang dc1faf9
Merge branch 'main' into support-actions-concurrency
wxiaoguang aa419a5
Merge branch 'main' into support-actions-concurrency
GiteaBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.