fix: read studio.deploy workflow run instead of Request-parse HOLD - #1853
Merged
Conversation
undici fetch rejects getRun's Request argument; GET swallowed that as Failed to read workflow run. Keep Request inputs on Next/Node fetch. Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
Drop the undici Response→Response cast that failed Vercel tsc. Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Contributor
This was referenced Sep 12, 2026
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.
Canonical issue
Residual after #1850. AXIOM re-dogfood XYMcBrFSJ4c on
dpl_3o6VDNVej7vkA82TQKDNWhkxLGYsHOLDs withFailed to read workflow run(receipter:gate:v1:wrun_01M2A9Z9SYXD59NG211W9N8EQA). Progress:Failed to read workflow return valueis gone.Outcome
Studio Attempt deploy can read the Workflow DevKit run. GET no longer HOLDs solely because undici
fetchtreatedgetRun()’sRequestas a URL string. A real deploy can pass through a backend-supplied https live URL + EventRelay receipt. Missing evidence still HOLDs / REJECTs / ESCALATEs with a visible receipt chip. No “Deploy completed” overclaim.Scope
withWorldVercelFetch: string/URL fetches stay on undici (POSTstart()/ WDK start() 500 on production: fetch failed (undici private-field / #P) #1538);Requestinputs stay on Next/Node fetch (getRun)/api/workflows/studio-deploy/:runIdnever emitsFailed to read workflow run; Request-parse errors returnrunningso the poller can retryunknown as typeof fetchso Next preview tsc accepts mixed undici/DOM Response typesBACKEND_URLpinEVENTRELAY_API_KEYRisk
Verification
world-vercel-fetch, GET[runId],studio-workflow,gate-transition,pipeline-async-job,studio-pipeline-status,pipeline-backend-health, POST studio-deploy, isolation); 39/39 re-verified after the tsc castfe434762a)Production evidence
dpl_3o6VDNVej7vkA82TQKDNWhkxLGYs:GET /api/workflows/studio-deploy/wrun_01M2A9Z9SYXD59NG211W9N8EQA→ 500TypeError: Failed to parse URL from [object Request]/ERR_INVALID_URLinput[object Request]dpl_HWDVNQVPgmJecxUjJcK4sW3z7N9gfailed tsc on the first head; this head drops the Response cast.dpl_…on v0-uvai. AXIOM re-dogfoods XYMcBrFSJ4c — must not HOLD forFailed to read workflow runorFailed to read workflow return value.Agent handoff
EVENTRELAY_API_KEYis missing on the Vercel → api.uvai.io path (Hayden-only secret; not this cut)