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
atlas 2fc0166427 swarm-controller: record the review classifier's runs and list them
Every run is recorded when it ends: a try-out when its reply settles it,
a requested review once its review is posted or the post fails, and a
request turned away by a full queue once its comment is posted. A
duplicate request that starts nothing is not recorded. The newest 100
are one JSON array under `recent` in a new controller-owned KV bucket,
`review-classifier-runs`, written with compare-and-set as
`schedule-definitions` is (five attempts). A failed write is logged; the
review is already posted by then.

Each recorded run is also one info event, "review classifier run
finished", with the record's fields as tracing fields. The controller
logs natively to the journal, so they reach VictoriaLogs as F_<NAME>.

GET /api/review-classifier/runs returns the list, newest first, gated
by the gateway like the try-out GET. post_classifier_review now returns
the posted review's html_url, which the record keeps as review_url.

Closes #5153, part of #5096.
2026-10-12 21:48:51 +02:00
..
agent_token.rs swarm-controller: bound forge calls in job executors 2026-10-09 21:00:59 +02:00
classifier_account.rs swarm-controller: record the review classifier's runs and list them 2026-10-12 21:48:51 +02:00
docs_grant.rs swarm-controller: read review rules through the git tree and blob API 2026-10-12 14:54:59 +02:00
hive_token.rs swarm-controller: bound forge calls in job executors 2026-10-09 21:00:59 +02:00
legacy_tokens.rs swarm-controller: read review rules through the git tree and blob API 2026-10-12 14:54:59 +02:00
objects.rs swarm-controller: bound forge calls in job executors 2026-10-09 21:00:59 +02:00
runner_token.rs swarm-controller: bound forge calls in job executors 2026-10-09 21:00:59 +02:00
site_admin.rs swarm-controller: make an existing forge user a site admin 2026-09-25 08:29:56 +02:00