Skip to content

v0.1.3

Choose a tag to compare

@wei-hai wei-hai released this 27 Jul 19:23
7672f55

Fixes

  • Serverless gateway: follow-up links no longer 404 after submit. A gateway that serves the v2 API under a mount prefix (e.g. /deployment/{id}/api/v2) returns job.urls.* links that already include that prefix. Those links were resolved against base_url, which carries the same prefix — doubling it, so the first Job.refresh() after a successful submit raised NotFound. Server-returned links (leading slash, containing /api/) now resolve against the origin (scheme + authority); the link is authoritative about its own path. Internal shorthand paths still resolve under base_url, and Comfy Cloud / self-hosted behavior is unchanged.

Testing

  • Adds an env-gated live integration suite (tests/integration/test_gateway_e2e.py) covering upload → blake3 dedup fast path → img2img submit → poll → output download against a real gateway. Skipped unless COMFY_BASE_URL / COMFY_API_KEY are set.

Full changelog: v0.1.2...v0.1.3