Skip to content

fix(providers): pass max reasoning effort through on the Responses AP… #1260

fix(providers): pass max reasoning effort through on the Responses AP…

fix(providers): pass max reasoning effort through on the Responses AP… #1260

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
test:
name: Test & Lint
runs-on: ubuntu-latest
# Postgres service container for the Brain.openPostgres integration tests
# (gated on AGENTOS_TEST_POSTGRES_URL — tests skip when env var is absent).
services:
postgres:
image: pgvector/pgvector:pg16
env:
POSTGRES_PASSWORD: ci_test_password
ports: ['5432:5432']
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
AGENTOS_TEST_POSTGRES_URL: postgresql://postgres:ci_test_password@localhost:5432/postgres
steps:
- uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: '20'
- name: Install PNPM
uses: pnpm/action-setup@v6
with:
version: 10
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Lint
run: pnpm run lint
- name: Type check
run: pnpm run typecheck
- name: Test with coverage
run: pnpm run test -- --coverage
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
# Fast targeted gate for the batch-1 hardening test set: fails in minutes
# without waiting on the coverage matrix. The full suite above is
# failure-gating too (44-red burn-down completed 2026-07-20).
batch1-tests:
name: Batch-1 gated tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: '20'
- name: Install PNPM
uses: pnpm/action-setup@v6
with:
version: 10
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Batch-1 tests (failure-gating)
run: >-
pnpm vitest run
src/core/llm/providers/__tests__/openai-cache-params.test.ts
src/core/llm/providers/__tests__/default-judge.test.ts
src/core/llm/providers/__tests__/openai-streaming-usage.test.ts
src/core/llm/providers/implementations/__tests__/openai-typed-cache-options.test.ts
src/api/__tests__/observability.genai.test.ts
src/api/__tests__/inclusive-input-tokens.test.ts
src/api/__tests__/hitl.llmJudge.test.ts
src/cognition/emergent/__tests__/decay-for-agent.test.ts
src/cognition/emergent/__tests__/adapt-personality.test.ts
src/cognition/rag/__tests__/neo4j-graphrag-export.test.ts