Skip to content

Quote the textconv fixture path in the session-commands scenario - #725

Merged
omkhar merged 1 commit into
mainfrom
fixup/session-commands-textconv-quoting
Sep 9, 2026
Merged

Quote the textconv fixture path in the session-commands scenario#725
omkhar merged 1 commit into
mainfrom
fixup/session-commands-textconv-quoting

Conversation

@omkhar

@omkhar omkhar commented Sep 9, 2026

Copy link
Copy Markdown
Owner

The tmpdir hostile-environment axis roots the scenario workspace under a TMPDIR that contains a space, a literal $HOME, and a backtick command substitution. PR #724 fixed the git external clean filter for this axis but left the sibling diff textconv fixture with the same defect, so the tmpdir axis still failed on shared/session-commands.

Git runs a textconv command through a shell. The scenario registered diff.workcell.textconv with an unquoted absolute path and wrote textconv.sh with a double-quoted marker path. Under the hostile TMPDIR the shell word-splits the path and runs the backtick as a command, so the textconv invocation fails.

This quotes both sites, mirroring the filter fix in #724: the textconv.sh marker touch now uses single quotes, and the diff.workcell.textconv value stores a single-quoted path. Scenario intent is unchanged.

Verified: bash -n and shellcheck clean. The full scenario runs only in the container tmpdir axis; the other three axes already pass.

… a hostile TMPDIR (git runs textconv via sh; the tmpdir axis path has a space and backtick; mirrors the filter fix in #724)
@omkhar

omkhar commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T01:56:35.652251Z 85bdc79 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 85bdc798a4

ℹ️ 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".

@omkhar
omkhar merged commit a2e30fa into main Sep 9, 2026
16 of 18 checks passed
@omkhar
omkhar deleted the fixup/session-commands-textconv-quoting branch September 9, 2026 02:10
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