mirror of
https://github.com/Comfy-Org/download-data.git
synced 2026-11-05 00:17:20 +00:00
[GH-ISSUE #7] Migrate data fetch + storage to Google Cloud (Cloud Run + GCS) #4
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/download-data#4
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 @benceruleanlu on GitHub (Nov 9, 2025).
Original GitHub issue: https://github.com/Comfy-Org/download-data/issues/7
Priority
High — move off GitHub Actions + local SQLite to Google Cloud.
Background
data/downloads.db(SQLite)..github/workflows/fetch-data.ymlscripts/fetch-data.mjsapp/api/downloads/daily/route.tsGoals
DAILY_CUTOFF_UTCand current logic.Proposal (Option A — recommended, minimal code risk)
PAT(GitHub token).DAILY_CUTOFF_UTC).downloads/daily_summary.jsondownloads/backfill_events.jsondownloads/asset_daily_stats.jsonlfor debugging.better-sqlite3in API with simple fetch/parsing of GCS JSON.Alternatives
Acceptance Criteria
Tasks
.github/workflows/fetch-data.ymlReferences
scripts/fetch-data.mjs(getBucketDate, DAILY_CUTOFF_UTC)app/api/downloads/daily/route.ts.github/workflows/fetch-data.yml