Skip to content

test(sdk): preserve the env utility name in inventory fixtures - #2678

Merged
mldangelo-oai merged 2 commits into
mainfrom
mdangelo/codex/ubuntu-inventory-env-name
Nov 16, 2026
Merged

mldangelo-oai merged 2 commits into
mainfrom
mdangelo/codex/ubuntu-inventory-env-name

Conversation

@mldangelo-oai

@mldangelo-oai mldangelo-oai commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Two SDK inventory tests failed on Ubuntu 26.04 before the fixture’s ripgrep wrapper could run. The fixture invoked /usr/bin/env through a symlink named launch-env. The runner’s multicall executable uses its invoked name to select the utility.

Changes

Name the fixture’s symlink env and keep it in the temporary directory. The tests still check that the wrapper runs and that the checkout’s shadow executables are never invoked. This extracts the one-file test fix from #2671.

Testing

  • Built the bundled plugin and ran both affected Bun tests on macOS. Both passed, with all 12 assertions.
  • Ran the complete inventory suite with Bun 1.4.4, seed 12345, and the native artifact for the base commit. On macOS, 155 passed and 25 platform-specific cases were skipped. The run used Homebrew Node via CODEX_MCP_NODE_PATH so the launcher could load the CI-built native addon.
  • Checked the changed file with Prettier and ran git diff --check.
  • The same two tests failed on main’s Ubuntu 26.04 job. The original patch passed the same shard on Ubuntu 26.04.

Risk and rollout

This changes one name in a test fixture. It can be applied independently to branches that run the SDK inventory suite.

Public disclosure review

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

@github-actions github-actions Bot added the skip-release-notes Omit internal changes from generated release notes label Nov 15, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T06:23:45.831544Z 703c178 New commits
🔒 Security Review ✅ Completed 2026-11-16T06:24:07.528244Z 703c178 New commits
ℹ️ 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.

mldangelo-oai added a commit to LKL-ZREO/codex-security that referenced this pull request Nov 15, 2026
mldangelo-oai added a commit to Muzzy5150/codex-security that referenced this pull request Nov 15, 2026
mldangelo-oai added a commit to AmarGhugare/codex-security that referenced this pull request Nov 15, 2026
mldangelo-oai added a commit to JoaoMarcos44/codex-security that referenced this pull request Nov 15, 2026
mldangelo-oai added a commit to sylvesterkaczmarek/codex-security that referenced this pull request Nov 15, 2026
mldangelo-oai added a commit that referenced this pull request Nov 15, 2026
Bring in the two-case Ubuntu inventory test correction from #2678.

(cherry picked from commit 5ce7e7c)
mldangelo-oai added a commit to LittleYier/codex-security that referenced this pull request Nov 16, 2026

@alandelong-oai alandelong-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Using env as the symlink name preserves multicall dispatch. The fixture still exercises the wrapper and checks that checkout-local shadow executables stay unused.

mldangelo-oai added a commit to Shizoqua/codex-security that referenced this pull request Nov 16, 2026
@mldangelo-oai
mldangelo-oai merged commit 38206d7 into main Nov 16, 2026
52 checks passed
@mldangelo-oai
mldangelo-oai deleted the mdangelo/codex/ubuntu-inventory-env-name branch November 16, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release-notes Omit internal changes from generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants