Commit Graph
5942 Commits
Author SHA1 Message Date
Simon Pinfold 681c73262d ci: enforce the python 3.10 floor with vermin and a 3.10 test-collection job 2026-09-13 21:27:10 -07:00
Simon Pinfold 3bb905eb78 test(assets): keep test typing 3.10-compatible 2026-09-13 20:48:05 -07:00
19e1058f4c feat(assets): split asset records from content (#16295)
* review-stack 1/4: code (37 files, +3217/-3958)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: path not under tests-unit/ or tests/
Question: Is the logic change right?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 2/4: tests-removed (24 files, +274/-8220)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: test file deleted, or modified with deleted/(added+deleted) >= 0.9
Question: For each dropped assertion: obsolete by a ruling, or covered by a tests-new test?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 3/4: tests-changed (13 files, +1043/-1218)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: remaining modified test files (incl. conftest.py / helpers)
Question: Did the edits weaken an existing check?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 4/4: tests-new (46 files, +8601/-0)

Review-and-land stack for synap5e/feat/asset-record-content-split, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: test file added
Question: Is the code layer well covered?
Source tip: 7007d18582
Merge-base: 783545f689

* review-stack 5/6: code (13 files, +351/-104)

Review-and-land stack for synap5e/feat/assets-di, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: path not under tests-unit/ or tests/
Question: Is the logic change right?
Source tip: eca2c74bff
Merge-base: 20d59d2a5f

* review-stack 6/6: tests (8 files, +753/-238)

Review-and-land stack for synap5e/feat/assets-di, generated by review-stack.py. Once approved,
merges DOWN into the layer below (a fast-forward); only the bottom layer
squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: every changed file under tests-unit/ or tests/ (added, modified, or deleted)
Question: Is the code layer well covered, and did any edit weaken an existing check?
Source tip: eca2c74bff
Merge-base: 20d59d2a5f

* review-stack 7/8: ported-fixes (42 files, +1361/-180)

Review-and-land stack for synap5e/feat/assets-di-v2, generated by
review-stack.py conventions (hand-built continuation layer; see the PR body).
Once approved, merges DOWN into the layer below (a fast-forward); only the
bottom layer squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: the 11 base-branch fix/docs commits 595cd6e4..94d7185b cherry-picked across the DI refactor (7efdd1d7 excluded, superseded by layer 8)
Question: was each base fix ported faithfully across the DI refactor?
Source tip: 6841881069284803b902b4a9e33bdcda13126771
Merge-base: 7fdfb40f4b

* review-stack 8/8: defensive-parity (4 files, +36/-3)

Review-and-land stack for synap5e/feat/assets-di-v2, generated by
review-stack.py conventions (hand-built continuation layer; see the PR body).
Once approved, merges DOWN into the layer below (a fast-forward); only the
bottom layer squash-merges into the real base. See ~/adocs/review-stack.md.
Rule: match-or-improve master's dependency defenses — NoAssets selection when DB deps unavailable (7efdd1d7's outcome via the DI seam), requirements warning before assets imports, blake3 in the guarded dependency set
Question: does each degradation path now match or improve master's behavior?
Source tip: ebc2cfeebc
Merge-base: 7fdfb40f4b

* fix(assets): only discard content rows this operation actually inserted

CR-9: Enumerated all six create_content call sites. Only scanner seeding and the three ingest registration paths track IDs for failure cleanup.

* fix(assets): reject hash-only uploads with FEATURE_DISABLED when hashing is off

CodeRabbit finding CR-2: reject hash-only multipart uploads before create_from_hash when hashing is disabled.

* fix(assets): seed persists the stat it verified

CR-7: persist the fresh seed-time restat instead of walk-time spec values.

* fix(assets): route database lock failures to the lock guidance

CR-16: route file-lock startup failures through the existing lock guidance and exit path.

* fix(assets): drop the inaccurate temp-cleanup claim from the shutdown warning

References CR-10.

* fix(assets): walk the output root after execution so undeclared outputs register promptly

Custom nodes that write files into the output directory without declaring
them in output_ui only became assets when the next full walk happened - a
frontend GET /object_info or a restart. Headless and API-only sessions never
trigger either, so those files never converged into the asset database.

The post-execution hook now requests a FULL scan of the output root instead of
an enrich-only pass. The seeder's pending-request queue was generalised from
enrich-specific to carrying a scan phase, so the request starts immediately
when the seeder is idle and coalesces (escalating to FULL on a phase mismatch)
when a scan is already running. queue_output_enrichment is renamed to
queue_output_scan across the protocol, the NoAssets no-op and the call site.

References FIX-6.

* chore(assets): remove seeder paths orphaned by the output-scan change

45c2f96e rerouted both former enrich call sites to start()/enqueue_scan(),
leaving two seeder methods that look live but are not. Review round F2
raised this along with four smaller items; the user's disposition was to
fix all six here.

- Delete start_enrich: zero callers repo-wide after 45c2f96e.
- Delete enqueue_enrich: no production callers; its ~18 call sites in
  tests/test_asset_seeder.py move to enqueue_scan(phase=ScanPhase.ENRICH)
  with their semantics unchanged. The deletion forces the half-done class
  renames (TestEnqueueEnrich* -> TestEnqueueScan*, consistent with the
  already-renamed TestPendingScanDrain) and restores the module docstring
  that was dropped rather than reworded.
- Document at manager.queue_output_scan that ScanPhase.FULL per debounce
  window is the deliberate, user-ratified trade, so it is not optimised
  back to ENRICH without revisiting the decision.
- Document that SeedAssetSpec.size_bytes/mtime_ns are walk-time
  diagnostics only - production persists the seed-time restat since CR-7.
- Export create_content_reporting_insert from the queries facade and fold
  scanner.py's direct-module import into the existing facade block.
- Harden test_queue_output_scan_does_not_duplicate_declared_output against
  a vacuous pass: it now asserts the seeder finished without errors and
  that an undeclared sibling written into the same directory WAS
  registered by the same scan, proving the walk actually ran.

No production behaviour changes beyond the two deletions.

References F2-cleanup.

* chore: comment cleanup

Comment-Gate: 18 quarantined

* fix(assets): preserve pause across the seeder's pending-scan drain

pause() runs before every prompt, while pending-scan enqueue and resume only run inside the debounced gc-interval gate. If the active scan finishes just after the next prompt's pause, its finally block resets the seeder to idle and the pending drain starts a replacement with the run gate open, so resume becomes a no-op.

Capture pausedness under the lock before resetting to idle, then start the drained scan already paused. Setting the state and gate before launching the thread avoids the start-then-reclear window and lets resume release the existing scan checkpoints.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* test(assets): pin job_id absence for scan-discovered assets

Owner ruling, recorded 2026-09-03 in the stack-9-hardening planning notepad: scan-discovered assets — including undeclared outputs found by the post-execution walk — carry job_id = None, always; only emission-time registration (output_ui declaration) attributes a job; attributing walk finds to the most recent prompt would be a temporal-correlation guess that is wrong exactly when prompts interleave; None is honest provenance. Do NOT add proximity-based attribution heuristics to the scanner. Ratified against Jacob Segal's cross-job-attribution concern (2026-09-08 review meeting) — a wrongly-attributed asset could mean one user's cloud job sees another user's asset.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* [review-stack 10/10] assets-tests (#16218)

* test(execution): run the battery with assets enabled and assert asset-system health at teardown

* test(execution): cover list-shaped outputs registering assets

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>

* [review-stack 11/11] review-fixes (#16261)

* fix(assets): only exit on database file-lock timeout when assets are enabled

* test(assets): pin live_contents_under_prefixes path-filtering semantics

* perf(assets): push live-content prefix filtering into SQL

* test(assets): declare per-entry intent in the path-prefix corpus

* test(assets): normalize POSIX-literal path expectations for Windows

* test(assets): force observable stat changes and close-before-mutate on Windows-sensitive rewrites

* test(assets): force an observable mtime change in the hash-mode split test

---------

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Co-authored-by: guill <jacob.e.segal@gmail.com>
2026-09-13 12:04:51 -07:00
comfyanonymous 798fa9aa47 Add that Yue 2 is supported to readme. (#16303) 2026-09-13 14:31:26 -04:00
Alexander Piskun 02d39c8cd7 [Partner Nodes] feat(BFL): add the Flux Video Edit node (#16259)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2026-09-13 12:00:06 +04:00
Christian Byrne d43a5fa20c Log typed asset scanner filesystem errors (#16096) 2026-09-12 16:54:50 -07:00
comfyanonymous 98c7334e2d Fix yue2 AMD issues and add more controls to the generate ABC node. (#16293) 2026-09-12 19:36:38 -04:00
Jialong(Bruce) Li a20738f1d3 Fix linear_input_act to respect _full_precision_mm fallback (#16285) 2026-09-12 18:45:38 -04:00
Christian Byrne 7ba217d6b5 Don't add noise to the alpha channel in the Add Noise to Image node (#15626) 2026-09-12 15:28:16 -07:00
comfyanonymous 7dac1d2512 Increase max song duration in Yue2 node. (#16292) 2026-09-12 16:58:27 -04:00
Alexander Piskun 9113c08c2e [Partner Nodes] feat(client): consume estimated-duration headers for progress display (#16152)
* [Partner Nodes] feat(client): consume estimated-duration headers for progress display

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] refactor(client): remove the inert sync-op estimated_duration parameter

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] fix(client): harden polling against interrupt races and transient extractor failures

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] refactor(client): drop inert defensive code in estimate parsing and progress math

Signed-off-by: bigcat88 <bigcat88@icloud.com>

---------

Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-12 22:41:00 +04:00
Alexander PiskunandDaxiong c75d8c966c [Partner Nodes] feat(Bria): add new image edit nodes and the Video Eraser node (#16264)
* [Partner Nodes] feat(Bria): add eight image edit nodes and the Video Eraser node

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

* [Partner Nodes] fix(Bria): clarify the reference images tooltip

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Daxiong (Lin) <contact@comfyui-wiki.com>
2026-09-12 10:58:57 +04:00
Christian Byrne 7193f5627f Bump comfyui-frontend-package to 1.52.7 (#16275) 2026-09-11 19:32:18 -07:00
comfyanonymous b058ec6528 Support Yue2 music model. (#16250) 2026-09-11 19:34:44 -04:00
Jukka Seppänen 1d91a82dc6 feat: Marigold v2 support (CORE-431) (#16232) 2026-09-11 15:40:56 -07:00
Alexis Rolland c40c94e1f5 Fix unit tests (#16271) 2026-09-11 14:27:22 -04:00
rattus d537de93a0 Implement Video Concatenate (CORE-436) (#16267) 2026-09-11 11:06:33 -07:00
comfyanonymous 1d48d9cf7b Add linear to ImageColorSpace. (#16247) 2026-09-10 21:52:52 -04:00
comfyanonymous 6338e4bd42 Fix h3 fun controlnet with comfy compiler. (#16240) 2026-09-10 17:10:36 -04:00
Daxiong (Lin) 1f641fd933 chore: update workflow templates to v0.11.59 (#16233) 2026-09-11 01:39:20 +08:00
Alexander Piskun 5774ab9cc3 [Partner Nodes] feat(OpenRouter): add auto aspect ratio to the MAI image node (#16229)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2026-09-10 21:13:31 +04:00
Alexander Piskun 6eba895f7d [Partner Nodes] feat(Tripo): migrate to the v3 API, add the Smart Segment node and retire the dead widgets (#16201)
* [Partner Nodes] feat(Tripo): migrate all nodes to the v3 API and add the Smart Segment node

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] feat(Tripo): deprecate Text to Model, Image to Model and Texture model in favour of V2 nodes without the retired widgets

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] fix(Tripo): report the mixamo retarget limitation for rigs whose v3 task echo carries no model version

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] fix(Tripo): keep the Smart Segment widgets inside the source options so the frontend can build the node

Signed-off-by: bigcat88 <bigcat88@icloud.com>

* [Partner Nodes] fix(Tripo): correct the Retarget and Smart Segment tooltips to what Tripo accepts

Signed-off-by: bigcat88 <bigcat88@icloud.com>

---------

Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-09-10 20:55:49 +04:00
comfyanonymous a7b1d39d34 Update instructions for manual install on windows AMD. (#16217) 2026-09-09 22:33:59 -04:00
Alexander PiskunandPurz 7ea14e59da [Partner Nodes] feat(Gemini-LLM): Add Gemini 3.8 Flash to the Gemini text node (#16195)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Purz <97489706+purzbeats@users.noreply.github.com>
2026-09-09 20:14:27 -04:00
DELUXA be92396834 quant_ops: drop the dead ROCm triton arch gate (#16211) 2026-09-09 16:14:27 -04:00
Alexander PiskunandDaxiong 4989cdd954 [Partner Noes] feat(OpenRouter): add Microsoft mai-image-2.6 models (#16188)
* [Partner Nodes] feat(OpenRouter): add MAI-Image-2.6 image node

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

* [Partner Nodes] fix(api-client): show provider error details

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

---------

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Daxiong (Lin) <contact@comfyui-wiki.com>
2026-09-10 02:23:21 +08:00
rattus 6f3895ed8d main: bump the AMD Windows VA quota to 4TB (#16199)
AMD+windows sets an unusually low maximum GPU virtual memory quota
compared to other plaforms. For reference, the hardware limits on
XT9060 are 128TB. On Nvidia RTX3060 it is 1TB. On nvidia RTX5090
it is 128TB.

Bump this into the same league, but keep it to a modest 4TB pending
further usage case need + testing going even higher to the hardware
limits.
2026-09-09 08:51:34 -07:00
Daxiong (Lin) 54e03f5367 Add new model blueprints and reorganize subgraph categories (#14785) 2026-09-08 22:08:46 -07:00
comfyanonymous 40c4fcdf51 ComfyUI v0.35.0 v0.35.0 2026-09-09 01:02:46 -04:00
Terry Jia 3074d0e331 Report the file saved by Save 3D (Advanced) as a standard 3d output item (#16171) 2026-09-08 21:50:21 -07:00
Daxiong (Lin) 6517734ff3 chore: update workflow templates to v0.11.57 (#16192) 2026-09-08 21:47:21 -07:00
Alexis Rolland 02dfb63b80 chores: Update tooltips of 3D nodes (CORE-323) (#16179) 2026-09-08 21:44:54 -07:00
Alexander Piskun be47aa22c0 [Partner Nodes] feat(OpenAI): add GPT Image 2.5 Flare and Sunburst models (#16190) 2026-09-08 21:41:31 -07:00
comfyanonymous 672ba9e5e3 Only lock repo PRs after merging if they contain a CLA signature. (#16191) 2026-09-08 20:42:15 -04:00
poorpaper 421a1c245c Fix MiniMax H3 denoise masks (#15988) 2026-09-08 14:25:33 -07:00
Alex Artyomov 0d0b6b5694 Add LTXVAddLatentGuide for pinning a pre-encoded latent as a guide (#16176) 2026-09-08 14:12:47 -07:00
comfyanonymous 249c5a3b95 Cleaner way of enabling quantized mm on text gen but not on text enc. (#16189) 2026-09-08 15:52:21 -04:00
Jukka Seppänen b7ebfd73c5 Fix quantized text encoder matmul gating and Gemma4 prefill cache positions (#16185) 2026-09-08 14:57:44 -04:00
Jukka Seppänen 488e8f8ab8 feat: Pixal3D multiview model support (CORE-421) (#16048) 2026-09-08 11:18:45 -07:00
rattus 00d34d92fe Comfy Aimdo 0.5.3 + Memory compiler fixes (#16180) 2026-09-08 12:32:43 -04:00
Adam Oster efa6c8f804 Add LTXV generated-keyframe nodes and Freeze Latent (#16040) 2026-09-07 19:02:58 -07:00
Alexis Rolland 5bbdf8a766 chore: Harmonize model attention nodes (#16154) 2026-09-07 20:05:59 -04:00
comfyanonymous f5ed117b88 Remove useless code. (#16169) 2026-09-07 19:27:58 -04:00
DELUXA 41db8f4fa1 Verify aotriton kernels actually launch before enabling pytorch attention (#15648) 2026-09-07 17:54:46 -04:00
guill 9ac7352f70 Fix registration issues (#15890) 2026-09-07 16:50:44 -04:00
Jialong(Bruce) Li 313a76fb8d Disable int8 weight-only quantization on devices without torch._int_mm (fixes MPS crash) (#16130) 2026-09-07 16:41:32 -04:00
Comfy Org PR Bot eb35786259 Bump comfyui-frontend-package to 1.51.10 (#16118) 2026-09-07 08:16:48 -07:00
Zhewen Tan ea33b15489 Fix transparent Porter-Duff blend modes (#15721) 2026-09-07 00:53:13 -07:00
Christian Byrne fbed745c8d Don't invert the alpha channel in the Invert Image node (#15622) 2026-09-06 19:38:26 -07:00
Christian Byrne f9c706f317 Don't blend the alpha channel in the Blend Images node (#15625) 2026-09-06 19:32:25 -07:00