chore: cargo fmt --all — clean up a2a merge's fmt violations
ci / gates (push) Successful in 7s
ci / rust (push) Failing after 49s
ci / frontend (push) Successful in 52s
ci / e2e (push) Has been skipped
ci / publish (push) Successful in 3m6s

The a2a merge (d0d8e7f) landed with a handful of pre-existing rustfmt
diffs that were failing `cargo fmt --all --check` in CI. Pure whitespace
reformatting from `cargo fmt --all`; no semantic changes. Files touched:
mcp_door.rs, quota.rs, routes/a2a.rs, routes/world.rs, runtime_provision.rs,
chat_repos.rs test, and tools/chat.rs.
This commit is contained in:
Omar Sobh
2026-07-05 18:54:15 -07:00
parent 812bc29db6
commit ebb5b5780b
7 changed files with 103 additions and 39 deletions
+1 -4
View File
@@ -69,10 +69,7 @@ pub async fn enforce_new_agent(
}
/// Reject enqueueing another topology run if the workspace is at its plan cap.
pub async fn enforce_new_run(
state: &AppState,
workspace_id: WorkspaceId,
) -> Result<(), ApiError> {
pub async fn enforce_new_run(state: &AppState, workspace_id: WorkspaceId) -> Result<(), ApiError> {
let plan = plan_of(state, workspace_id).await?;
let quota = plan_quota(&plan);
let used = cm_db::repo::topology_runs::count_active(&state.pool, workspace_id).await?;