caelum0x d56639a594
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
Menivor — open source release (MIT), free to use and fork
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.
2026-12-04 02:10:26 +03:00

56 lines
2.3 KiB
YAML

# SLO catalog + error budgets (P7 MVP → P12 full). Drives Prometheus alert rules
# and the status page. The wallet success-only-billing invariant is a hard alert:
# a paid ledger debit without a COMPLETED render must page immediately.
version: 1
slos:
- name: api-availability
objective: 99.9
window: 30d
indicator: http_requests_total{status!~"5.."} / http_requests_total
- name: render-success-rate
objective: 98.0
window: 7d
indicator: render_jobs{state="COMPLETED"} / render_jobs{state=~"COMPLETED|FAILED"}
- name: publish-success-rate
objective: 97.0
window: 7d
indicator: native_publish{status="published"} / native_publish
- name: media-gateway-success-rate
objective: 97.0 # unified /images + /videos generation success
window: 7d
indicator: media_gateway_jobs{status="completed"} / media_gateway_jobs{status=~"completed|failed"}
- name: hook-gate-latency
objective: 95.0 # 95% of hook scores under 2s
window: 7d
indicator: histogram_quantile(0.95, hook_score_duration_seconds) < 2
invariants:
# Success-only billing: a paid debit must correspond to a completed render.
- name: wallet-success-only-billing
severity: page
expr: increase(wallet_debit_micros{reason="generation"}[5m]) > 0
and increase(render_jobs{state="COMPLETED"}[5m]) == 0
for: 2m
annotation: "paid debit with no completed render — possible pay-double / billing bug"
- name: nc-weights-paid-route
severity: page
expr: increase(route_license_block_total{tier="paid",class="non_commercial"}[5m]) > 0
annotation: "a paid route attempted NC weights — license-gate must have blocked it"
# Success-only billing for the media gateway: a gateway debit must correspond to
# a completed image/video generation (same invariant as render, for /images+/videos).
- name: media-gateway-success-only-billing
severity: page
expr: increase(wallet_debit_micros{reason="gateway"}[5m]) > 0
and increase(media_gateway_jobs{status="completed"}[5m]) == 0
for: 2m
annotation: "gateway debit with no completed generation — possible pay-without-output billing bug"
alerts:
dead_letter_growth:
severity: warn
expr: increase(celery_dlq_total[15m]) > 5
gpu_costguard_tripped:
severity: warn
expr: gpu_autoscale_costguard_active == 1