Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .yarn/install-state.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added examples/system-test-route/.yarn/install-state.gz
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions packages/common/universalpubsub/src/driver/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use anyhow::*;
use async_trait::async_trait;
use tokio::sync::{RwLock, mpsc};
use uuid::Uuid;

Check warning on line 7 in packages/common/universalpubsub/src/driver/memory/mod.rs

View workflow job for this annotation

GitHub Actions / Test

unused import: `uuid::Uuid`

use crate::driver::{PubSubDriver, SubscriberDriver, SubscriberDriverHandle};
use crate::pubsub::DriverOutput;
Expand Down
24 changes: 23 additions & 1 deletion packages/core/pegboard-gateway/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ use futures_util::StreamExt;
use gas::prelude::*;
use http_body_util::{BodyExt, Full};
use hyper::{Request, Response, StatusCode, header::HeaderName};
use hyper_tungstenite::HyperWebsocket;
use pegboard::pubsub_subjects::{
TunnelHttpResponseSubject, TunnelHttpRunnerSubject, TunnelHttpWebSocketSubject,
};
use rivet_error::*;
use rivet_guard_core::{
WebSocketHandle,
custom_serve::CustomServeTrait,
Expand All @@ -13,8 +18,25 @@ use rivet_guard_core::{
request_context::RequestContext,
};
use rivet_runner_protocol as protocol;
use rivet_tunnel_protocol::{
MessageBody, StreamFinishReason, ToServerRequestFinish, ToServerRequestStart,
ToServerWebSocketClose, ToServerWebSocketMessage, ToServerWebSocketOpen, TunnelMessage,
versioned,
};
use rivet_util::serde::HashableMap;
use std::time::Duration;
use std::result::Result::Ok as ResultOk;
use std::{
collections::HashMap,
sync::{
Arc,
atomic::{AtomicU64, Ordering},
},
time::Duration,
};
use tokio::{
sync::{Mutex, oneshot},
time::timeout,
};
use tokio_tungstenite::tungstenite::Message;

use crate::shared_state::{SharedState, TunnelMessageData};
Expand Down
6 changes: 3 additions & 3 deletions packages/services/pegboard/src/workflows/actor/actor_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
};
use futures_util::TryStreamExt;
use gas::prelude::*;
use rivet_data::converted::ActorByKeyKeyData;
use universaldb::options::StreamingMode;
use universaldb::prelude::*;
use rivet_key_data::converted::ActorByKeyKeyData;

Check failure on line 7 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

failed to resolve: use of unresolved module or unlinked crate `rivet_key_data`
use udb_util::prelude::*;

Check failure on line 8 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

failed to resolve: use of unresolved module or unlinked crate `udb_util`
use universaldb::{self as udb, FdbBindingError, options::StreamingMode};

Check failure on line 9 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

unresolved import `universaldb::FdbBindingError`

use crate::keys;

Expand Down Expand Up @@ -81,7 +81,7 @@
name.clone(),
key.clone(),
)
.deserialize(&current_value)?;

Check failure on line 84 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

no method named `deserialize` found for struct `ReservationByKeyKey` in the current scope

handle_existing_reservation(
ctx,
Expand Down Expand Up @@ -156,7 +156,7 @@
.await?
.value;
if let Some(value) = value {
let reservation_id = reservation_key.deserialize(&value)?;

Check failure on line 159 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

no method named `deserialize` found for struct `ReservationByKeyKey` in the current scope
Ok(Some(reservation_id))
} else {
Ok(None)
Expand Down Expand Up @@ -190,7 +190,7 @@
input.name.clone(),
input.key.clone(),
);
let reservation_value = reservation_key.serialize(input.new_reservation_id)?;

Check failure on line 193 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

no method named `serialize` found for struct `ReservationByKeyKey` in the current scope

let proposal_result = ctx
.op(epoxy::ops::propose::Input {
Expand Down Expand Up @@ -247,7 +247,7 @@
mode: StreamingMode::Iterator,
..(start, end).into()
},
Serializable,

Check failure on line 250 in packages/services/pegboard/src/workflows/actor/actor_keys.rs

View workflow job for this annotation

GitHub Actions / Test

cannot find value `Serializable` in this scope
);

while let Some(entry) = stream.try_next().await? {
Expand Down
1 change: 1 addition & 0 deletions site/out/404.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/out/404/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/0925ab8d.647291f28e198838.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/1024.79a1990cf57dbcf9.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/1032.44a0edb215768790.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/1115.dee166b1ed27bd26.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/1139.64c2caae990fd3b2.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/out/_next/static/chunks/114.ead5f8be0d1a4bdb.js

Large diffs are not rendered by default.

Loading
Loading