feat(actions): add build queue view (#38585)

Adds a read-only Actions job queue: running jobs first, then waiting
jobs in the order a runner picks them up. It is shown instance-wide in
the admin Actions section with owner, repository and status filters, and
per repository in the Actions tab. Both lists refresh in place.

Pending work is currently only visible per repository and newest-first,
so nothing shows what is queued, in which order, or what occupies the
runners. Reordering the queue will be proposed separately.

A migration adds indexes for the runner pickup query and
repository-scoped status lookups.

* Fix #34198

<img width="1345" height="451" alt="image"
src="https://github.com/user-attachments/assets/7d52ff76-81b4-44e8-b583-d7d89c9dffcd"
/>
<img width="1809" height="1134" alt="image"
src="https://github.com/user-attachments/assets/4d56c0cb-bae7-4ce2-8f3c-75163b2bc7f4"
/>

---------

Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-09-26 08:01:41 +00:00
1 parent 5a56e118e4
commit 3875db1974
30 files changed
+928 -95

No files matched your search

+7
View File
@@ -3936,6 +3936,13 @@
"actions.artifacts.back_to_run_attempt": "Back to action run #%d (attempt %d)",
"actions.need_approval_desc": "Need approval to run workflows for fork pull request.",
"actions.approve_all_success": "All workflow runs are approved successfully.",
"actions.management": "Management",
"actions.job_queue.title": "Job queue",
"actions.job_queue.runs_on": "Runs on",
"actions.job_queue.waiting_or_started": "Waiting / started",
"actions.job_queue.no_jobs": "No jobs are running or waiting to be picked up.",
"actions.job_queue.filter_owner_no_select": "All owners",
"actions.job_queue.filter_repo_no_select": "All repositories",
"actions.variables": "Variables",
"actions.variables.management": "Variables Management",
"actions.variables.creation": "Add Variable",