Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
69 lines
2.5 KiB
YAML
69 lines
2.5 KiB
YAML
# Performance guardrails (P12). Cheap, deterministic checks that catch
|
|
# order-of-magnitude regressions in hot code paths without a full load rig:
|
|
# * API hot-path micro-smoke (catalog/cost/envelope) with per-op budgets;
|
|
# * a slowest-tests report so review can see latency creep;
|
|
# * a release-build cargo check for the desktop engine crates.
|
|
# Non-blocking latency data is surfaced; the micro-smoke is a hard gate.
|
|
name: perf
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main, "reelforge/**"]
|
|
schedule:
|
|
- cron: "0 6 * * 1" # weekly Monday 06:00 UTC trend sample
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: perf-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
api-hotpaths:
|
|
name: API hot-path micro-smoke (budgeted)
|
|
runs-on: self-hosted
|
|
defaults:
|
|
run:
|
|
working-directory: apps/api
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: astral-sh/setup-uv@v5
|
|
- name: Sync deps
|
|
# apps/api/pyproject.toml is a minimal, dependency-less project file
|
|
# (the real dependency set + uv.lock live at the repo root — see
|
|
# pyproject.toml's `[tool.hatch.build.targets.wheel] packages =
|
|
# ["apps/api/app"]`). Syncing with the implicit apps/api project
|
|
# installs ~nothing and every subsequent import (e.g. loguru) 404s.
|
|
# Point uv at the root project explicitly; `--project` only changes
|
|
# which project/venv is used, not the working directory.
|
|
run: uv sync --project ../.. --frozen || uv sync --project ../..
|
|
- name: Hot-path micro-smoke (hard gate on per-op budgets)
|
|
env:
|
|
NEON_DATABASE_URL: "sqlite:///:memory:"
|
|
R2_ACCOUNT_ID: x
|
|
R2_BUCKET: x
|
|
run: uv run --project ../.. python scripts/perf_smoke.py
|
|
- name: Slowest tests (informational)
|
|
env:
|
|
NEON_DATABASE_URL: "sqlite:///:memory:"
|
|
R2_ACCOUNT_ID: x
|
|
R2_BUCKET: x
|
|
run: >
|
|
uv run --project ../.. pytest -q --durations=25
|
|
../../tests/reelforge/test_media_gateway.py
|
|
../../tests/reelforge/test_render_execution.py
|
|
../../tests/reelforge/test_wallet_gateway.py
|
|
continue-on-error: true
|
|
|
|
desktop-release-build:
|
|
name: Desktop engine crates (release build check)
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- name: cargo check --release (engine crates only)
|
|
run: cargo check --release --workspace --exclude reelforge-desktop
|