[GH-ISSUE #8337] OpenRouter video generation rejects documented relative polling URLs #8283

Closed
opened 2026-10-27 06:06:56 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8337

Originally assigned to: @SpicyMarinara on GitHub.

OpenRouter documents a relative polling_url in its accepted video-generation response, for example /api/v1/videos/job-abc123. Engine currently passes this value directly to safeFetch, which requires an absolute URL. The result is ERR_INVALID_URL after the video job was submitted, before the first poll.

Owner: @SpicyMarinara / Codex. Implementation is in progress on fix/openrouter-relative-video-polling.

Reproduced using the real verified Gacha Forge package manager/runtime and Engine video adapter with synthetic HTTP: one submit, zero polls, generic animation failure. No paid request or user data was used.

Resolve relative polling paths against the trusted submission endpoint and reject a different origin before forwarding authorization, retaining existing outbound URL validation. Cover relative, absolute, fallback, malformed and foreign-origin responses.

Related: Pasta-Devs/Marinara-Agents#1706. This confirmed polling bug occurs after submission and is not, by itself, proof of the user's reported absence of OpenRouter activity.

Originally created by @SpicyMarinara on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8337 Originally assigned to: @SpicyMarinara on GitHub. OpenRouter documents a relative `polling_url` in its accepted video-generation response, for example `/api/v1/videos/job-abc123`. Engine currently passes this value directly to `safeFetch`, which requires an absolute URL. The result is `ERR_INVALID_URL` after the video job was submitted, before the first poll. Owner: @SpicyMarinara / Codex. Implementation is in progress on `fix/openrouter-relative-video-polling`. Reproduced using the real verified Gacha Forge package manager/runtime and Engine video adapter with synthetic HTTP: one submit, zero polls, generic animation failure. No paid request or user data was used. Resolve relative polling paths against the trusted submission endpoint and reject a different origin before forwarding authorization, retaining existing outbound URL validation. Cover relative, absolute, fallback, malformed and foreign-origin responses. Related: Pasta-Devs/Marinara-Agents#1706. This confirmed polling bug occurs after submission and is not, by itself, proof of the user's reported absence of OpenRouter activity.
bsakaguchi 2026-10-27 06:06:56 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8283
No description provided.