Skip to content

Commit fe5eae4

Browse files
committed
Merge remote-tracking branch 'upstream/main' into dependabot/uv/langsmith-0.8.18
Signed-off-by: Sébastien Han <seb@redhat.com>
2 parents 908afae + eb1415d commit fe5eae4

122 files changed

Lines changed: 6182 additions & 2367 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
# OpenAPI SDK generation and publishing
88
/client-sdks/openapi/ @ashwinb @leseb @bbrowning
99
/.github/workflows/openapi-generator-validation.yml @ashwinb @leseb @bbrowning
10-
/.github/workflows/publish-openapi-sdk.yml @ashwinb @leseb @bbrowning

.github/actions/setup-vllm-gpu/action.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ runs:
9696
9797
echo "=== Installing vLLM with CUDA support ==="
9898
if [ "$VLLM_VERSION" = "latest" ]; then
99-
uv pip install --no-config vllm --torch-backend=auto
99+
uv pip install --no-config vllm "prometheus-fastapi-instrumentator==8.0.2" --torch-backend=auto
100100
else
101-
uv pip install --no-config "vllm==$VLLM_VERSION" --torch-backend=auto
101+
uv pip install --no-config "vllm==$VLLM_VERSION" "prometheus-fastapi-instrumentator==8.0.2" --torch-backend=auto
102102
fi
103103
104104
echo "=== Verifying installation ==="
@@ -107,31 +107,6 @@ runs:
107107
python -c "import torch; print(f'CUDA device count: {torch.cuda.device_count()}')"
108108
vllm --version
109109
110-
- name: Patch vLLM metrics route discovery
111-
shell: bash
112-
run: |
113-
source /tmp/vllm-env/bin/activate
114-
115-
python - <<'PY'
116-
from __future__ import annotations
117-
118-
from pathlib import Path
119-
import prometheus_fastapi_instrumentator.routing as routing
120-
121-
routing_path = Path(routing.__file__)
122-
source = routing_path.read_text()
123-
old = "route_name = route.path"
124-
new = (
125-
"route_name = getattr(route, 'path', None)\n"
126-
" if route_name is None:\n"
127-
" continue"
128-
)
129-
if old not in source:
130-
raise SystemExit(f"Expected route.path assignment not found in {routing_path}")
131-
routing_path.write_text(source.replace(old, new, 1))
132-
print(f"Patched {routing_path}")
133-
PY
134-
135110
- name: Resolve model identifier
136111
shell: bash
137112
env:

.github/workflows/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ OGX uses GitHub Actions for Continuous Integration (CI). Below is a table detail
2828
| Pre-commit | [pre-commit.yml](pre-commit.yml) | Run pre-commit checks |
2929
| Prepare release | [prepare-release.yml](prepare-release.yml) | Prepare release |
3030
| Test OGX Build | [providers-build.yml](providers-build.yml) | Test ogx build and list-deps |
31-
| Publish OpenAPI SDK to PyPI | [publish-openapi-sdk.yml](publish-openapi-sdk.yml) | Publish ogx-open-client to PyPI |
3231
| Build, test, and publish packages | [pypi.yml](pypi.yml) | Build, test, and publish packages |
3332
| Integration Tests (Record) | [record-integration-tests.yml](record-integration-tests.yml) | Auto-record missing test recordings for PR |
3433
| vLLM GPU Recording | [record-vllm-gpu-tests.yml](record-vllm-gpu-tests.yml) | GPU recording for gpt-oss:20b (${{ inputs.suite }} suite) |

.github/workflows/build-distributions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
output: 'trivy-container-${{ matrix.distro }}.sarif'
155155

156156
- name: Upload container scan results to GitHub Security
157-
uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3
157+
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3
158158
if: always()
159159
with:
160160
sarif_file: 'trivy-container-${{ matrix.distro }}.sarif'

.github/workflows/file-processors-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: |
5757
uv run --no-sync ogx stack run \
5858
--providers "file_processors=inline::docling,files=inline::localfs" \
59-
--port 8321 &
59+
--port 8321 --insecure &
6060
# Wait for server to be ready
6161
for i in $(seq 1 60); do
6262
if curl -sf http://localhost:8321/v1/health > /dev/null 2>&1; then

.github/workflows/integration-auth-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
157157
# avoid line breaks in the server log, especially because we grep it below.
158158
export OGX_LOG_WIDTH=200
159-
nohup uv run ogx stack run "$run_dir/config.yaml" > server.log 2>&1 &
159+
nohup uv run ogx stack run "$run_dir/config.yaml" --insecure > server.log 2>&1 &
160160
161161
- name: Wait for OGX server to be ready
162162
run: |

.github/workflows/integration-responses-conversations-auth-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
# avoid line breaks in the server log, especially because we grep it below.
300300
export OGX_LOG_WIDTH=200
301301
# OPENAI_API_KEY is set via env at step level
302-
nohup uv run ogx stack run "$run_dir/config.yaml" > server.log 2>&1 &
302+
nohup uv run ogx stack run "$run_dir/config.yaml" --insecure > server.log 2>&1 &
303303
304304
- name: Wait for OGX server to be ready
305305
run: |

.github/workflows/openapi-generator-validation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187
188188
- name: Generate Python SDK
189189
working-directory: client-sdks/openapi
190-
run: make sdk OPEN=1
190+
run: make sdk OPEN=0
191191

192192
- name: Validate generated SDK
193193
working-directory: client-sdks/openapi
@@ -217,14 +217,14 @@ jobs:
217217
218218
- name: Install generated SDK
219219
run: |
220-
echo "Reinstalling OpenAPI-generated SDK (ogx_open_client)..."
221-
uv pip uninstall ogx-open-client || true
220+
echo "Reinstalling OpenAPI-generated SDK (ogx_client)..."
221+
uv pip uninstall ogx-client || true
222222
223223
# Install SDK using uv pip
224224
uv pip install -e client-sdks/openapi/sdks/python
225225
226226
echo "Verifying installation..."
227-
uv run python -c "import ogx_open_client; print(f'Installed: {ogx_open_client.__name__}')"
227+
uv run python -c "import ogx_client; print(f'Installed: {ogx_client.__name__}')"
228228
229229
- name: Setup Ollama (for integration tests)
230230
if: runner.os == 'Linux'
@@ -242,7 +242,7 @@ jobs:
242242
|| echo "::warning::Some integration tests failed - this may indicate SDK compatibility issues"
243243
244244
# Show which SDK is actually being used
245-
uv run python -c "import ogx_open_client; import inspect; print(f'SDK location: {inspect.getfile(ogx_open_client)}')"
245+
uv run python -c "import ogx_client; import inspect; print(f'SDK location: {inspect.getfile(ogx_client)}')"
246246
247247
- name: Summary
248248
if: runner.os == 'Linux'
@@ -255,5 +255,5 @@ jobs:
255255
echo "✅ Integration tests executed (check logs for results)"
256256
echo ""
257257
echo "**Platform**: ${{ matrix.os }}"
258-
echo "**Package**: ogx_open_client (OpenAPI-generated)"
258+
echo "**Package**: ogx_client (OpenAPI-generated)"
259259
} >> "$GITHUB_STEP_SUMMARY"

.github/workflows/openresponses-conformance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
run: |
9191
mkdir -p /tmp/ogx-conformance
9292
export OGX_LOG_WIDTH=200
93-
nohup uv run ogx stack run ci-tests --port "$OGX_PORT" \
93+
nohup uv run ogx stack run ci-tests --port "$OGX_PORT" --insecure \
9494
> /tmp/ogx-conformance/server.log 2>&1 &
9595
echo "Server PID: $!"
9696

.github/workflows/publish-openapi-sdk.yml

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)