16 Commits
Author SHA1 Message Date
PozzettiAndrea a00a4f1186 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 d5a18a7aa4 update workflows 2026-03-11 02:02:04 +01:00
PozzettiAndrea c7636fa4a0 register node class 2026-03-11 01:09:52 +01:00
Andrea Pozzetti dc33c7aacf deleted server 2026-02-14 00:49:12 +01:00
PozzettiAndrea 797d2d1845 steps towards modernisation and true multi platform support 2026-02-13 01:05:17 +01:00
Andrea Pozzetti 87f2ba1077 small refactoring 2026-02-10 04:36:49 +01:00
Andrea Pozzetti 22923f3a77 removed unicode for windows compatibility 2026-02-10 04:02:49 +01:00
Andrea Pozzetti 68ad742d5c added portable speedup fix for blackwell.py script, pytest detection 2026-02-10 03:45:49 +01:00
Andrea Pozzetti e1b9026280 dev 2026-02-10 03:32:49 +01:00
Andrea Pozzetti 9e244ce61e pytest detection fix 2026-02-10 03:17:49 +01:00
Andrea Pozzetti 445fa47228 pytest init fix? 2026-02-10 03:14:49 +01:00
Andrea Pozzetti b28c91bc68 test pattern 2026-02-10 02:55:49 +01:00
Andrea Pozzetti edaa397acb updated viewer 2026-02-10 02:44:49 +01:00
Andrea Pozzetti f433a9d475 updated nodes input structure 2026-02-10 02:43:49 +01:00
Andrea Pozzetti 955dd84c82 added support for multi prompt 2026-02-10 02:42:49 +01:00
Andrea Pozzetti ee7027f7a6 first draft 2026-02-10 02:41:49 +01:00