Repository navigation
fix(runway): honor task routing and video edit ratios - #179245
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs real behavior proof before merge. What this changesThis PR forwards Runway’s configured request policy into the existing resolver for task submission and polling. Example: Configure models.providers.runway.request.headers with X-Relay: synthetic-route.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 2 items remain Keep this PR open: it fixes a current adapter omission with a focused change, and no introduced correctness defect was found. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe Runway plugin receives video-generation requests and provider configuration, resolves authenticated HTTP policy, submits and polls tasks, then downloads generated assets through a separate path. flowchart LR
A[Video generation request] --> B[Runway adapter]
C[Provider configuration] --> D[Shared request policy]
B --> D
D --> E[Task submission and polling]
E --> F[Generated asset download]
F --> G[Video result]
Technical reviewBest possible solution: Keep the adapter-local forwarding through the existing sanitizer and resolver while preserving the separate generated-asset path. Do we have a high-confidence way to reproduce the issue? Yes: current main omits runway.request at policy resolution, and the added regression supplies a concrete relay-header configuration that exposes the omission; no target code was executed during this review. Is this the best way to solve the issue? The change restores the missing input at its producer, reuses existing policy ownership, and leaves polling and downloads on their established paths. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5dad414c2852. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +4, Tests +61, Docs +4. Total +69 across 3 files. Added test files: 1. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 21, 2026, 4:02 AM ET / 08:02 UTC. |
|
Exact reviewed head: The ready-head CI run39564219277 completed successfully, including
The cancelled auto-response and PR-context jobs have successful same-head successors119102489567 and119102496730. No CI rerun, synthetic push, assertion weakening or suppression change was used. The separately investigated local suppression-audit failure remains recorded in the PR body and native review, with its identical exact-clean-base replay; it is not relabeled green by hosted CI. Native landing stopped before dispatch: its MERGEABLE/UNSTABLE admission predicate rejects this unsuperseded optional selector failure despite the successful required CI gate. There is no retained merge intent and no merge request was sent. The native inherited-failure evidence path requires a failed |
|
Merged via squash auto-merge.
|
* fix(runway): honor configured task request policy * fix(runway): guard task polling and accept video edit ratios
What Problem This Solves
Runway tasks ignored configured request overrides, and no-proxy polling did not activate the private-network restriction. Video-to-video requests also rejected advertised edit aspect ratios such as1:1 before submission.
User Impact
Configured headers, proxies and private-network policy reach Runway task submission and polling, including a restrictive policy without proxy overrides. Video editing accepts its advertised aspect ratios while text-to-video keeps its existing restriction. Generated third-party downloads keep their separate credential and network boundary. No new configuration key, schema, dependency or SDK contract is introduced.
Why This Change Was Made
Pass existing configuration through the SDK sanitizer and resolver, give the poller an explicit resolved SSRF policy, and recognize both image and video references in the existing ratio helper. Keep authentication, deadline ownership, response validation, bounded downloads and release behavior. Document the task/download boundary.
Best-effort tradeoffs accepted
None. This fixes a reproduced adapter omission; it removes no guard or supported behavior.
Evidence
SsrFBlockedErrorbefore fetch and still releases the submission response. No actual network request runs.finalUrl. Existing coverage retains configured true/proxy policy, SecretRef auth, normal tasks, response/size errors, deadlines and release behavior. No retry, timeout, skip, suppression or assertion weakening.No live Runway call, credentials, Gateway, build or E2E claim. Exact-head hosted CI is the broad gate. The test's fixed synthetic submission failure is deliberate interception, not a claim that a remote task completed.
Production delta:+5 lines; test delta:+105; documentation:+5. This is a real bug fix under the campaign's size exception, not LARGE cleanup credit. The separate residue branch and protected Phase E backend are not part of this PR.
Release-note context: Runway video tasks honor configured headers and network routing, enforce private-network restrictions during polling, and accept advertised video-edit aspect ratios.