Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fe4f6f9
Register agent identities behind use_agent_identity
adrian-openai Apr 9, 2026
b56a0bc
Update Bazel lockfile for agent identity deps
adrian-openai Mar 24, 2026
ea8ec87
Defer agent identity registration until auth exists
adrian-openai Apr 9, 2026
ca85b94
Align agent identity registration auth
adrian-openai Apr 10, 2026
b126a28
Fix agent identity registration tests
adrian-openai Apr 10, 2026
4c07356
Fix agent identity registration rebase
adrian-openai Apr 11, 2026
458a631
Fix login auth argument comment
adrian-openai Apr 11, 2026
60dcc02
Use ChatGPT base URL for agent identity registration
adrian-openai Apr 13, 2026
a3cf34c
Fix agent identity secret path for Bazel
adrian-openai Apr 13, 2026
5589186
Persist agent identity in auth state
adrian-openai Apr 13, 2026
d4138f3
Register agent tasks behind use_agent_identity
adrian-openai Apr 9, 2026
d1615cf
Use canonical agent task registration URL
adrian-openai Mar 24, 2026
880ab30
Register agent tasks behind use_agent_identity
adrian-openai Mar 24, 2026
0f559ef
Align agent task registration auth
adrian-openai Apr 10, 2026
4c13a4e
Fix agent identity task rebase
adrian-openai Apr 11, 2026
c3cf027
Update Bazel lockfile for agent identity task deps
adrian-openai Apr 11, 2026
3a36781
Revalidate cached agent identity tasks
adrian-openai Apr 11, 2026
f47c658
Use ChatGPT base URL for agent task registration
adrian-openai Apr 13, 2026
c66f085
Fix agent task registration clippy
adrian-openai Apr 13, 2026
1176180
Persist agent task state and stabilize CI
adrian-openai Apr 14, 2026
1991c2b
Use AgentAssertion downstream behind use_agent_identity
adrian-openai Mar 24, 2026
372d226
Fix agent identity argument comment lint
adrian-openai Mar 24, 2026
ac7aed1
Fix agent assertion bridge lint
adrian-openai Apr 11, 2026
bb25177
Fix agent assertion client test lint
adrian-openai Apr 11, 2026
7569184
Fix codex-api argument comment lint
adrian-openai Apr 11, 2026
0062ded
Fix agent assertion task fixtures
adrian-openai Apr 11, 2026
6b25092
Harden proxy dump test against partial writes
adrian-openai Apr 13, 2026
041795a
Fix agent assertion tests for auth-backed identities
adrian-openai Apr 13, 2026
42c6583
Adapt AgentAssertion fixtures to task shape
adrian-openai Apr 14, 2026
a87e178
Refresh stale agent tasks lazily
adrian-openai Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions MODULE.bazel.lock

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

75 changes: 72 additions & 3 deletions codex-rs/Cargo.lock

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

2 changes: 2 additions & 0 deletions codex-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,15 @@ color-eyre = "0.6.3"
constant_time_eq = "0.3.1"
crossbeam-channel = "0.5.15"
crossterm = "0.28.1"
crypto_box = { version = "0.9.1", features = ["seal"] }
csv = "1.3.1"
ctor = "0.6.3"
derive_more = "2"
diffy = "0.4.2"
dirs = "6"
dotenvy = "0.15.7"
dunce = "1.0.4"
ed25519-dalek = { version = "2.2.0", features = ["pkcs8"] }
encoding_rs = "0.8.35"
env-flags = "0.1.1"
env_logger = "0.11.9"
Expand Down
4 changes: 3 additions & 1 deletion codex-rs/app-server-protocol/src/protocol/thread_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ impl ThreadHistoryBuilder {
RolloutItem::EventMsg(event) => self.handle_event(event),
RolloutItem::Compacted(payload) => self.handle_compacted(payload),
RolloutItem::ResponseItem(item) => self.handle_response_item(item),
RolloutItem::TurnContext(_) | RolloutItem::SessionMeta(_) => {}
RolloutItem::TurnContext(_)
| RolloutItem::SessionMeta(_)
| RolloutItem::SessionState(_) => {}
}
}

Expand Down
1 change: 1 addition & 0 deletions codex-rs/app-server/src/transport/remote_control/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ fn remote_control_auth_dot_json(account_id: Option<&str>) -> AuthDotJson {
account_id: account_id.map(str::to_string),
}),
last_refresh: Some(chrono::Utc::now()),
agent_identity: None,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ mod tests {
account_id: Some("account_id".to_string()),
}),
last_refresh: Some(Utc::now()),
agent_identity: None,
}
}

Expand Down
1 change: 1 addition & 0 deletions codex-rs/app-server/tests/common/auth_fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ pub fn write_chatgpt_auth(
openai_api_key: None,
tokens: Some(tokens),
last_refresh,
agent_identity: None,
};

save_auth(codex_home, &auth, cli_auth_credentials_store_mode).context("write auth.json")
Expand Down
1 change: 1 addition & 0 deletions codex-rs/app-server/tests/suite/v2/app_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ async fn list_apps_returns_empty_with_api_key_auth() -> Result<()> {
openai_api_key: Some("test-api-key".to_string()),
tokens: None,
last_refresh: None,
agent_identity: None,
},
AuthCredentialsStoreMode::File,
)?;
Expand Down
2 changes: 1 addition & 1 deletion codex-rs/app-server/tests/suite/v2/client_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::path::Path;
use tempfile::TempDir;
use tokio::time::timeout;

const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(20);

#[tokio::test]
async fn turn_start_forwards_client_metadata_to_responses_request_v2() -> Result<()> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use pretty_assertions::assert_eq;
use tempfile::TempDir;
use tokio::time::timeout;

const DEFAULT_TIMEOUT: Duration = Duration::from_secs(10);
const DEFAULT_TIMEOUT: Duration = Duration::from_secs(20);

/// Confirms the server returns the default collaboration mode presets in a stable order.
#[tokio::test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use tokio_tungstenite::tungstenite::http::HeaderValue;
use tokio_tungstenite::tungstenite::http::header::AUTHORIZATION;
use tokio_tungstenite::tungstenite::http::header::ORIGIN;

pub(super) const DEFAULT_READ_TIMEOUT: Duration = Duration::from_secs(10);
pub(super) const DEFAULT_READ_TIMEOUT: Duration = Duration::from_secs(20);

pub(super) type WsClient = WebSocketStream<MaybeTlsStream<tokio::net::TcpStream>>;
type HmacSha256 = Hmac<Sha256>;
Expand Down
2 changes: 1 addition & 1 deletion codex-rs/app-server/tests/suite/v2/initialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use std::time::Duration;
use tempfile::TempDir;
use tokio::time::timeout;

const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
const DEFAULT_READ_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(20);

#[tokio::test]
async fn initialize_uses_client_info_name_as_originator() -> Result<()> {
Expand Down
Loading
Loading