analytics: add parent turn id to thread init events

This commit is contained in:
Mark Steinbrick
2026-05-16 12:27:59 -07:00
parent 98129fb9c5
commit 321cee9c87
42 changed files with 426 additions and 55 deletions
+1
View File
@@ -476,6 +476,7 @@ async fn thread_lifecycle_params_include_legacy_sandbox_when_no_active_profile()
let cwd = tempdir().expect("create temp cwd");
let config = ConfigBuilder::default()
.codex_home(codex_home.path().to_path_buf())
.loader_overrides(LoaderOverrides::without_managed_config_for_tests())
.harness_overrides(ConfigOverrides {
sandbox_mode: Some(SandboxMode::DangerFullAccess),
..Default::default()
+2 -2
View File
@@ -81,7 +81,7 @@ async fn test_apply_patch_tool() -> anyhow::Result<()> {
test.cmd_with_server(&server)
.arg("--skip-git-repo-check")
.arg("-s")
.arg("danger-full-access")
.arg("workspace-write")
.arg("foo")
.assert()
.success();
@@ -132,7 +132,7 @@ async fn test_apply_patch_freeform_tool() -> anyhow::Result<()> {
test.cmd_with_server(&server)
.arg("--skip-git-repo-check")
.arg("-s")
.arg("danger-full-access")
.arg("workspace-write")
.arg("foo")
.assert()
.success();