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 531cc6bf91 swarm-controller: the builder's forge calls re-read the token on refusal too
#5177 added five forge requests under the controller's token that went
straight to the forgejo client: the commit status in
`Client::create_commit_status`, and in `forge/builder_account.rs` the
hives-team add, the user read, the repo-creation lockdown and the team
membership read. Each now goes through `Api::call`, so a 401 re-reads
the token from the store and sends the request once more, like the
other controller forge calls.

The read-back of the builder's newly minted token in
`ensure_builder_forge_token` stays a direct client: it sends the
builder's own token, not the controller's, the same as the read-backs
in `agent_token`, `classifier_account` and `hive_token`.
2026-10-14 10:16:18 +02: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 swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +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
classifier_account.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +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
objects.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +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