Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-controller/src/forge
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris f633963b77 swarm ui: a pull requests card on the reports tab
The reports tab gets a "pull requests" card under the issue report. It lists
the open PRs of every repo, or of one picked in a repo select, with the
columns a reviewer or merger filters on: author, labels, requested
reviewers, base branch, WIP (the forge's draft flag), approvals against the
base branch's protection rule, has all approvals, conflicts, protected base
and CI. Every column sorts, the small-set columns filter by picking values,
and the browser keeps the filters and the repo. No filter applies at first.

swarm-controller resolves each row so the page makes no calls of its own:
GET /api/pr-report and GET /api/repos/{org}/{repo}/pr-report. The required
approvals come from the first matching branch protection rule (an
unprotected base asks for none); an approval counts when it is the
reviewer's latest decision, on the current head, neither stale nor
dismissed and official.

A free-text table cell gets a minimum width, so a table with many columns
scrolls sideways instead of wrapping a title to a word a line.
2026-11-07 11:46:05 +01:00
..
agent_token.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
api.rs move stored_secret from swarm-queue-client to swarm-secret-client 2026-10-18 09:00:08 +02:00
builder_account.rs swarm-controller: the builder's forge calls re-read the token on refusal too 2026-10-14 10:16:18 +02:00
ci_metrics_account.rs push ci run metrics to victoriametrics, with a grafana board 2026-10-16 20:43:11 +02:00
classifier_account.rs review try-out: author the PR branch at the account's noreply address 2026-10-14 18:36:36 +02:00
docs_grant.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
hive_token.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
legacy_tokens.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
meta_repo.rs leave an agent with no config commit out of internal/meta; read config heads from main 2026-10-24 21:13:25 +02:00
objects.rs swarm-controller: render, lock and commit internal/meta 2026-10-24 21:13:24 +02:00
operator_profiles.rs keep the operator list under one key and read it with one direct get 2026-10-17 13:10:05 +02:00
pr_comment.rs only the controller's own comments carry the marker, and a cleared comment says resolved 2026-10-26 23:16:53 +01:00
pr_report.rs swarm ui: a pull requests card on the reports tab 2026-11-07 11:46:05 +01:00
pull_diff.rs review-classifier: say the 25-line context shows a gate only when it's within 25 lines 2026-10-15 12:43:12 +02:00
review_request.rs request the review classifier's review when a PR's head moves 2026-10-24 17:23:36 +02:00
runner_token.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
site_admin.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00