Skip to content

Deprecate Elastic search logs for Fireworks Tracing logs #123

Deprecate Elastic search logs for Fireworks Tracing logs

Deprecate Elastic search logs for Fireworks Tracing logs #123

name: Elasticsearch Tests
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "*.md"
pull_request: # Run on all pull requests
paths-ignore:
- "docs/**"
- "*.md"
workflow_dispatch: # Allow manual triggering
jobs:
elasticsearch-tests:
name: Elasticsearch Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run Elasticsearch Tests
env:
FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
PYTHONWARNINGS: "ignore::DeprecationWarning,ignore::RuntimeWarning"
run: |
# Run Elasticsearch direct HTTP handler tests
uv run pytest tests/logging/test_elasticsearch_direct_http_handler.py -v --tb=short
# Run RemoteRolloutProcessor Propagate Status Smoke Test (also uses Elasticsearch)
uv run pytest tests/remote_server/test_remote_fireworks_propagate_status.py::test_remote_rollout_and_fetch_fireworks_propagate_status \
-v --tb=short