Staging test mode (Marty's rule: test apps never touch real people): TANK_MODE=iap with DRAFT_LIVE not 1 reads the pool + statuses from InstantAdPay but every pick (5 instant picks on a purchase, the Monday draft) and release is a preview kept here: no tank.adopt(), no sponsor change, no email. Yellow 'TEST MODE, nobody is adopted' strip on every page (/api/config testMode). Admin view: testMode, previewPicks, adoptionMailsSkipped. iap-tank 35/35 (new section 6 against the real draftpartner.js), unit 62/62, smoke 156/156. common.js/fx.css ?v=3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@ services:
|
||||
HUB_URL: ${HUB_URL:-}
|
||||
HUB_SECRET: ${HUB_SECRET:-}
|
||||
TANK_MODE: ${TANK_MODE:-}
|
||||
DRAFT_LIVE: ${DRAFT_LIVE:-0} # 1 = picks are real InstantAdPay adoptions (go-live only); anything else = test mode, nobody adopted
|
||||
IAP_URL: ${IAP_URL:-}
|
||||
LS_URL: ${LS_URL:-}
|
||||
DRAFT_PARTNER_SECRET: ${DRAFT_PARTNER_SECRET:-}
|
||||
|
||||
Reference in New Issue
Block a user