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()