integration-tests

द्वारा openai

उस इंटीग्रेशन-टेस्ट पाइपलाइन को चलाएँ जो स्थानीय npm रजिस्ट्री (Verdaccio) पर निर्भर करती है। जब इंटीग्रेशन टेस्ट या स्थानीय प्रकाशन वर्कफ़्लो को निष्पादित करने के लिए कहा जाए तो इसका उपयोग करें…

npx skills add https://github.com/openai/openai-agents-js --skill integration-tests

Integration Tests

Overview

Run integration tests that require a local npm registry by starting pnpm local-npm:start in a background subprocess, executing the build/reset/publish/test pipeline in the main process, then cleanly shutting down the registry process and returning results.

Workflow

Codex execution environment

  • When Codex invokes this skill, run both pnpm local-npm:start and the main pipeline outside the Codex sandbox by default (sandbox_permissions=require_escalated). The integration suites install dependencies inside fixture projects with npm install, bun install, Deno, Wrangler, local emulators, Docker, and other subprocesses; running them inside the Codex sandbox can cause environment-only failures such as npm EPERM writing to ~/.npm/_cacache/tmp or Bun PermissionDenied writing to its tempdir.
  • Use sandboxed execution only when the user explicitly asks for it. If a sandboxed run fails during dependency installation or temp/cache writes, rerun the same exact pipeline outside the sandbox before classifying the failure as repo-induced.
  • Still keep the registry lifecycle local to the run: start Verdaccio before the pipeline and stop it after the pipeline, even when a failure occurs.

1. Start the local registry (subprocess)

  • Start a background process with pnpm local-npm:start and keep its session id so it can be stopped later.
  • Wait until the registry is ready (look for a Verdaccio listen message or the default http://localhost:4873 line). If no explicit ready line appears, wait a few seconds and proceed.
  • If the port is already in use, note that an existing registry may be running and proceed only if it matches the expected local registry; otherwise stop it and restart.

2. Run the main pipeline (main process)

Run this exact sequence in the main process and capture the output:

pnpm i && pnpm build:ci && pnpm local-npm:reset && pnpm local-npm:publish && OPENAI_AGENTS_RUN_STORAGE_MOUNT_INTEGRATION=1 pnpm test:integration
  • Use pnpm build:ci here so the skill validates the same serialized build path that GitHub Actions now uses, while still running the normal prebuild and postbuild lifecycle steps.

  • Run pnpm test:integration with OPENAI_AGENTS_RUN_STORAGE_MOUNT_INTEGRATION=1 so the optional sandbox storage mount coverage runs by default when this skill is used. This enables the local Azurite and MinIO smoke tests without changing the repository's plain pnpm test:integration default.

  • Return the full success/failure outcome and a concise summary of the results.

  • Always capture the stdout/stderr from pnpm test:integration and include it in the final response (trim obvious noise if extremely long) inside a fenced code block.

  • Do not use watch mode.

If pnpm local-npm:publish fails

Troubleshoot using integration-tests/README.md, which lists the canonical recovery steps. If time is short, prioritize the fixes in the order given there and surface the exact error text in your response.

3. Clean up the registry process

  • Send Ctrl+C to the registry subprocess and wait for it to exit.
  • If it does not exit, terminate it by PID and confirm the port is free before finishing.

Output expectations

  • Always include the integration test results in the response.
  • If any step fails, include the failing command, the error output summary, and the next recommended action.

openai की और Skills

user-context
openai
डेटा एनालिटिक्स प्लगइन की स्थायी स्रोत-रूटिंग प्राथमिकताएं, ऑनबोर्डिंग तर्क, सेटअप प्रगति और सिमैंटिक-लेयर रजिस्ट्री लोड या प्रबंधित करें।
official
notion-research-documentation
openai
Notion सामग्री पर शोध करें और संरचित ब्रीफ, रिपोर्ट या उद्धरणों के साथ तुलना तैयार करें। लक्षित क्वेरी का उपयोग करके Notion पेज खोजें और प्राप्त करें, फिर इनलाइन स्रोत उद्धरणों और एक संदर्भ अनुभाग के साथ विषय के अनुसार निष्कर्षों को व्यवस्थित करें। दायरे और उपयोगकर्ता लक्ष्य के आधार पर चार आउटपुट प्रारूपों (त्वरित ब्रीफ, शोध सारांश, तुलना, व्यापक रिपोर्ट) में से चुनें। अंतर्निहित टेम्पलेट का उपयोग करके Notion पेज बनाए
official
rcsb-pdb-skill
openai
कोर मेटाडेटा, सर्च API क्वेरी और FASTA डाउनलोड के लिए कॉम्पैक्ट RCSB PDB अनुरोध सबमिट करें। जब उपयोगकर्ता संक्षिप्त RCSB सारांश चाहता है तो इसका उपयोग करें; रॉ JSON या… सहेजें।
official
pdf
openai
पीडीएफ पढ़ना, निर्माण और सत्यापन दृश्य प्रतिपादन और प्रोग्रामेटिक जनरेशन के साथ। डिलीवरी से पहले लेआउट, स्पेसिंग और टाइपोग्राफी के दृश्य निरीक्षण के लिए पीडीएफ पृष्ठों को पीएनजी में रेंडर करें, Poppler (pdftoppm) का उपयोग करके। विश्वसनीय फ़ॉर्मेटिंग के लिए reportlab के साथ प्रोग्रामेटिक रूप से पीडीएफ जनरेट करें; pdfplumber या pypdf के साथ टेक्स्ट और मेटाडेटा निकालें। गुणवत्ता मानक ल
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
टर्मिनल-चालित ब्राउज़र ऑटोमेशन जिसमें एलिमेंट स्नैपशॉट और इंटरैक्टिव UI वर्कफ़्लो शामिल हैं। यह playwright-cli रैपर स्क्रिप्ट के माध्यम से संचालित होता है (npx की आवश्यकता है); हेडलेस और हेडेड मोड को विज़ुअल डिबगिंग के लिए सपोर्ट करता है। मुख्य वर्कफ़्लो: पेज खोलें, स्थिर एलिमेंट रेफरेंस के लिए स्नैपशॉट लें, रेफ्स का उपयोग करके इंटरैक्ट करें, नेविगेशन या DOM परिवर्तन के ब
official
ukb-topmed-phewas-skill
openai
एकल वेरिएंट के लिए संक्षिप्त UKB-TOPMed PheWAS सारांश प्राप्त करें, rsID, GRCh37, या GRCh38 इनपुट स्वीकार करके और आवश्यक GRCh38 क्वेरी में हल करके। उपयोग करें जब...
official
code-review-context
openai
मॉडल दृश्य संदर्भ
official