Skip to content

Commit 5bdbfc0

Browse files
committed
Stabilize app-server CI timeouts
1 parent 8470c23 commit 5bdbfc0

53 files changed

Lines changed: 62 additions & 54 deletions

Some content is hidden

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

codex-rs/app-server/tests/suite/auth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use wiremock::ResponseTemplate;
2525
use wiremock::matchers::method;
2626
use wiremock::matchers::path;
2727

28-
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
28+
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(30);
2929

3030
async fn wait_for_received_requests(server: &MockServer, expected: usize) -> Result<()> {
3131
timeout(DEFAULT_READ_TIMEOUT, async {

codex-rs/app-server/tests/suite/conversation_summary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::path::PathBuf;
1515
use tempfile::TempDir;
1616
use tokio::time::timeout;
1717

18-
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
18+
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(30);
1919
const FILENAME_TS: &str = "2025-01-02T12-00-00";
2020
const META_RFC3339: &str = "2025-01-02T12:00:00Z";
2121
const UPDATED_AT_RFC3339: &str = "2025-01-02T12:00:00.000Z";

codex-rs/app-server/tests/suite/fuzzy_file_search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::path::Path;
1111
use tempfile::TempDir;
1212
use tokio::time::timeout;
1313

14-
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
14+
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(30);
1515
const SHORT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_millis(500);
1616
const STOP_GRACE_PERIOD: std::time::Duration = std::time::Duration::from_millis(250);
1717
const SESSION_UPDATED_METHOD: &str = "fuzzyFileSearch/sessionUpdated";

codex-rs/app-server/tests/suite/v2/app_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ use tokio::net::TcpListener;
5656
use tokio::task::JoinHandle;
5757
use tokio::time::timeout;
5858

59-
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(10);
59+
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(30);
6060

6161
#[tokio::test]
6262
async fn list_apps_returns_empty_when_connectors_disabled() -> Result<()> {

codex-rs/app-server/tests/suite/v2/client_metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use std::path::Path;
1818
use tempfile::TempDir;
1919
use tokio::time::timeout;
2020

21-
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
21+
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(30);
2222

2323
#[tokio::test]
2424
async fn turn_start_forwards_client_metadata_to_responses_request_v2() -> Result<()> {

codex-rs/app-server/tests/suite/v2/collaboration_mode_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use pretty_assertions::assert_eq;
2121
use tempfile::TempDir;
2222
use tokio::time::timeout;
2323

24-
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(10);
24+
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(30);
2525

2626
/// Confirms the server returns the default collaboration mode presets in a stable order.
2727
#[tokio::test]

codex-rs/app-server/tests/suite/v2/compaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use std::collections::BTreeMap;
3838
use tempfile::TempDir;
3939
use tokio::time::timeout;
4040

41-
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
41+
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(30);
4242
const AUTO_COMPACT_LIMIT: i64 = 1_000;
4343
const COMPACT_PROMPT: &str = "Summarize the conversation.";
4444
const INVALID_REQUEST_ERROR_CODE: i64 = -32600;

codex-rs/app-server/tests/suite/v2/config_rpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use serde_json::json;
3333
use tempfile::TempDir;
3434
use tokio::time::timeout;
3535

36-
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
36+
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(30);
3737

3838
fn write_config(codex_home: &TempDir, contents: &str) -> Result<()> {
3939
Ok(std::fs::write(

codex-rs/app-server/tests/suite/v2/connection_handling_websocket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use tokio_tungstenite::tungstenite::http::HeaderValue;
4747
use tokio_tungstenite::tungstenite::http::header::AUTHORIZATION;
4848
use tokio_tungstenite::tungstenite::http::header::ORIGIN;
4949

50-
pub(super) const DEFAULT_READ_TIMEOUT: Duration = Duration::from_secs(10);
50+
pub(super) const DEFAULT_READ_TIMEOUT: Duration = Duration::from_secs(30);
5151

5252
pub(super) type WsClient = WebSocketStream<MaybeTlsStream<tokio::net::TcpStream>>;
5353
type HmacSha256 = Hmac<Sha256>;

codex-rs/app-server/tests/suite/v2/dynamic_tools.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use tempfile::TempDir;
3434
use tokio::time::timeout;
3535
use wiremock::MockServer;
3636

37-
const DEFAULT_READ_TIMEOUT: Duration = Duration::from_secs(10);
37+
const DEFAULT_READ_TIMEOUT: Duration = Duration::from_secs(30);
3838

3939
/// Ensures dynamic tool specs are serialized into the model request payload.
4040
#[tokio::test]

0 commit comments

Comments
 (0)