Skip to content

Use AbsolutePathBuf in skill loading and codex_home#17407

Open
pakrym-oai wants to merge 11 commits intomainfrom
pakrym/full-ci-skill-loading-absolute-paths
Open

Use AbsolutePathBuf in skill loading and codex_home#17407
pakrym-oai wants to merge 11 commits intomainfrom
pakrym/full-ci-skill-loading-absolute-paths

Conversation

@pakrym-oai
Copy link
Copy Markdown
Collaborator

@pakrym-oai pakrym-oai commented Apr 11, 2026

Helps with FS migration later

@pakrym-oai pakrym-oai changed the title Use AbsolutePathBuf in skill loading Use AbsolutePathBuf in skill loading and codex_home Apr 11, 2026
@pakrym-oai pakrym-oai marked this pull request as ready for review April 11, 2026 04:47
@pakrym-oai
Copy link
Copy Markdown
Collaborator Author

@codex review

@pakrym-oai
Copy link
Copy Markdown
Collaborator Author

@codex review this

Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4584735e78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

let empty_cli_overrides: &[(String, toml::Value)] = &[];
for cwd in cwds {
let cwd_abs = match AbsolutePathBuf::try_from(cwd.as_path()) {
let cwd_abs = match AbsolutePathBuf::from_absolute_path_checked(cwd.as_path()) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve relative cwd support in ListSkills handler

Use cwd normalization that accepts relative paths. Op::ListSkills takes Vec<PathBuf>, but this now calls AbsolutePathBuf::from_absolute_path_checked, which rejects relative cwd values and returns an error entry instead of scanning skills. Before this change, relative paths were normalized (via try_from/from_absolute_path). This is a behavior regression for callers that pass relative cwd inputs.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant