Use AbsolutePathBuf in skill loading and codex_home (#17407)

Helps with FS migration later
This commit is contained in:
pakrym-oai
2026-04-13 10:26:51 -07:00
committed by GitHub
parent d25a9822a7
commit ac82443d07
86 changed files with 850 additions and 625 deletions

View File

@@ -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());