About 20% of fresh installs stay on the bundled ComfyUI v0.42.1 without saying so
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python, typescript
- Domain
- desktop
Research direction
Start with lib/update_comfyui.py for lock cleanup and r2Mirror.ts for the mirror-sync behavior; compare the GCS and R2 standalone-environments/latest.json copies. The issue describes several independent failure causes and suggested fixes, so first identify which one is being addressed. Done should include a fix for that failure and a check that installs no longer report success while remaining on an outdated core.
Written by the indexing model from the issue text.
Description
About one in five fresh Desktop installs never leaves the bundled ComfyUI. The bundle is v0.42.1 on every platform (standalone-environments/latest.json). Desktop shows the install as successful, so the user gets no sign it is outdated, and features that need a newer core stay off with no reason given.
It isn't a regression in 1.1.9: the share is about the same on 1.1.8 (roughly 20% on both). Most of these installs are Windows and Manual installs.
Causes seen so far
- A stale git lock left by the install itself. On Windows with 1.1.9 and an Express install, the version selection said v0.44.2, but the bundled v0.42.1 was installed. The follow-up update failed on
.git/refs/tags/v0.0.3.lock, which was written during the install. "Update Now" failed the same way until the file was deleted by hand.lib/update_comfyui.pyonly clearsHEAD.lock,index.lock,packed-refs.lockandrefs/heads/master.lock. #1957 is the same gap forshallow.lock. - A lagging PyPI mirror. With a mirror on, the requirements install for the newer core asks the mirror first and doesn't fall back to pypi.org. When the mirror hasn't synced the pinned
comfyui-frontend-package, the update aborts, and the install stays on v0.42.1 while reporting success. Reproduced on Linux and Windows with a fake lagging index. - The fallback for the bundled environments is stale.
storage.googleapis.com/comfy-desktop-public/standalone-environments/latest.jsonstill servesv0.29.0-env1(core v0.28.0) on every platform, while the R2 copy serves v0.42.1.r2Mirror.tssays the mirror is "kept in sync at each release".
Suggested fixes
- Clear any stale
*.lockunder.git/(for example, older than a minute, with one git operation per install), not a fixed list. This also covers #1957. - When the update after install fails, tell the user, and retry on the next launch instead of reporting success.
- Retry a failed uv resolve once against pypi.org.
- Sync the GCS mirror on each environment release, and alert when it drifts from R2.
- Record the reason for a failed post-install update in telemetry.
- Dominant language
- TypeScript
- Stars
- 696
- Forks
- 89
- Avg merge
- 17h 45m
- Merged PRs (30d)
- 209
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Comfy-Org/Comfy-Desktop
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Comfy-Org/Comfy-Desktop#2036 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Comfy-Org/Comfy-Desktop#2035 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Comfy-Org/Comfy-Desktop#2033 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Comfy-Org/Comfy-Desktop#1957 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Bug] `useChineseMirrors` is ineffective: uv prioritises `--extra-index-url` over `--index-url`, so packages still download from pypi.orgPossibly taken @OrangerXu claimed this 31 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Comfy-Org/Comfy-Desktop#1660 ·
Maintainers usually reply within 1 day
All issues in Comfy-Org/Comfy-Desktop
Similar issues
-
Wallet functions throws TypeError when the wallet has no account IDPossibly taken @Medhansh-741 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
hiero-ledger/hiero-sdk-js#4781 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dataforgoodfr/mediterranean-rescue#91 ·
Maintainers usually reply within 1 day
-
transformer-directives: `@apply` drops a utility whose CSS is a substring of an earlier one'sPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Add: KRT TVOpenapproved check:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 65/100
iptv-org/iptv#58647 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
milind-soni/OpenMausBot#5829 ·
Maintainers usually reply within 1 day