mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
test: verify default exec thread source in persisted metadata
This commit is contained in:
@@ -102,7 +102,6 @@ fn parses_config_isolation_flags() {
|
||||
|
||||
assert!(cli.ignore_user_config);
|
||||
assert!(cli.ignore_rules);
|
||||
assert_eq!(cli.thread_source, None);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -199,6 +199,7 @@ async fn exec_resume_last_appends_to_existing_file() -> anyhow::Result<()> {
|
||||
.expect("rollout should contain session metadata"),
|
||||
)?;
|
||||
assert_eq!(meta["payload"]["history_mode"], "paginated");
|
||||
assert_eq!(meta["payload"]["thread_source"], "user");
|
||||
|
||||
// 2) Second run: resume the most recent file with a new marker.
|
||||
let marker2 = format!("resume-last-2-{}", Uuid::new_v4());
|
||||
|
||||
Reference in New Issue
Block a user