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.
166 lines
6.7 KiB
YAML
166 lines
6.7 KiB
YAML
# Vision-2026 phase CI (P12): lint + test the phase modules landed across P6–P11
|
||
# plus the desktop engine crates. Additive to any existing CI.
|
||
name: vision2026-ci
|
||
|
||
on:
|
||
push:
|
||
branches: [main, "reelforge/**"]
|
||
pull_request:
|
||
|
||
jobs:
|
||
api-phases:
|
||
name: API phase modules (ruff + pytest)
|
||
runs-on: self-hosted
|
||
defaults:
|
||
run:
|
||
working-directory: apps/api
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- uses: astral-sh/setup-uv@v5
|
||
- name: Sync deps
|
||
run: uv sync --frozen || uv sync
|
||
- name: Ruff (F,E9 — no undefined names / syntax errors)
|
||
run: uv run ruff check --select F,E9 app/services/render app/events app/services/loops app/domains
|
||
- name: CODEMAPS are current (regenerate if this fails)
|
||
run: cd ../.. && python scripts/gen_codemaps.py --check
|
||
- name: Pytest — Vision-2026 phase suites
|
||
env:
|
||
NEON_DATABASE_URL: "sqlite:///:memory:"
|
||
R2_ACCOUNT_ID: x
|
||
R2_BUCKET: x
|
||
run: >
|
||
uv run pytest -q
|
||
../../tests/reelforge/test_render_envelope.py
|
||
../../tests/reelforge/test_event_bus.py
|
||
../../tests/reelforge/test_render_execution.py
|
||
../../tests/reelforge/test_wallet_gateway.py
|
||
../../tests/reelforge/test_flywheel.py
|
||
../../tests/reelforge/test_render_persistence.py
|
||
../../tests/reelforge/test_render_router.py
|
||
../../tests/reelforge/test_render_poller.py
|
||
../../tests/reelforge/test_metrics.py
|
||
../../tests/reelforge/test_sentry_capture.py
|
||
../../tests/reelforge/test_crud_variants.py
|
||
../../tests/reelforge/test_trends_router.py
|
||
../../tests/reelforge/test_film_router.py
|
||
../../tests/reelforge/test_templates_history.py
|
||
../../tests/reelforge/test_experiment_persistence.py
|
||
../../tests/reelforge/test_experiments_router.py
|
||
../../tests/reelforge/test_keyword_seo.py
|
||
../../tests/reelforge/test_hook_suggestions.py
|
||
../../tests/reelforge/test_retention_presets.py
|
||
../../tests/reelforge/test_whisperx.py
|
||
../../tests/reelforge/test_audio_dialogue.py
|
||
../../tests/reelforge/test_audio_music.py
|
||
../../tests/reelforge/test_kling_fal.py
|
||
../../tests/reelforge/test_runway_gen.py
|
||
../../tests/reelforge/test_veo_gen.py
|
||
../../tests/reelforge/test_luma_gen.py
|
||
../../tests/reelforge/test_minimax_gen.py
|
||
../../tests/reelforge/test_wan_replicate.py
|
||
../../tests/reelforge/test_suno_gen.py
|
||
../../tests/reelforge/test_media_gateway_contract.py
|
||
../../tests/reelforge/test_openai_image.py
|
||
../../tests/reelforge/test_replicate_image.py
|
||
../../tests/reelforge/test_imagen_image.py
|
||
../../tests/reelforge/test_media_gateway.py
|
||
../../tests/reelforge/test_clipmarket_service.py
|
||
../../tests/reelforge/test_clipmarket_router.py
|
||
../../tests/reelforge/test_gateway_service.py
|
||
../../tests/reelforge/test_template_persistence.py
|
||
../../tests/reelforge/test_character_persistence.py
|
||
../../tests/reelforge/test_characters_gateway_router.py
|
||
../../tests/reelforge/test_trends_persistence.py
|
||
../../tests/reelforge/test_film_persistence.py
|
||
../../tests/reelforge/test_affiliate_ducking.py
|
||
../../tests/reelforge/test_retention_services.py
|
||
../../tests/reelforge/test_experiments.py
|
||
../../tests/reelforge/test_captions_hormozi.py
|
||
../../tests/reelforge/test_async_media_adapter.py
|
||
../../tests/reelforge/test_p9_p11_domains.py
|
||
../../tests/reelforge/test_characters_storyboard.py
|
||
../../tests/reelforge/test_clipmarket.py
|
||
../../tests/reelforge/test_growth_migration.py
|
||
../../tests/reelforge/test_phase_routers.py
|
||
../../tests/reelforge/test_shot_templates.py
|
||
../../tests/reelforge/test_native_publish.py
|
||
../../tests/reelforge/test_vfx_render.py
|
||
|
||
migrations:
|
||
name: Alembic upgrade + drift check
|
||
runs-on: self-hosted
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- uses: astral-sh/setup-uv@v5
|
||
- name: Sync deps
|
||
run: cd apps/api && (uv sync --frozen || uv sync)
|
||
- name: Upgrade head + check no drift
|
||
env:
|
||
NEON_DATABASE_URL: "sqlite:////tmp/rf_ci.db"
|
||
DATABASE_URL: "sqlite:////tmp/rf_ci.db"
|
||
R2_ACCOUNT_ID: x
|
||
R2_BUCKET: x
|
||
run: |
|
||
cd apps/api
|
||
uv run alembic -c ../../alembic.ini upgrade head
|
||
uv run alembic -c ../../alembic.ini check
|
||
|
||
shared-packages:
|
||
name: Shared packages (TS≡Python golden parity)
|
||
runs-on: self-hosted
|
||
strategy:
|
||
matrix:
|
||
pkg: [effects-core, caption-engine, render-core, trends-schema, growth-analytics, eventbus-types, shot-template-schema, provider-adapter-kit, comfy-workflow-schema, publishing-connectors]
|
||
defaults:
|
||
run:
|
||
working-directory: packages/${{ matrix.pkg }}
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- uses: actions/setup-python@v5
|
||
with:
|
||
python-version: "3.11"
|
||
- uses: actions/setup-node@v4
|
||
with:
|
||
node-version: "20"
|
||
- name: Python port reproduces golden
|
||
run: pip install pytest && PYTHONPATH=python python -m pytest test -q
|
||
- name: Build TS + run TS≡Python golden parity
|
||
run: |
|
||
npm install --no-audit --no-fund
|
||
npm run build
|
||
npm run test:parity
|
||
|
||
sdk-python:
|
||
name: Python SDK resource tests
|
||
runs-on: self-hosted
|
||
defaults:
|
||
run:
|
||
working-directory: packages/sdk-python
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- uses: actions/setup-python@v5
|
||
with:
|
||
python-version: "3.11"
|
||
- run: pip install pytest && pip install -e . || pip install pytest
|
||
- run: python -m pytest tests -q
|
||
|
||
desktop-crates:
|
||
name: Desktop engine crates (test + clippy + fmt)
|
||
runs-on: self-hosted
|
||
steps:
|
||
- uses: actions/checkout@v4
|
||
- uses: dtolnay/rust-toolchain@stable
|
||
with:
|
||
components: clippy, rustfmt
|
||
# Formatting is enforced workspace-wide (see ADR 0006).
|
||
- name: Check formatting
|
||
run: cargo fmt --all --check
|
||
# The rf-* engine cores are pure + deterministic (no GPU/network/Metal),
|
||
# so they test on stock Ubuntu. The GPUI binary is excluded (needs the
|
||
# platform graphics toolchain).
|
||
- name: Test rf-* engine crates
|
||
run: cargo test --workspace --exclude reelforge-desktop --quiet
|
||
# Lint gate: clippy must be warning-free (ADR 0006 relies on this).
|
||
- name: Clippy (deny warnings)
|
||
run: cargo clippy --workspace --exclude reelforge-desktop -- -D warnings
|