mirror of
https://github.com/Comfy-Org/ComfyUI-Standalone-Environments.git
synced 2026-11-04 23:47:22 +00:00
[GH-ISSUE #10] GCS mirror sync does not cover torch-index-stacks.json (or anything published outside the env build) #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Standalone-Environments#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kosinkadink on GitHub (Jul 25, 2026).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Standalone-Environments/issues/10
The desktop app falls back to a public GCS mirror when R2 is unreachable (regions where the R2 edge is throttled, e.g. China):
https://desktop-assets.comfy.org/standalone-environments/https://storage.googleapis.com/comfy-desktop-public/standalone-environments/The app's
r2Mirror.tsassumes the mirror is a 1:1 copy of the R2 namespace, "kept in sync at each release". However, nothing in this repo performs that sync - both workflows (build-standalone-env.ymland the newpublish-torch-index-stacks.ymlfrom #9) only write to R2. The mirror is presumably synced by an outside process.Problem
Once #9 lands,
torch-index-stacks.jsonwill be replaced in-place on R2 whenever the manifest changes - decoupled from env releases. If the mirror sync only runs at env-release time (or doesn't know about this object at all), mirror-dependent users get a stale PyTorch stack manifest indefinitely. That's worse than it sounds for two cases:Options
publish-torch-index-stacks.yml- upload the same file to the mirror bucket right after the R2 upload. Needs GCS credentials as repo secrets. Most direct; keeps the two objects atomically close in time.rsyncofstandalone-environments/, which also removes the per-object bookkeeping).rsync-style job mirroring the whole prefix on a cron. Covers all current and future objects but adds propagation delay.Option 1 (plus keeping the archive sync wherever it lives today) is probably the smallest correct fix; whoever owns the current mirror-sync process should weigh in.
Acceptance
torch-index-stacks.jsononmainreaches both R2 and the GCS mirror without manual steps.Refs: #9, Comfy-Org/Comfy-Desktop#1248
@coderabbitai[bot] commented on GitHub (Jul 25, 2026):
🔗 Related PRs
Comfy-Org/ComfyUI-Standalone-Environments#9 - Add torch-index-stacks.json manifest with validated R2 publishing [open]
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!