Skip to content

Commit a5dffdd

Browse files
committed
feat(pegboard): add local image cache and overlay fs mounts
1 parent c33d751 commit a5dffdd

87 files changed

Lines changed: 2600 additions & 1677 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"builds": {
3-
"ws-isolate": {
4-
"script": "src/isolate/main.ts"
5-
},
3+
// "ws-isolate": {
4+
// "script": "src/isolate/main.ts"
5+
// },
66
"ws-container": {
7-
"dockerfile": "Dockerfile"
7+
"dockerfile": "Dockerfile",
8+
// "unstable": {
9+
// "compression": "none"
10+
// }
811
}
912
}
1013
}

packages/common/api-helper/build/src/macro_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ pub fn __deserialize_query<T: DeserializeOwned + Send>(route: &Url) -> GlobalRes
237237
}
238238

239239
#[doc(hidden)]
240-
#[tracing::instrument(skip_all, name="setup_ctx")]
240+
#[tracing::instrument(skip_all, name = "setup_ctx")]
241241
pub async fn __with_ctx<
242242
A: auth::ApiAuth + Send,
243243
DB: chirp_workflow::db::Database + Sync + 'static,

packages/common/chirp-workflow/core/src/db/fdb_sqlite_nats/debug.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ use std::{
1515
use tracing::Instrument;
1616
use uuid::Uuid;
1717

18-
use super::{
19-
keys,
20-
sqlite::SqlStub,
21-
DatabaseFdbSqliteNats,
22-
};
18+
use super::{keys, sqlite::SqlStub, DatabaseFdbSqliteNats};
2319
use crate::{
2420
db::debug::{
2521
ActivityError, ActivityEvent, DatabaseDebug, Event, EventData, HistoryData, LoopEvent,

packages/common/chirp-workflow/core/src/db/fdb_sqlite_nats/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,10 @@ impl Database for DatabaseFdbSqliteNats {
12771277
async move {
12781278
let pool = &self
12791279
.pools
1280-
.sqlite(crate::db::sqlite_db_name_internal(partial.workflow_id), false)
1280+
.sqlite(
1281+
crate::db::sqlite_db_name_internal(partial.workflow_id),
1282+
false,
1283+
)
12811284
.await?;
12821285

12831286
// Handle error during sqlite init

packages/common/clickhouse-inserter/src/error.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ use thiserror::Error;
22

33
#[derive(Debug, Error)]
44
pub enum Error {
5-
#[error("failed to send event to ClickHouse inserter")]
6-
ChannelSendError,
5+
#[error("failed to send event to ClickHouse inserter")]
6+
ChannelSendError,
77

8-
#[error("serialization error: {0}")]
9-
SerializationError(#[source] serde_json::Error),
8+
#[error("serialization error: {0}")]
9+
SerializationError(#[source] serde_json::Error),
1010

11-
#[error("failed to build reqwest client: {0}")]
12-
ReqwestBuildError(#[source] reqwest::Error),
11+
#[error("failed to build reqwest client: {0}")]
12+
ReqwestBuildError(#[source] reqwest::Error),
1313

14-
#[error("failed to spawn background task")]
15-
TaskSpawnError,
16-
}
14+
#[error("failed to spawn background task")]
15+
TaskSpawnError,
16+
}

0 commit comments

Comments
 (0)