Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: move the forge concern into its own module

Refs #6897
This commit is contained in:
atlas 2026-11-27 15:47:00 +01:00 • committed by mara
commit a9df331469
33 changed files with 44 additions and 37 deletions

View file

@ -20,12 +20,12 @@ async-nats = { workspace = true, features = ["kv"] }
axum.workspace = true
# Builds every forgejo-api client (`forge/`), so the construction lives once.
forge-client.workspace = true
# swarm-controller's own forge client (`forge.rs`) — self-contained,
# swarm-controller's own forge client (`git_forge/forge.rs`) — self-contained,
# deliberately not sharing code with `hive-c0re::forge` across the crate
# boundary (see #3306's design discussion: forcing that split now, over a
# few idempotent CRUD-ish calls, is premature plumbing).
forgejo-api.workspace = true
# `forge.rs` encodes file content for its `repo_change_files` calls and
# `git_forge/forge.rs` encodes file content for its `repo_change_files` calls and
# decodes blobs it reads: forgejo's content and blob APIs carry base64,
# never raw bytes.
base64.workspace = true
@ -64,7 +64,7 @@ hive-jobq-metrics.workspace = true
opentelemetry.workspace = true
opentelemetry_sdk.workspace = true
opentelemetry-otlp.workspace = true
# The forge webhook HMAC (`webhook.rs`). Kept in this crate rather than
# The forge webhook HMAC (`git_forge/webhook.rs`). Kept in this crate rather than
# shared with hive-c0re's equivalent: c0re's copy is scheduled to be deleted
# with its webhook routes once registration moves here, so the second holder
# is departing, not arriving — see that module's docs.
@ -72,7 +72,7 @@ hmac.workspace = true
sha2.workspace = true
# The `{SHA}` htpasswd line `archive_access.rs` writes for the archive server.
sha1.workspace = true
# `forge/pull_diff.rs` diffs a PR's changed files itself, at a context width
# `git_forge/forge/pull_diff.rs` diffs a PR's changed files itself, at a context width
# the forge's own `.diff` does not offer.
similar.workspace = true
# The `Permission` names `/api/agents/{name}/permissions` accepts, the same
@ -84,7 +84,7 @@ similar.workspace = true
# defense-in-depth, not the only gate (per an argus review finding).
hive-types.workspace = true
# `auth`'s bridge client — same crate the bridge itself uses to define the
# request/response shape, so the two ends cannot drift. `forge.rs` also
# request/response shape, so the two ends cannot drift. `git_forge/forge.rs` also
# uses this directly for `StatusCode` in its error-classification helpers.
#
# `blocking` on top of the workspace default: `vcs_metrics`'s OTLP exporter

Some files were not shown because too many files have changed in this diff Show more