Study Lab
local appVango

Request Lifecycle Traces

Follow concrete requests through route ownership, edge decisions, allocation selection, and Vango runtime behavior.

GET Page While Hot

GET /dashboard

low risk

Edge

Load route owner and current epoch.

Truth: RouteOwner

Edge

Select ready allocation with session affinity if present.

Truth: Regional runtime registry

Allocation

Run Vango route/render and return HTML or patches.

Truth: Vango session loop

Control plane

No mutation required; logs are observability only.

Truth: Operation table unchanged

Decision

Outcome

Serve directly. Allocation health selects target only inside route owner authority.

GET Page While Sleeping

GET /dashboard

medium risk

Edge

Classify request as safe/idempotent.

Truth: Route policy

Edge

Create or attach to wake operation.

Truth: Operation table

Runner

Start allocation from immutable artifact.

Truth: Artifact digest

Edge

Hold within wake budget, then route when ready.

Truth: Wake operation state

Decision

Outcome

Wake and hold within budget. Return clear retry/503 if readiness misses the budget.

WebSocket Reconnect

GET /vango/live upgrade

medium risk

Edge

Find prior session affinity if resumable cookie/session id exists.

Truth: Session routing record

Runtime service

Check durable session store if cross-allocation resume is promised.

Truth: Session store

Allocation

Hydrate declared state or start fresh session.

Truth: Vango state schema

Edge

Keep live socket pinned after accept.

Truth: Allocation affinity

Decision

Outcome

Prefer original allocation. Hydrate only if durable store and schema compatibility prove it.

POST Action While Cold

POST /actions/save

high risk

Edge

Classify request as unsafe to blindly replay.

Truth: Route class policy

Edge

Check idempotency key and route contract.

Truth: Idempotency store binding

Control plane

Wake if policy allows but do not buffer arbitrary body forever.

Truth: Wake operation

App

Attach retry to original mutation only with idempotency.

Truth: App/product DB

Decision

Outcome

Do not silently replay. Require explicit idempotency or return controlled retryable failure.

Payment Webhook While Cold

POST /webhooks/stripe

high risk

Edge

Verify route class and signature policy.

Truth: Webhook route contract

Edge

Check idempotency posture before wake/retry.

Truth: Idempotency store

Control plane

Record wake/blocked evidence for user and support.

Truth: Operation/audit

App

Process once when a safe delivery path exists.

Truth: Product DB plus provider event id

Decision

Outcome

Never turn a provider webhook into an invisible replay buffer.

Immutable Asset Request

GET /assets/app.css

low risk

Edge

Recognize immutable asset path/digest.

Truth: Artifact asset manifest

Object store/CDN

Serve bytes without app compute.

Truth: Artifact store

Allocation

No app allocation needed.

Truth: No session state

Decision

Outcome

Serve from edge/object storage. Do not wake the app.

Preview Deploy Request

GET preview URL

medium risk

Edge

Route to preview environment owner, not production owner.

Truth: Preview RouteOwner

Allocation

Run exact preview artifact.

Truth: Artifact digest

Control plane

Attach validation evidence to deployment.

Truth: Deployment record

User

Promotion later reuses this artifact unless rebuilt explicitly.

Truth: Deployment/artifact identity

Decision

Outcome

Preview is meaningful only if production can promote the exact validated artifact.