Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
8b5ccde
fix(ci): switch OpenAPI SDK publishing to OIDC trusted publishing
aegeiger Jun 4, 2026
be093d4
chore(client-sdks): switch integration tests from stainless to openap…
aegeiger Jun 4, 2026
aad8e49
fix(client-sdks): fix dict serialization in multipart requests
aegeiger Jun 4, 2026
ea75151
fix(client-sdks): add streaming delta variant for tool call deseriali…
aegeiger Jun 4, 2026
4246d0c
fix(client-sdks): handle enum deserialization in anyOf validator for …
aegeiger Jun 4, 2026
bfb8d4d
fix(tests): fix vision inference integration test bugs
aegeiger Jun 4, 2026
c0351d4
fix(ci): switch SDK validation workflow to use ogx_open_client
aegeiger Jun 4, 2026
5205afd
fix(client-sdks): add stainless-compatible API response shims for lib…
aegeiger Jun 4, 2026
081b2a1
fix(client-sdks): support extra_body merging and fix dict attribute m…
aegeiger Jun 4, 2026
876eff6
fix(client-sdks): ensure data field ordering for list response iteration
aegeiger Jun 4, 2026
c56a1c6
Recordings update from CI
github-actions[bot] Jun 4, 2026
f1b33a9
fix(tests): handle missing originals in patched_prepare_request grace…
aegeiger Jun 4, 2026
fab3a09
fix(client-sdks): route OGXAsLibraryClient requests in-process via ca…
aegeiger Jun 4, 2026
cad56ef
fix(tests): use duck-typing for rerank response assertions
aegeiger Jun 4, 2026
764860f
fix(client-sdks): add api_key attribute to OgxClient for stainless SD…
aegeiger Jun 4, 2026
4a20fca
chore(deps): update ogx_open_client
aegeiger Jun 4, 2026
2653add
refactor(inference/openai): simplify construct_model_from_identifier …
mattf Jun 4, 2026
1206e31
docs: JOSS paper proposal (#6008)
franciscojavierarceo Jun 4, 2026
d3863ed
fix(docs): refresh community invite links. (#6028)
franciscojavierarceo Jun 4, 2026
3eb5c60
fix: use SecretStr for search provider api_key fields (#6013)
mattf Jun 4, 2026
9690317
chore: Enable Hugging Face model caching for Vector IO integration te…
Copilot Jun 5, 2026
b8efa4d
test(messages): add live Claude Agent SDK smoke test against /v1/mess…
cdoern Jun 5, 2026
99c4178
fix(cli): strip /v1 suffix from ANTHROPIC_BASE_URL in ogx connect cla…
nathan-weinberg Jun 5, 2026
6b9a8f6
docs: JOSS paper updates (#6039)
franciscojavierarceo Jun 5, 2026
40eb48a
docs: JOSS paper updates (#6040)
franciscojavierarceo Jun 5, 2026
e140854
fix(ci): treat cancelled checks as non-failures in CI status aggregat…
franciscojavierarceo Jun 5, 2026
b96329c
fix(anthropic): raise NotImplementedError for /v1/completions endpoin…
derekhiggins Jun 5, 2026
d2edcb3
feat(skills): add Skills API surface, data models, and provider regis…
varshaprasad96 Jun 5, 2026
9126fe3
feat(cli): auto-detect embedding model to enable vector stores and fi…
mattf Jun 6, 2026
c377c74
feat(web search): normalize search provider secret precedence to matc…
mattf Jun 6, 2026
7483252
feat(cli): add batches provider to ogx letsgo auto-detection (#6027)
mattf Jun 6, 2026
878a77d
fix: rename vector_dbs to vector_stores in distribution template (#6012)
eoinfennessy Jun 7, 2026
64ccd26
fix(client-sdks): guard call_api patch for stainless SDK fallback com…
aegeiger Jun 7, 2026
35549ea
fix(guardrails): enforce fail-closed semantics and validate reasoning…
leseb Jun 8, 2026
45b54f6
fix(letsgo): include persistence config when adding responses provide…
mattf Jun 8, 2026
1a79e73
feat(responses): add WebSocket transport and fix OpenResponses confor…
cdoern Jun 8, 2026
064a6f3
feat(tool-runtime): add nimble web search provider (#6038)
wildcard Jun 8, 2026
d2bd0f9
ci(pypi): make Docker image publishing package-name aware (#6060)
cdoern Jun 8, 2026
7ad0e19
ci(pypi): add skip_latest input to avoid moving the latest tag (#6061)
cdoern Jun 8, 2026
c274eb1
fix(containers): pin the API package to the meta-package version (#6062)
cdoern Jun 8, 2026
dd8ef2b
fix(containers): tolerate OTel bootstrap conflicts when backfilling o…
cdoern Jun 8, 2026
2c964c4
feat(letsgo): select best embedding model instead of first (#6064)
mattf Jun 8, 2026
5ceb0c9
fix(bing-search): use standard := env var syntax in sample config (#6…
mattf Jun 8, 2026
fbe8e0f
feat(skills): add FastAPI routes for Skills API endpoints (#6066)
varshaprasad96 Jun 8, 2026
25cc138
fix: add missing opentelemetry-exporter-otlp-proto-grpc dependency (#…
derekhiggins Jun 9, 2026
67a707a
feat(messages)!: support disable_parallel_tool_use and pause_turn sto…
EleanorWho Jun 9, 2026
8b76f28
fix(api): eliminate schema mismatches in Responses compact endpoint (…
EleanorWho Jun 9, 2026
3eaff73
feat(messages): emit ping and error stream events for Anthropic SDK c…
EleanorWho Jun 9, 2026
3fcb5ac
feat(cli): auto-detect web search providers in ogx letsgo (#6067)
mattf Jun 9, 2026
6b24dd0
docs(blog): add blog post on Claude Code integration with OGX (#5691)
leseb Jun 9, 2026
58441ed
feat(cli): add `ogx connect codex` command. (#5896)
skamenan7 Jun 9, 2026
9e63b84
chore(openai): update model listing, exclude audio (#6070)
mattf Jun 9, 2026
69a9a55
fix(openai): translate max_tokens to max_completion_tokens for reason…
zanetworker Jun 9, 2026
e7e2379
Merge branch 'main' into chore/ci_using_ogx_open_client
aegeiger Jun 9, 2026
b6222bf
docs: add blog for `ogx connect claude` (#6009)
nathan-weinberg Jun 9, 2026
b7fc275
feat(skills): implement builtin Skills provider with manifest parser …
varshaprasad96 Jun 10, 2026
50d48f5
Merge branch 'main' into chore/ci_using_ogx_open_client
aegeiger Jun 10, 2026
381d767
chore(github-deps): bump github/codeql-action from 4.36.0 to 4.36.2 (…
dependabot[bot] Jun 10, 2026
a15b5d4
chore(github-deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 (#6048)
dependabot[bot] Jun 10, 2026
d68af16
chore(api-deps): bump starlette from 0.50.0 to 1.0.1 in /src/ogx_api …
dependabot[bot] Jun 10, 2026
6a59d3b
chore(python-deps): bump black from 26.3.1 to 26.5.1 (#6051)
dependabot[bot] Jun 10, 2026
c3f7b03
chore(python-deps): bump openai from 2.38.0 to 2.41.0 (#6047)
dependabot[bot] Jun 10, 2026
480b294
chore(python-deps): bump redis from 7.4.0 to 8.0.0 (#6050)
dependabot[bot] Jun 10, 2026
d67ac32
chore(python-deps): bump databricks-sdk from 0.112.0 to 0.114.0 (#6052)
dependabot[bot] Jun 10, 2026
7bbfa12
chore(api-deps): bump openai from 2.38.0 to 2.41.0 in /src/ogx_api (#…
dependabot[bot] Jun 10, 2026
f4cf7d2
fix(client-sdks): prefer body params over query params on collision i…
aegeiger Jun 10, 2026
7039845
feat(letsgo): add nimble-search to letsgo auto-detection (#6080)
mattf Jun 10, 2026
4d9f3fa
chore(github-deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 …
dependabot[bot] Jun 11, 2026
a0a94cb
chore(deps): bump idna from 3.11 to 3.15 in /src/ogx_api (#5897)
dependabot[bot] Jun 11, 2026
1d170e7
fix(vertexai): use structured logging key-value style (#6081)
major Jun 11, 2026
3ef84e4
Merge branch 'main' into chore/ci_using_ogx_open_client
cdoern Jun 11, 2026
e835dfb
chore: bump fallback_version to 1.1.1.dev0 (#6084)
cdoern Jun 11, 2026
43827dd
chore: Limit payload-bearing logs to debug (vector search, rerank, gu…
franciscojavierarceo Jun 11, 2026
53b4731
docs: add Skills API to README, ARCHITECTURE, and provider docs (#6087)
varshaprasad96 Jun 11, 2026
16c0ad8
fix(milvus): use explicit output_fields in query_vector for milvus-li…
derekhiggins Jun 12, 2026
6618aca
fix(file_processor): offload sync parsing to thread pool (#6095)
derekhiggins Jun 12, 2026
ce27957
chore: dummy gpu ec2 runner workflow (#6102)
skamenan7 Jun 12, 2026
a83f2a1
fix(vertexai): prevent RuntimeError from stale client after startup e…
goingforstudying-ctrl Jun 12, 2026
e4f7d45
docs: Adding OGX Paper (#6042)
franciscojavierarceo Jun 12, 2026
41eb11e
Merge remote-tracking branch 'origin/main' into chore/ci_using_ogx_op…
aegeiger Jun 14, 2026
1a0fe23
fix(ci): make ci-status wait for flaky test re-runs (#6079)
leseb Jun 15, 2026
6acf940
fix(vector_io): propagate search errors instead of returning empty re…
derekhiggins Jun 15, 2026
51279cf
fix(containers): embed distribution configs as OCI labels on publishe…
cdoern Jun 15, 2026
56119bd
chore(python-deps): bump pyjwt from 2.12.1 to 2.13.0 (#6122)
dependabot[bot] Jun 16, 2026
138161e
chore: bump fallback_version to 1.1.2.dev0 (#6119)
cdoern Jun 16, 2026
7376227
chore(python-deps): bump pytest-socket from 0.7.0 to 0.8.0 (#6112)
dependabot[bot] Jun 16, 2026
25eed49
chore(api-deps): bump openai from 2.41.0 to 2.41.1 in /src/ogx_api (#…
dependabot[bot] Jun 16, 2026
05e6b9b
chore(python-deps): bump pypdf from 6.11.0 to 6.12.0 (#6106)
dependabot[bot] Jun 16, 2026
062589d
feat(ci): add Trivy security scanning (#6074)
nathan-weinberg Jun 16, 2026
4118b16
fix(conversations): cascade delete orphaned conversation items (#6059)
skamenan7 Jun 16, 2026
c12f7b8
Merge remote-tracking branch 'origin/main' into chore/ci_using_ogx_op…
aegeiger Jun 16, 2026
36f3cb3
fix(client-sdks): add import-not-found to type ignore for ogx_client …
aegeiger Jun 16, 2026
52b9706
feat(files): fix Files API gaps for OpenAI spec parity (#6127)
leseb Jun 16, 2026
228d261
feat(multi-tenancy): add tenant isolation as a hard partition key ind…
leseb Jun 16, 2026
af6c1f3
chore(python-deps): bump starlette from 1.1.0 to 1.3.1 (#6125)
dependabot[bot] Jun 16, 2026
a0bd9f5
chore(github-deps): bump actions/cache from 4.2.3 to 5.0.5 (#6108)
dependabot[bot] Jun 16, 2026
f2b5451
fix(file_processor): add ZIP decompression limits to MarkItDown proce…
derekhiggins Jun 16, 2026
040b2c4
chore(github-deps): bump sigstore/gh-action-sigstore-python from 3.3.…
dependabot[bot] Jun 17, 2026
dc341e8
chore(deps): remove upper bound constraint on pydantic (#6131)
mattf Jun 17, 2026
8cee357
chore(python-deps): bump cryptography from 48.0.0 to 48.0.1 (#6124)
dependabot[bot] Jun 17, 2026
a74a63a
chore(python-deps): bump pypdf from 6.12.0 to 6.13.0 (#6132)
dependabot[bot] Jun 17, 2026
4e55588
Merge branch 'main' into chore/ci_using_ogx_open_client
aegeiger Jun 17, 2026
561c2dc
fix(client-sdks): fix merge issues and improve rerank assertion
aegeiger Jun 17, 2026
7eb7657
Merge branch 'main' into chore/ci_using_ogx_open_client
aegeiger Jun 17, 2026
8f3904e
fix(api-docs): Move vector stores docs to top-level tag (#6137)
franciscojavierarceo Jun 17, 2026
aac99c0
chore(python-deps): bump python-multipart from 0.0.28 to 0.0.31 (#6123)
dependabot[bot] Jun 18, 2026
1861bfb
fix(ci): revert bedrock config to use api_key with AWS_BEARER_TOKEN_B…
aegeiger Jun 18, 2026
9183803
Merge branch 'main' into chore/ci_using_ogx_open_client
aegeiger Jun 18, 2026
823f325
chore(ci): remove Stainless SDK workflow and references
aegeiger Jun 18, 2026
229c260
chore: bump fallback_version to 1.1.3.dev0 (#6138)
cdoern Jun 18, 2026
ce77b28
refactor(vector-io): Convert Qdrant, Milvus, Elasticsearch to eager c…
mattf Jun 19, 2026
15a9769
docs: document nimble web search provider in guides and starter distr…
wildcard Jun 19, 2026
6aa17cb
Merge remote-tracking branch 'origin/main' into chore/ci_using_ogx_op…
aegeiger Jun 21, 2026
1b17fa9
fix(ci): align bedrock env var name with canonical AWS_BEDROCK_BEARER…
aegeiger Jun 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ contact_links:
- name: Have you read the docs?
url: https://ogx-ai.github.io/docs
about: Much help can be found in the docs
- name: Chat on Slack
url: https://join.slack.com/t/ogx-ai/shared_invite/zt-3uyw5bxj9-tSEwsNZncgkGEKbd4dXIpw
about: Maybe chatting with the community can help
- name: Join the Discord community
url: https://discord.gg/bUYRqEvK6
about: Ask questions and chat with the community
2 changes: 1 addition & 1 deletion .github/actions/install-ogx-client/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
id: configure
shell: bash
run: |
# If sdk_install_url is provided (e.g., from Stainless preview), use it directly
# If sdk_install_url is provided, use it directly
if [ -n "${{ inputs.sdk_install_url }}" ]; then
echo "Using provided sdk_install_url: ${{ inputs.sdk_install_url }}"
echo "install-after-sync=true" >> $GITHUB_OUTPUT
Expand Down
8 changes: 8 additions & 0 deletions .github/actions/run-and-record-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ inputs:
description: 'Regex pattern to pass to pytest -k'
required: false
default: ''
text-model:
description: 'Text model override to pass to integration-tests.sh'
required: false
default: ''
target-branch:
description: 'Target branch for recording commits (for PRs, use the PR head branch)'
required: false
Expand Down Expand Up @@ -56,6 +60,7 @@ runs:
INPUT_SUITE: ${{ inputs.suite }}
INPUT_SUBDIRS: ${{ inputs.subdirs }}
INPUT_PATTERN: ${{ inputs.pattern }}
INPUT_TEXT_MODEL: ${{ inputs.text-model }}
run: |
SCRIPT_ARGS="--stack-config ${INPUT_STACK_CONFIG} --inference-mode ${INPUT_INFERENCE_MODE}"

Expand All @@ -72,6 +77,9 @@ runs:
if [ -n "${INPUT_PATTERN}" ]; then
SCRIPT_ARGS="${SCRIPT_ARGS} --pattern ${INPUT_PATTERN}"
fi
if [ -n "${INPUT_TEXT_MODEL}" ]; then
SCRIPT_ARGS="${SCRIPT_ARGS} --text-model ${INPUT_TEXT_MODEL}"
fi

echo "=== Running command ==="
echo "uv run --no-sync ./scripts/integration-tests.sh $SCRIPT_ARGS"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ OGX uses GitHub Actions for Continuous Integration (CI). Below is a table detail
| Integration Auth Tests | [integration-auth-tests.yml](integration-auth-tests.yml) | Run the integration test suite with Kubernetes authentication |
| Integration Responses, Conversations & Prompts Auth Tests | [integration-responses-conversations-auth-tests.yml](integration-responses-conversations-auth-tests.yml) | Run responses, conversations, and prompts auth tests with Kubernetes authentication |
| SqlStore Integration Tests | [integration-sql-store-tests.yml](integration-sql-store-tests.yml) | Run the integration test suite with SqlStore |
| Messages API - Claude Code CLI Smoke Test | [integration-tests-messages-cli.yml](integration-tests-messages-cli.yml) | Drive the real Claude Code CLI against /v1/messages (live, Ollama) |
| Responses API - Codex CLI Smoke Test | [integration-tests-codex-cli.yml](integration-tests-codex-cli.yml) | Manually drive the real Codex CLI against /v1/responses |
| Messages API - Claude Code Client Smoke Tests | [integration-tests-messages-clients.yml](integration-tests-messages-clients.yml) | Drive the Claude Code CLI and Agent SDK against /v1/messages (live, Ollama) |
| Integration Tests (Replay) | [integration-tests.yml](integration-tests.yml) | Run the integration test suites from tests/integration in replay mode |
| Vector IO Integration Tests | [integration-vector-io-tests.yml](integration-vector-io-tests.yml) | Run the integration test suite with various VectorIO providers |
| Launch GPU EC2 Runner | [launch-gpu-ec2-runner.yml](launch-gpu-ec2-runner.yml) | Launch GPU EC2 Runner |
| OpenAPI Generator SDK Validation | [openapi-generator-validation.yml](openapi-generator-validation.yml) | Validate OpenAPI Generator SDK generation |
| OpenResponses Conformance Tests | [openresponses-conformance.yml](openresponses-conformance.yml) | Run OpenResponses conformance tests against ogx Responses API |
| Post-release automation | [post-release.yml](post-release.yml) | Post-release automation |
Expand All @@ -31,10 +33,11 @@ OGX uses GitHub Actions for Continuous Integration (CI). Below is a table detail
| Integration Tests (Record) | [record-integration-tests.yml](record-integration-tests.yml) | Auto-record missing test recordings for PR |
| Release Branch Scheduled CI | [release-branch-scheduled-ci.yml](release-branch-scheduled-ci.yml) | Scheduled CI checks for active release branches |
| Check semantic PR titles | [semantic-pr.yml](semantic-pr.yml) | Ensure that PR titles follow the conventional commit spec |
| Stainless SDK Builds | [stainless-builds.yml](stainless-builds.yml) | Build Stainless SDK from OpenAPI spec changes |
| Close stale issues and PRs | [stale_bot.yml](stale_bot.yml) | Run the Stale Bot action |
| Test External Providers Installed via Module | [test-external-provider-module.yml](test-external-provider-module.yml) | Test External Provider installation via Python module |
| Test External API and Providers | [test-external.yml](test-external.yml) | Test the External API and Provider mechanisms |
| Trigger Docs Deploy | [trigger-docs-deploy.yml](trigger-docs-deploy.yml) | Trigger docs site rebuild after docs change |
| Trivy Scheduled Security Scan | [trivy-scheduled.yml](trivy-scheduled.yml) | Trivy Scheduled Security Scan |
| Trivy Security Scan | [trivy-security.yml](trivy-security.yml) | Trivy Security Scan |
| UI Tests | [ui-unit-tests.yml](ui-unit-tests.yml) | Run the UI test suite |
| Unit Tests | [unit-tests.yml](unit-tests.yml) | Run the unit test suite |
4 changes: 2 additions & 2 deletions .github/workflows/backward-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true

Expand Down Expand Up @@ -451,7 +451,7 @@ jobs:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true

Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/build-distributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
permissions:
contents: read
actions: write
security-events: write

env:
IMAGE_PREFIX: ogx/distribution
Expand Down Expand Up @@ -138,3 +139,23 @@ jobs:
run: |
LOCAL_IMAGE_NAME="${IMAGE_PREFIX}-${DISTRO_NAME}:${IMAGE_TAG}"
bash scripts/verify-config-labels.sh "${LOCAL_IMAGE_NAME}"

- name: Scan container image with Trivy
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
env:
DISTRO_NAME: ${{ matrix.distro }}
IMAGE_TAG: ${{ needs.generate-matrix.outputs.version }}
with:
image-ref: '${{ env.IMAGE_PREFIX }}-${{ matrix.distro }}:${{ needs.generate-matrix.outputs.version }}'
scan-type: 'image'
severity: 'CRITICAL,HIGH'
exit-code: '0'
format: 'sarif'
output: 'trivy-container-${{ matrix.distro }}.sarif'

- name: Upload container scan results to GitHub Security
uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3
if: always()
with:
sarif_file: 'trivy-container-${{ matrix.distro }}.sarif'
category: 'trivy-container-${{ matrix.distro }}'
14 changes: 8 additions & 6 deletions .github/workflows/ci-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
ci-status:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 180
permissions:
checks: read
steps:
Expand All @@ -43,8 +43,8 @@ jobs:
const excludedApps = new Set(['mergify']);

const terminalStatuses = new Set(['completed']);
const successConclusions = new Set(['success', 'skipped', 'neutral']);
const failureConclusions = new Set(['failure', 'cancelled', 'timed_out']);
const successConclusions = new Set(['success', 'skipped', 'neutral', 'cancelled']);
const failureConclusions = new Set(['failure', 'timed_out']);

while (true) {
const { data: checkRuns } = await github.rest.checks.listForRef({
Expand Down Expand Up @@ -92,10 +92,12 @@ jobs:

if (failed.length > 0) {
for (const cr of failed) {
core.error(`${cr.name} concluded with: ${cr.conclusion}`);
core.warning(`${cr.name} concluded with: ${cr.conclusion} — waiting for re-run`);
}
core.setFailed(`${failed.length} CI check(s) failed.`);
return;
core.info(`${failed.length} check(s) failed. Waiting 30s for re-runs before giving up...`);
core.info('Re-run the failed job(s) and ci-status will pick up the result automatically.');
await new Promise(r => setTimeout(r, 30000));
continue;
}

const succeeded = completed.filter(cr => successConclusions.has(cr.conclusion));
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

# Initializes CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3
with:
languages: ${{ matrix.language }}
# "security-extended" is recommended for higher severity coverage - not necessary can be removed to speed up
Expand All @@ -32,6 +32,6 @@ jobs:
# Scans the code and uploads results to GitHub Security tab.
# The "Fail on High" logic is handled by Branch Protection Rules in Settings
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3
with:
category: "/language:${{ matrix.language }}"
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-constraints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
python-version: '3.12'

- name: Set up uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0

- name: Parse dependency info from Dependabot commit
id: parse
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/integration-tests-codex-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Responses API - Codex CLI Smoke Test

run-name: Manually drive the real Codex CLI against /v1/responses

on:
# Keep this manual until local providers can complete a clean Codex turn.
# See https://github.com/ogx-ai/ogx/issues/6069.
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
cancel-in-progress: true

permissions:
contents: read

env:
CODEX_CLI_VERSION: '0.136.0'
CODEX_SMOKE_TEXT_MODEL: 'ollama/llama3.2:1b'

jobs:
codex-cli-smoke:
name: Codex CLI smoke (ollama, live)
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

# Live mode (not replay) so the Ollama backend is provisioned and the
# real Codex CLI traffic reaches a real model through /v1/responses.
- name: Setup test environment
uses: ./.github/actions/setup-test-environment
with:
python-version: '3.12'
client-version: 'latest'
setup: 'ollama'
suite: 'responses'
inference-mode: 'live'

- name: Install Codex CLI
run: |
npm install -g "@openai/codex@${CODEX_CLI_VERSION}"
codex --version

- name: Pull Codex smoke model
run: docker exec ollama ollama pull "${CODEX_SMOKE_TEXT_MODEL#ollama/}"

- name: Run Codex CLI smoke test
uses: ./.github/actions/run-and-record-tests
env:
OGX_ENABLE_CODEX_CLI_SMOKE: '1'
with:
stack-config: 'server:ci-tests'
setup: 'ollama'
suite: 'responses'
inference-mode: 'live'
pattern: 'test_codex_cli_smoke_uses_generated_ogx_profile'
text-model: ${{ env.CODEX_SMOKE_TEXT_MODEL }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Messages API - Claude Code CLI Smoke Test
name: Messages API - Claude Code Client Smoke Tests

run-name: Drive the real Claude Code CLI against /v1/messages (live, Ollama)
run-name: Drive the Claude Code CLI and Agent SDK against /v1/messages (live, Ollama)

on:
push:
Expand All @@ -18,7 +18,7 @@ on:
- 'tests/integration/messages/**'
- 'uv.lock'
- 'pyproject.toml'
- '.github/workflows/integration-tests-messages-cli.yml'
- '.github/workflows/integration-tests-messages-clients.yml'
- '.github/actions/setup-test-environment/action.yml'
- '.github/actions/run-and-record-tests/action.yml'
- 'scripts/integration-tests.sh'
Expand All @@ -36,27 +36,31 @@ permissions:
contents: read

env:
# Pinned for reproducibility. The CLI bakes the cwd, date, and platform into
# every request body, so its traffic cannot be recorded/replayed; this test
# runs live against Ollama instead. Bumping only changes the client behavior
# under test, not any committed recordings.
# Pinned for reproducibility. Both clients ultimately drive the Claude Code
# CLI, which bakes the cwd, date, and platform into every request body, so
# their traffic cannot be recorded/replayed; these tests run live against
# Ollama instead. Bumping only changes the client behavior under test.
CLAUDE_CODE_CLI_VERSION: '2.1.159'
# The Agent SDK is installed at workflow time rather than as a project
# dependency, since only this one live smoke test uses it; it spawns the same
# CLI. The SDK test self-skips if the package is unavailable.
CLAUDE_AGENT_SDK_VERSION: '0.2.87'

jobs:
claude-code-cli-smoke:
name: Claude Code CLI smoke (ollama, live)
claude-code-client-smoke:
name: Claude Code CLI + Agent SDK smoke (ollama, live)
runs-on: ubuntu-latest
# CPU-only runners generate slowly; the live CLI session can take several
# minutes against the Ollama model. Keep ample headroom over the test's own
# 600s subprocess timeout plus environment setup.
# CPU-only runners generate slowly; the live sessions can take several
# minutes against the Ollama model. Keep ample headroom over the tests' own
# 600s timeouts plus environment setup.
timeout-minutes: 30

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

# Live mode (not replay) so the Ollama backend is provisioned and the
# real CLI traffic reaches a real model.
# Live mode (not replay) so the Ollama backend is provisioned and the real
# client traffic reaches a real model.
- name: Setup test environment
uses: ./.github/actions/setup-test-environment
with:
Expand All @@ -66,17 +70,26 @@ jobs:
suite: 'messages'
inference-mode: 'live'

# Both clients need the Claude Code CLI at runtime: the CLI test invokes it
# directly, and the SDK spawns it as a subprocess.
- name: Install Claude Code CLI
run: |
curl -fsSL https://claude.ai/install.sh | bash -s -- "${CLAUDE_CODE_CLI_VERSION}"
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
"$HOME/.local/bin/claude" --version

- name: Run Claude Code CLI smoke test
- name: Install Claude Agent SDK
run: uv pip install "claude-agent-sdk==${CLAUDE_AGENT_SDK_VERSION}"

- name: Run Claude Code client smoke tests
uses: ./.github/actions/run-and-record-tests
with:
stack-config: 'server:ci-tests'
setup: 'ollama'
suite: 'messages'
inference-mode: 'live'
pattern: 'test_claude_code_cli_smoke'
# Selects both test_claude_code_cli_smoke and test_claude_agent_sdk_smoke.
# Must stay a single shell word: run-and-record-tests passes --pattern
# unquoted, so a -k expression with spaces would be split into separate
# arguments.
pattern: 'test_claude'
7 changes: 3 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ on:
required: false
type: string
default: 'default'
description: 'Matrix configuration key from ci_matrix.json (e.g., "default", "stainless")'
description: 'Matrix configuration key from ci_matrix.json (e.g., "default")'
matrix_json:
required: false
type: string
Expand Down Expand Up @@ -87,8 +87,7 @@ concurrency:

# Limit permissions of the GITHUB_TOKEN to the minimum required.
# Default mode is 'replay' which only needs read access.
# When called via workflow_call (e.g., from stainless-builds.yml with record-if-missing),
# the caller's permissions apply.
# When called via workflow_call, the caller's permissions apply.
permissions:
contents: read

Expand Down Expand Up @@ -204,7 +203,7 @@ jobs:
WATSONX_PROJECT_ID: replay-mode-dummy-project
VERTEX_AI_PROJECT: ${{ matrix.config.setup == 'vertexai' && 'replay-mode-dummy-project' || '' }}
VERTEX_AI_LOCATION: ${{ matrix.config.setup == 'vertexai' && 'global' || '' }}
AWS_BEARER_TOKEN_BEDROCK: replay-mode-dummy-key
AWS_BEDROCK_BEARER_TOKEN: replay-mode-dummy-key
AWS_DEFAULT_REGION: us-west-2
GEMINI_API_KEY: replay-mode-dummy-key
TAVILY_SEARCH_API_KEY: ${{ secrets.TAVILY_SEARCH_API_KEY || 'replay-mode-dummy-key' }}
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/integration-vector-io-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,23 @@ jobs:
docker logs infinispan
exit 1

- name: Cache Hugging Face models
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.cache/huggingface
key: hf-${{ runner.os }}-${{ matrix.python-version }}-nomic-embed-text-v1.5

- name: Build OGX
run: |
uv run --no-sync ogx stack list-deps ci-tests | xargs -L1 uv pip install

- name: Pre-download embedding model
run: |
uv run --no-sync python - <<'PY'
from sentence_transformers import SentenceTransformer
SentenceTransformer("nomic-ai/nomic-embed-text-v1.5", trust_remote_code=True)
PY

- name: Check Storage and Memory Available Before Tests
if: ${{ always() }}
run: |
Expand All @@ -207,6 +220,8 @@ jobs:

- name: Run Vector IO Integration Tests
env:
HF_HUB_OFFLINE: "1"
TRANSFORMERS_OFFLINE: "1"
ENABLE_CHROMADB: ${{ matrix.vector-io-provider == 'remote::chromadb' && 'true' || '' }}
CHROMADB_URL: ${{ matrix.vector-io-provider == 'remote::chromadb' && 'http://localhost:8000' || '' }}
ENABLE_PGVECTOR: ${{ matrix.vector-io-provider == 'remote::pgvector' && 'true' || '' }}
Expand Down
Loading
Loading