Render migration

Architecture audit workspace

Archive-dependent implementation

Migration checkpoint

The callback repair is plausible, but it is not yet verified against your source.

The Replit note identifies a coherent failure mode: Kie submissions omit their callback URL, a legacy webhook trusts inbound URLs, and finalization is browser-dependent. The archive is needed to confirm routes, schemas, secrets, and every active submission path before a safe migration or repair can be completed.

Readiness review

0/4

Review status is stored only in this browser.

Source status

No ZIP archive is available in this workspace

Blocked by source

Application code

Not supplied

Database export

Not supplied

Runtime secrets

Not supplied

To reproduce the original product exactly, the ZIP must include the frontend, server handlers, schema/migrations, configuration examples, and any workflow definitions. Do not send production secrets; they should be re-entered in the destination host’s protected secret store.

Target workflow

Server-owned render finalization

Callback and fallback share one path
  1. 01

    Submit

    Seedance request created with a signed callback URL.

  2. 02

    Receive

    Webhook authenticates and fetches the canonical Kie task.

  3. 03

    Finalize

    Idempotent service writes terminal state and original Kie URL.

  4. 04

    Mirror

    Cloudinary work runs after durable task state is visible.

Implementation checklist

Proposed repair points

Task creation

Require callback URL on every Kie submission

Pass callBackUrl through both active Seedance submission paths, including the extension branch.

Callback security

Make the webhook fail closed

Authenticate callbacks and resolve the Kie task server-side rather than trusting callback payload URLs.

Server workflow

Unify finalization behind one idempotent service

Use the same Seedance finalizer for authenticated callbacks and scheduled fallback polling.

Data ordering

Persist Kie output before Cloudinary processing

Record the Kie URL and terminal task state before any optional asset upload work begins.

Built with GenMB
Built with GenMB