Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

ci: share smoke inputs and native artifact upload settings (#2220)

Michael D'Angelo94462cdafbe8
diff --git a/.github/workflows/native-artifacts.yml b/.github/workflows/native-artifacts.yml
index 2f2b61202..ae09d4b9b 100644
--- a/.github/workflows/native-artifacts.yml
+++ b/.github/workflows/native-artifacts.yml
@@ -49,7 +49,7 @@ jobs:
- name: Upload reused native payload for this commit
if: steps.restore.outputs.cache-hit == 'true'
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
- with:
+ with: &upload-universal-native
name: native-universal-${{ inputs.ref || github.sha }}
path: native/
if-no-files-found: error
@@ -96,12 +96,7 @@ jobs:
path: native
- name: Upload universal native payload
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
- with:
- name: native-universal-${{ inputs.ref || github.sha }}
- path: native/
- if-no-files-found: error
- overwrite: true
- retention-days: 7
+ with: *upload-universal-native
- name: Save verified native payload from main
if: >-
github.ref == 'refs/heads/main' &&
diff --git a/.github/workflows/published-install-smoke.yml b/.github/workflows/published-install-smoke.yml
index b61e7d6b9..53ee981db 100644
--- a/.github/workflows/published-install-smoke.yml
+++ b/.github/workflows/published-install-smoke.yml
@@ -11,7 +11,7 @@ on:
schedule:
- cron: "43 9 * * *"
workflow_dispatch:
- inputs:
+ inputs: &smoke-inputs
version:
description: Published npm version to verify, or latest
type: string
@@ -21,15 +21,7 @@ on:
type: string
required: false
workflow_call:
- inputs:
- version:
- description: Published npm version to verify, or latest
- type: string
- default: latest
- ref:
- description: Source commit or tag containing the smoke checks
- type: string
- required: false
+ inputs: *smoke-inputs
permissions:
contents: read
diff --git a/sdk/typescript/tests-ts/request-metadata.test.ts b/sdk/typescript/tests-ts/request-metadata.test.ts
index c54f446cf..01823a5c1 100644
--- a/sdk/typescript/tests-ts/request-metadata.test.ts
+++ b/sdk/typescript/tests-ts/request-metadata.test.ts
@@ -116,7 +116,8 @@ test("native table overrides preserve inherited literal metadata and opt-outs",
codexPath: resolveCodexCommand({}).command,
// Native descendants can hold their working directory open on Windows.
cwd: dirname(home),
- configOverrides: [context.configOverride],
+ // Marketplace sync can leave a Git process in CODEX_HOME during cleanup.
+ configOverrides: ["features.plugins=false", context.configOverride],
env: {
PATH: process.env["PATH"],
SystemRoot: process.env["SystemRoot"],