-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Batch-load related data in actions run, job, and task API endpoints #37032
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 all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
28044de
Batch-load related data in actions run, job, and task API endpoints
myers 4c02528
Skip redundant LoadAttributes in convert layer when batch-loaded
myers 0b1ed61
Add LoadJobAttributes to avoid loading steps in list endpoints
myers 1ad4af2
remove over-defensive code
wxiaoguang 6f96faf
fix wrong response, fix wrong link
wxiaoguang fab9df3
fix more
wxiaoguang 8664e1e
fix
wxiaoguang 809649e
merge tests
wxiaoguang d3292f3
Set run.Repo before LoadAttributes in ToActionWorkflowRun
myers 7001ad1
Merge remote-tracking branch 'origin/main' into fix/actions-api-n-plus-1
myers 4cd9fe9
Merge remote-tracking branch 'myers/fix/actions-api-n-plus-1' into fi…
myers 63c31cb
Accept repo parameter in ToActionWorkflowRun to avoid redundant load
myers cc862a6
Fix test race by deferring PrepareTestEnv cleanup
myers e3efe3e
Revert "Accept repo parameter in ToActionWorkflowRun to avoid redunda…
myers 79afaec
Guard against missing run in ActionJobList.LoadRuns
myers 096ad61
Return 500 not 404 when a job has no run or repository
myers b681623
Merge branch 'main' into fix/actions-api-n-plus-1
silverwind 8da8495
Skip LoadRepos/LoadOwners when ListRuns is repo-scoped
silverwind 1b87e0d
Merge branch 'main' into fix/actions-api-n-plus-1
wxiaoguang 09e720b
fix merge
wxiaoguang ff137f4
fix
wxiaoguang fb0161a
fix
wxiaoguang 285deba
fix
wxiaoguang 838ba0f
fix
wxiaoguang bebf60a
clean up
wxiaoguang 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
Some comments aren't visible on the classic Files Changed page.
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
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
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
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
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
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.