57 Commits
Author SHA1 Message Date
PozzettiAndrea 65ff2c4088 Drop the dead WEB_DIRECTORY: pyproject is the single web declaration
The frontend directory is declared once, in pyproject.toml as
`[tool.comfy] web = "javascript"`. This `WEB_DIRECTORY = "./web"` pointed at
a directory that no longer exists -- it was left behind when the JS moved to
javascript/ -- so it is dead today. It is also a trap.

ComfyUI registers the web folder in TWO independent code paths, and they key
the same dict differently (nodes.py):

    pyproject [tool.comfy] web  ->  EXTENSION_WEB_DIRS[project.name]   (:2280)
    WEB_DIRECTORY               ->  EXTENSION_WEB_DIRS[module_name]    (:2289)

They are separate `if` blocks guarded by os.path.isdir(), not a fallback
chain, and project.name is rarely the directory name. So the moment a `web/`
directory exists again -- a revert, a merge, a stray file -- BOTH paths
register the same folder under two different keys. GET /extensions then lists
every file twice, the browser imports each twice, and app.registerExtension
runs twice with the same name: the collision the javascript test level exists
to catch, and invisible to it, because the duplication is in registration
rather than in source.

Removing the stale declaration makes that unreachable instead of dormant.
2026-08-24 15:31:59 +02:00
PozzettiAndrea c0208a18a9 Serve frontend JS from javascript/
Move web/ to javascript/ and declare it via [tool.comfy] web so the served
directory is explicit rather than positional.

comfy-test.toml moves to the current schema: [test.workflows] cuda (there is no
"gpu" key -- the accelerator is named by backend, and the old spelling parsed to
an empty list, so CUDA runners silently ran the full unfiltered set), an
explicit [test.platforms] platforms allowlist (per-platform booleans are no
longer supported), and the javascript level.
2026-08-22 19:44:03 +02:00
PozzettiAndrea 5c16019c13 syntax correction 2026-06-08 23:29:48 +02:00
PozzettiAndrea 31707848e2 delete old tests 2026-06-08 10:02:08 +02:00
PozzettiAndreaandClaude Opus 4.8 3ff76da5f8 Add comfy-test.toml
Declares the comfy-test config (levels + platform matrix), mirroring the
ComfyUI-SAM3 setup. Workflows run on GPU only; none on CPU since the
grounding models require GPU inference.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 21:25:22 +02:00
Andrea Pozzetti d61f854680 updated pyproject.toml 2025-12-29 22:23:48 +01:00
Andrea Pozzetti acd86b66f0 version bump 2025-12-09 19:22:23 +01:00
Andrea Pozzetti 03644fe30c added model offloading 2025-12-09 18:55:45 +01:00
PozzettiAndrea df9002e2cc Merge pull request #6 from PozzettiAndrea/dev
Dev
2025-11-14 21:23:07 +01:00
Andrea Pozzetti 8563374dc2 changed description 2025-11-14 20:16:57 +00:00
Andrea Pozzetti 9dab571b89 fixed scoping 2025-11-14 19:55:22 +00:00
Andrea Pozzetti 00185fa26c changed names of tests 2025-11-14 19:37:29 +00:00
Andrea Pozzetti 53568c6296 mocking + windows integration tests 2025-11-14 19:26:21 +00:00
Andrea Pozzetti 0ddd254ce7 windows fix 2025-11-14 18:53:35 +00:00
Andrea Pozzetti 1a401558bb new error handling 2025-11-14 18:38:18 +00:00
Andrea Pozzetti 2a040b06fc added new tests 2025-11-14 18:28:20 +00:00
Andrea Pozzetti 80cca20d4d resolve conflicts with sam2 nodes 2025-11-11 19:06:09 +00:00
Andrea Pozzetti cf5d936d2d publishing 2025-11-11 22:47:34 +00:00
Andrea Pozzetti 9367adbd33 updated wheel logic for flash attn 2025-11-11 22:17:43 +00:00
PozzettiAndrea 7d45c6d318 Merge pull request #4 from PozzettiAndrea/dev
Version 2 baby!
2025-11-11 22:07:03 +01:00
PozzettiAndrea 3bdaaf3852 Merge branch 'main' into dev 2025-11-11 22:06:40 +01:00
Andrea Pozzetti 532a399f01 added newlines 2025-11-11 21:05:05 +00:00
Andrea Pozzetti 2987431b9f decreased verbosity 2025-11-11 21:03:27 +00:00
Andrea Pozzetti 6c31e78971 updated readme 2025-11-11 21:00:32 +00:00
Andrea Pozzetti ae6881fc84 added gifs 2025-11-11 20:52:07 +00:00
Andrea Pozzetti 2bb932e4bf created separate requirements for ci 2025-11-11 18:43:36 +00:00
Andrea Pozzetti 53b385c9ea updated prestartup script - better index page - changed workflows 2025-11-11 18:32:21 +00:00
Andrea Pozzetti 76f77f9fdd updated workflows, prestartup script logic 2025-11-10 22:51:06 +00:00
Andrea Pozzetti c3a8c9d9e4 gave up on sa2va testing on cpu 2025-11-10 18:25:40 +00:00
Andrea Pozzetti 6611877902 if sa2va doesnt come to bfloat16, then bfloat16 comes to sa2va 2025-11-10 18:10:07 +00:00
Andrea Pozzetti e1ae650b5f float workaround 2025-11-10 18:02:15 +00:00
Andrea Pozzetti e80994bae4 dtype change 2025-11-10 17:53:05 +00:00
Andrea Pozzetti fc1dd31769 torch full mockery 2025-11-10 17:43:57 +00:00
Andrea Pozzetti 138c9f0858 further mockery 2025-11-10 17:29:25 +00:00
Andrea Pozzetti e60ff5c8a9 mockery 2025-11-10 17:12:19 +00:00
Andrea Pozzetti 982cca0674 mock flash attention 2025-11-10 17:01:50 +00:00
Andrea Pozzetti 8c793be2c6 flash attention not needed 2025-11-11 00:30:53 +00:00
Andrea Pozzetti 8e4c00cd52 made png artifacts available after github actions 2025-11-11 00:20:14 +00:00
Andrea Pozzetti be218309c2 second try for sa2va test 2025-11-11 00:08:42 +00:00
Andrea Pozzetti 11525535c4 test rehaul, added sa2va testing 2025-11-10 23:56:46 +00:00
Andrea Pozzetti 63fafa44b9 wrong python version 2025-11-10 23:48:17 +00:00
Andrea Pozzetti be4aa4e95c updated requirements and test workflow config 2025-11-10 23:46:26 +00:00
Andrea Pozzetti 4bd13184e5 claude removed, added dev branch github actions 2025-11-10 23:39:33 +00:00
Andrea Pozzetti d7293e47f4 updated workflows 2025-11-10 04:13:51 +00:00
Andrea Pozzetti d6dc28810c requirements update 2025-11-10 04:05:14 +00:00
Andrea Pozzetti 8f3b7504ab removed flash attn from florence2 2025-11-10 03:24:30 +00:00
Andrea Pozzetti 94cd15c349 added tests 2025-11-09 22:05:47 +00:00
Andrea Pozzetti afe22d3211 updated ground mask model nodes 2025-11-07 19:02:15 +00:00
Andrea Pozzetti ea57c1a4ae sa2va included 2025-11-06 20:33:14 +00:00
Andrea Pozzetti 76a3240df8 first draft with sa2va 2025-11-06 23:41:50 +00:00