Repository navigation
fix(whatsapp): isolate Stripe Live and allow safe Preview startup - #265
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
gustavomarques00
marked this pull request as ready for review
November 3, 2026 16:30
Collaborator
Author
Owner Release AcknowledgmentOwner: Gustavo Marques de Lima The repository owner has explicitly approved continuing the release preparation process for this exact commit. This acknowledgment:
Final merge execution remains subject to operational readiness verification and separate explicit authorization. |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@devflow/billing-core.VERCEL=1+VERCEL_ENV=production).Problem
NODE_ENV=productionalone did not distinguish Vercel Production from Preview.Changes
stripeRuntimePolicy) wired through adapters and WhatsApp Stripe client.instrumentation+validateProductionServerEnv).Validation
Local (deterministic)
VERCEL=1,VERCEL_ENV=preview, no DB/Stripe secrets): PASS (Windows host; not hermetic network proof)Remote
61357c19devflow-whatsappdeployment8zuVKZt3w2N6oX1HVmLF35J1K6Kz: Ready / build PASSLocal tests ≠ remote runtime proof for authenticated or mutating flows.
Security properties
STAGING_*) database fallback in application code.Limitations
STAGING_*vars may still exist in Preview env but are unused by this SHA.billing-coreconsumers (e.g. Financeiro) inherit the Stripe policy when built from this SHA.Before merge
SKIP_ENV_VALIDATIONis not set in Vercel Production for WhatsApp (pre-existing emergency escape). — Verified 2026-11-03: operator search in projectdevflow-whatsappEnvironment Variables (Project + Shared, filter All Environments) returned No Results Found forSKIP_ENV_VALIDATION. Does not prove absence outside those dashboard surfaces.Vercel – devflowCommit Status remains FAILURE (stale; see Release Exception). Not treated as required repo check (branch protection 404; repo rulesets empty).billing-coreconsumers. — Verified on HEAD61357c19: policy wired through adapters; Financeiro inherits when built from this SHA; regression tests added; no material incompatibility identified in prior security gate on this SHA.main/ ApplyFlowproduction). — Pending live Vercel Production Branch reconfirmation (CLI/API unavailable in this session). Docs state ApplyFlow Production Branch =production; historical baseline for other projects ismain.Release Exception — PR265-VERCEL-DEVFLOW-STALE-STATUS
Exception ID:
PR265-VERCEL-DEVFLOW-STALE-STATUSRecorded: 2026-11-03
Commit:
61357c192a8ed8f9812994d534411f87d6d6e5e3Scope: Portal Preview deployment status only.
Original deployment:
BLdxPRvkuATSz2KV9MZcX1q56H3F— failed during the Next.js/Turbopack Google Font resolution step with restored build cache.Successful redeployment:
6lyEQez12(Vercel UI identifier, operator-confirmed) — manual no-cache Preview redeployment of the same branch and SHA; Ready, 91/91 static pages generated.GitHub status:
Vercel – devflowremainsfailure, referencing the original failed deployment.Vercel support clarification: Manual redeployments do not automatically update the GitHub Commit Status published for the original Git-triggered deployment.
Compensating evidence: GitHub Actions checks passed; the three other Vercel project contexts succeeded; the Portal Preview build and deployment completed successfully without modifying source code.
Security review: Stripe Live runtime isolation and shared
billing-coreimpact were reviewed.SKIP_ENV_VALIDATIONwas not found in the WhatsApp project's Project or Shared environment variable listings.Residual limitations:
Disposition: Accepted for human review only. Merge requires a separate release decision and explicit authorization.
Exception closure: A later officially published successful Vercel status for this SHA, or an authorized superseding SHA with passing Portal checks, resolves the stale-status exception.
Release policy
This PR must not be merged automatically.
Production deployment requires separate authorization and post-merge verification.
Draft status is intentional to prevent premature merge during review.