Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chore(soup): increase cursor size limit (#791)
Sean Aye91837db6c507
diff --git a/rust/cloud-storage/models_pagination/src/axum.rs b/rust/cloud-storage/models_pagination/src/axum.rsindex 66ca9353a7..0beeb68e00 100644--- a/rust/cloud-storage/models_pagination/src/axum.rs+++ b/rust/cloud-storage/models_pagination/src/axum.rs@@ -43,7 +43,7 @@ pub enum CursorExtractErr {#[error(transparent)]DecodeErr(Base64SerdeErr<serde_json::Error>),/// The query was too large to deserialize- #[error("Query is too large, must be < 16kb")]+ #[error("Query is too large, must be < 32kb")]SizeErr,}@@ -65,7 +65,7 @@ impl IntoResponse for CursorExtractErr {CursorExtractErr::SizeErr => (StatusCode::BAD_REQUEST,Json(ErrorResponse {- message: "Query is too large, must be <16kb",+ message: "Query is too large, must be <32kb",}),),}@@ -99,7 +99,7 @@ whereBase64Str::new_from_string(cursor);let bytes = encoded.len();- if bytes > 16_000 {+ if bytes > 32_000 {return Err(CursorExtractErr::SizeErr);}diff --git a/rust/cloud-storage/soup/src/inbound/axum_router/tests.rs b/rust/cloud-storage/soup/src/inbound/axum_router/tests.rsindex c02421e9b1..ef51db659e 100644--- a/rust/cloud-storage/soup/src/inbound/axum_router/tests.rs+++ b/rust/cloud-storage/soup/src/inbound/axum_router/tests.rs@@ -459,7 +459,7 @@ async fn cursor_with_assoc_works() {}#[tokio::test]-async fn cursor_with_code_works() {+async fn cursor_with_all_works() {let soup = MockSoup::new();let inner_counter = soup.called.clone();let router: Router = soup_router(SoupRouterState::new(@@ -482,7 +482,7 @@ async fn cursor_with_code_works() {.body(axum::body::Body::from(serde_json::to_vec(&serde_json::json!({"document_filters": {- "file_types": ["assoc:code"]+ "file_types": ["assoc:code", "assoc:other", "assoc:image", "md", "pdf", "canvas"]}})).unwrap(),