Skip to content

Use Git repositories as pre-tool hook test markers - #36411

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/71c54ef525b08e1d592f69c8b88eed1ee6403e4f
Aug 1, 2026
Merged

Use Git repositories as pre-tool hook test markers#36411
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/71c54ef525b08e1d592f69c8b88eed1ee6403e4f

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 1, 2026

Copy link
Copy Markdown

Use Git repositories as pre-tool hook test markers

What changed

  • Run git init to mark command execution in the affected pre-tool hook tests.
  • Keep marker repositories in per-test temporary directories and assert against
    their .git directories.
  • Check git version output when a code-mode hook rewrites a nested command.
## What changed

- Run `git init` to mark command execution in the affected pre-tool hook tests.
- Keep marker repositories in per-test temporary directories and assert against
  their `.git` directories.
- Check `git version` output when a code-mode hook rewrites a nested command.

GitOrigin-RevId: 71c54ef525b08e1d592f69c8b88eed1ee6403e4f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/71c54ef525b08e1d592f69c8b88eed1ee6403e4f branch from e2f4bdb to 4c219fd Compare August 1, 2026 01:04
@copyberry
copyberry Bot merged commit 4c219fd into main Aug 1, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/71c54ef525b08e1d592f69c8b88eed1ee6403e4f branch August 1, 2026 01:06
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants