mirror of
https://github.com/openai/codex.git
synced 2026-04-28 00:25:56 +00:00
Use AbsolutePathBuf in skill loading and codex_home (#17407)
Helps with FS migration later
This commit is contained in:
@@ -83,7 +83,7 @@ async fn new_thread_is_recorded_in_state_db() -> Result<()> {
|
||||
|
||||
let metadata = metadata.expect("thread should exist in state db");
|
||||
assert_eq!(metadata.id, thread_id);
|
||||
assert_eq!(metadata.rollout_path, rollout_path);
|
||||
assert_eq!(metadata.rollout_path, rollout_path.to_path_buf());
|
||||
assert!(
|
||||
rollout_path.exists(),
|
||||
"rollout should be materialized after first user message"
|
||||
@@ -208,7 +208,7 @@ async fn backfill_scans_existing_rollouts() -> Result<()> {
|
||||
|
||||
let metadata = metadata.expect("backfilled thread should exist in state db");
|
||||
assert_eq!(metadata.id, thread_id);
|
||||
assert_eq!(metadata.rollout_path, rollout_path);
|
||||
assert_eq!(metadata.rollout_path, rollout_path.to_path_buf());
|
||||
assert_eq!(metadata.model_provider, default_provider);
|
||||
assert!(metadata.first_user_message.is_some());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user