Upload a build once and install it on many leases
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 24/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
Start by reading packages/remote/src/upload-client.ts and packages/daemon/src/server/resumable-upload.ts, then trace how agent-device installs builds and how leases expose files. The issue leaves the upload audience, storage location, retention, disk limits, and access rules open, so clarify those design choices before implementation; done means one build can be uploaded once and installed across many leases.
由索引模型根據 Issue 內容生成。
描述
Request: #945
Problem
A CI run that installs one build on many leased devices sends it once per lease. budgie's e2e suite (budgie-at/budgie#1867) uploads the same .app through the gateway for each of 10 leases. A request past 100 s ends in a Cloudflare 524, so it uploads at most 3 at a time, and about 4 of the run's 15 minutes are setup.
Split from #1636 in its spec session of 2026-11-30: folders and app container files share no design with it. Found there:
- budgie and
@simlock/e2einstall through agent-device's own upload, not through a lease's files, so a shared upload saves them nothing unless that install step uses it. - agent-device's client sends the build's SHA-256 before each upload and accepts an answer that skips it (
packages/remote/src/upload-client.ts). Its daemon never gives that answer (cacheHit: false,packages/daemon/src/server/resumable-upload.ts), both at v0.21.41. - With one lease per worker, as budgie has, one copy per worker saves nothing: the build has to be kept on the gateway. Today a gateway holds no file.
Who it is for
A CI run that installs one build on many leased devices of a farm reached over a slow or limited link.
Open questions
- Is the shared upload for agent-device users (answer its SHA-256 question), for lease files, or for both?
- Where the build lives (gateway, worker or both), how long it is kept, how much disk it may take, and who may install from it.
Written by an agent.
- 主要語言
- TypeScript
- 星號
- 730
- 分支
- 44
- 平均合併
- 15 小時 28 分鐘
- 30 天內合併 PR
- 387
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
callstackincubator/simlock 的其他 Issue
-
bug:new
難度 2/5 1-3 小時 新手友好度 73/100
callstackincubator/simlock#2088 ·
維護者通常 1 天內回覆
-
bug:new
難度 2/5 1-3 小時 新手友好度 64/100
callstackincubator/simlock#2080 · 1 則留言 ·
維護者通常 1 天內回覆
-
task:ready
難度 4/5 3-5 天 新手友好度 52/100
callstackincubator/simlock#2079 ·
維護者通常 1 天內回覆
-
platform:ios task:ready
難度 5/5 一週以上 新手友好度 18/100
callstackincubator/simlock#2078 ·
維護者通常 1 天內回覆
-
iOS copy: keep the app database at the copy's own UDID可能已有人在做 @V3RON 今天認領。 未關閉platform:ios task:ready
callstackincubator/simlock#2077 · 2 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 callstackincubator/simlock 的全部 Issue
相似的 Issue
-
prio:low scope:hud
難度 2/5 1-3 小時 新手友好度 78/100
OliverRomhagen/vrigstad-joyride#953 ·
維護者通常 1 天內回覆
-
review-followup
難度 1/5 1 小時以內 新手友好度 92/100
griffinwork40/agent-afk#5446 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 65/100
kacper-szewczyk/Ticknest#346 ·
維護者通常 1 天內回覆
-
echarts geo: a GeoJSON URL that returns 200 with a body that is not JSON is fetched on each refresh未關閉bug plugin/echarts/geo
難度 2/5 1-3 小時 新手友好度 86/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 79/100
Yeachan-Heo/gajae-code#8230 ·
維護者通常 1 天內回覆