Skip to content

Trusted live smoke

Trusted live smoke #38

Workflow file for this run

name: Trusted live smoke
on:
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
inputs:
max_output_tokens:
description: Maximum output tokens for each bounded live request
required: true
default: "64"
type: choice
options:
- "64"
- "128"
- "256"
permissions:
contents: read
concurrency:
group: trusted-live-smoke
cancel-in-progress: false
env:
UV_VERSION: 0.11.8
COMETAPI_LIVE_MAX_REQUESTS: "4"
COMETAPI_LIVE_MAX_OUTPUT_TOKENS: ${{ inputs.max_output_tokens || '64' }}
COMETAPI_LIVE_MODEL: gpt-5.6-sol
COMETAPI_LIVE_REQUEST_TIMEOUT_SECONDS: "30"
COMETAPI_LIVE_CONCURRENCY: "1"
COMETAPI_LIVE_RUN: "1"
COMETAPI_LIVE_STOP_ON_FAILURE: "1"
jobs:
smoke:
name: Bounded Chat Completions and Responses smoke
if: >-
github.ref == format('refs/heads/{0}', github.event.repository.default_branch) &&
vars.LIVE_SMOKE_ENABLED == 'true'
runs-on: ubuntu-latest
timeout-minutes: 10
environment: live-smoke
steps:
- name: Check out the trusted default branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.repository.default_branch }}
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.14"
- name: Install the pinned uv frontend
run: python -m pip install --disable-pip-version-check "uv==$UV_VERSION"
- name: Reproduce the locked environment
run: uv sync --locked
- name: Run the separately marked, bounded live suite
env:
COMETAPI_KEY: ${{ secrets.COMETAPI_KEY }}
run: uv run pytest -m live --maxfail=1 -q