style: auto-format with black + isort + ruff + prettier [skip ci-format-check]
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 5s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 46s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 15s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m23s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m3s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 3m41s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 4m9s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 4m41s
AI Code Review / AI Code Review (pull_request) Successful in 6m59s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 9m24s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 9m54s
CI/CD Pipeline / CI Gate (pull_request) Successful in 1s
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 7m38s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 12s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 36s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 9h49m2s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 9h57m41s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 9h59m2s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 9h48m12s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 9h57m18s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 9h58m6s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 9h56m58s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 9h57m2s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 9h57m3s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 9h58m12s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 9h58m13s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 9h56m52s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 9h48m12s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 9h48m13s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 9h48m13s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 9h56m52s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 9h58m6s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 9h58m16s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 10h32m51s

This commit is contained in:
CI Bot
2026-09-15 21:24:33 +00:00
parent d60359537a
commit fe9e0806ea
+2 -1
View File
@@ -206,9 +206,10 @@ class TestPointsGateGlobalsBinding:
"""Toggling _pg_module._points_gate_enabled must flip what the wrapper
sees (proxy pattern), not just a stale local in the decorator closure.
"""
import packages.middleware.points_gate as _pg
from app.api.routes import generation_tasks
import packages.middleware.points_gate as _pg
monkeypatch.setattr(_pg, "_points_gate_enabled", lambda: True)
# if the wrapper bound a stale local, this would still be False
assert _pg._points_gate_enabled() is True