From 48d8b2f43414c167f98cbff4442b825df16a013c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Fri, 27 Nov 2026 16:04:38 -0300 Subject: [PATCH] ci: the release gate no longer looks for the worker's fake Tiny, which production no longer uses Since 4a1994b the production worker uses the real Tiny or holds the sends, never the simulator; the marker no longer named something true, and the fast checks failed on it (validate job). Co-Authored-By: Claude Opus 5.5 --- deploy/production_preflight.py | 6 +++--- deploy/test_production_preflight.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/deploy/production_preflight.py b/deploy/production_preflight.py index 6a38f58..50c578b 100644 --- a/deploy/production_preflight.py +++ b/deploy/production_preflight.py @@ -41,9 +41,9 @@ SOURCE_BLOCKERS = { 'app/runtime.py': ( 'payment = FakePayment()', ), - 'app/worker.py': ( - "adapters = {'tiny': FakeTiny()}", - ), + # app/worker.py's "adapters = {'tiny': FakeTiny()}" left on 2026-11-27: in + # production the worker uses the real Tiny or holds the sends (HeldTiny), + # never the simulator. } diff --git a/deploy/test_production_preflight.py b/deploy/test_production_preflight.py index 2af2e4a..632264e 100644 --- a/deploy/test_production_preflight.py +++ b/deploy/test_production_preflight.py @@ -122,7 +122,6 @@ class ProductionPreflightTests(unittest.TestCase): def test_fake_checkout_is_explicitly_blocked(self): errors = source_errors() self.assertTrue(any('app/runtime.py remains local-only' in error for error in errors)) - self.assertTrue(any('app/worker.py remains local-only' in error for error in errors)) def test_secret_reuse_and_incoherent_limits_are_rejected(self): values = valid_config()