Skip to content

Commit 4d3726e

Browse files
MasterPtatoNathanFlurryjog1t
authored
chore: fix api gen (#2921)
* chore(pegboard): consolidate to single subscriber per gateway * chore(ups): add postgres auto-reconnect * chore(ups): handle edge cases with postgres listen/unlisten/notify when disconnected/reconnecting * ci: switch to depot * chore(runner): handle async actor stop * fix(epoxy): fix Any quorum type not reaching any node * fix(engine/fe): remove addresses * feat(pegboard): outbound runners * feat(ns): implement namespace updates, global cache purge * fix: configure runner config per runner name * chore: remove port name * fix(udb): revamp udb api * chore: cleanup, move ee changes * fix(api): fix query serialization for remote req * fix(epoxy): fix sending msgs to self * fix(api): fix creating actors in other dcs * chore(util): increase max ident len * chore(runner): add alarms api * chore: fix api gen --------- Co-authored-by: Nathan Flurry <[email protected]> Co-authored-by: Kacper Wojciechowski <[email protected]> Co-authored-by: Nathan Flurry <[email protected]>
1 parent 2bcaf13 commit 4d3726e

File tree

72 files changed

+1486
-341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1486
-341
lines changed

out/openapi.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/api-public/src/actors/create.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use rivet_api_client::request_remote_datacenter;
99
use rivet_api_types::actors::create::{CreateRequest, CreateResponse};
1010
use rivet_types::actors::CrashPolicy;
1111
use serde::{Deserialize, Serialize};
12-
use utoipa::{IntoParams, ToSchema};
12+
use utoipa::IntoParams;
1313

1414
#[derive(Debug, Serialize, Deserialize, IntoParams)]
1515
#[serde(deny_unknown_fields)]

packages/core/api-public/src/router.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ use crate::{actors, datacenters, namespaces, runners, ui};
2929
namespaces::runner_configs::delete,
3030
datacenters::list,
3131
))]
32+
#[openapi(components(schemas(namespace::keys::RunnerConfigVariant)))]
3233
pub struct ApiDoc;
3334

3435
pub async fn router(

packages/services/namespace/src/keys.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ impl<'de> TupleUnpack<'de> for ByNameKey {
194194

195195
#[derive(Clone, Copy, Debug, Serialize, Deserialize, strum::FromRepr, ToSchema)]
196196
#[serde(rename_all = "snake_case")]
197+
#[schema(as = NamespacesRunnerConfigVariant)]
197198
pub enum RunnerConfigVariant {
198199
Serverless = 0,
199200
}

sdks/go/api-full/client/client.go

Lines changed: 12 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/namespaces.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/namespaces/client.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/namespaces_runner_configs.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/namespacesrunnerconfigs/client.go

Lines changed: 133 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)