Skip to content

Document async job polling auth#667

Open
decofe wants to merge 2 commits into
mainfrom
centaur/1780230960-19394-290
Open

Document async job polling auth#667
decofe wants to merge 2 commits into
mainfrom
centaur/1780230960-19394-290

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented May 31, 2026

Summary

  • Add an async jobs guide covering paid submit and owner-verified polling flows
  • Document StableStudio-style submit/poll behavior and recommend MPP Credential or zero-dollar auth for polling
  • Call out Tempo eip155:4217 as required for SIWX supportedChains when jobs are paid on Tempo

Prompted by: @kazanins

Testing

  • corepack pnpm generate:discovery
  • corepack pnpm check:types
  • corepack pnpm exec biome check src/pages/advanced/async-jobs.mdx src/pages/advanced/identity.mdx vocs.config.ts
  • PATH="/tmp/centaur-bin:$PATH" corepack pnpm build (stopped after >1 minute with no Vite transform progress; prior run verified generator steps and reached Vite build)

Note: this repo is the MPP docs site and consumes mppx@0.6.27; the SDK implementation requested for first-class SIWX support lives upstream in wevm/mppx.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment May 31, 2026 4:35pm

Request Review

Comment thread src/pages/advanced/async-jobs.mdx Outdated

If the poll endpoint must support Sign-In-With-X, also support the MPP polling contract above for clients that paid through MPP.

## Chain support
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm this section

Comment thread src/pages/advanced/async-jobs.mdx Outdated

This keeps both requests on the standard MPP `402` → Credential → retry path. Clients that use `mppx` don't need a second authentication implementation to retrieve work they already paid for.

## StableStudio video
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm here as well

Comment thread src/pages/advanced/async-jobs.mdx Outdated

Do not advertise only Base (`eip155:8453`) or Solana for a Tempo-paid job. The polling challenge must accept the chain the client used to pay, otherwise an MPP client can submit the job and then fail to retrieve it.

## If you use Sign-In-With-X
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants