Reuse remote cache entries across main and pull requests, safely
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 12/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- build-system, cloud, security
调研方向
This is a design tracking issue with no files, tests or entry points named. Read the linked remote-cache issues (vite-plus-remote-cache-cloudflare#42 and #16) and the vite-task remote cache code they refer to, to learn how entries are keyed and uploaded. Done would mean an agreed design for per-branch cache scoping, which needs maintainer input before any code change.
由索引模型根据 Issue 内容生成。
描述
Part of voidzero-dev/vite-task#930.
Goal
Make remote cache entries reusable across main and pull requests, safely. A pull request reuses main's entries, even when it's behind main, and its own entries from earlier runs. Nothing a pull request stores reaches main.
Today the remote cache keeps one entry per task, so a run misses unless its input state is the one stored last (voidzero-dev/vite-plus-remote-cache-cloudflare#42). Pull requests can't upload safely either, because their entries would land with the ones main restores (CREEP).
Issues
- voidzero-dev/vite-plus-remote-cache-cloudflare#42 One entry per task, so branches overwrite each other's results
- voidzero-dev/vite-plus-remote-cache-cloudflare#16 Scope pull request uploads to the pull request
- 主要语言
- Rust
- 星标
- 485
- 派生
- 51
- 平均合并
- 23 小时 40 分钟
- 30 天内合并 PR
- 55
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
voidzero-dev/vite-task 的其他 Issue
-
fspy linux backend
难度 5/5 一周以上 新手友好度 6/100
voidzero-dev/vite-task#932 ·
维护者通常 1 天内回复
-
remote cache
难度 5/5 一周以上 新手友好度 5/100
voidzero-dev/vite-task#930 ·
维护者通常 1 天内回复
-
read-write overlap
难度 5/5 一周以上 新手友好度 5/100
voidzero-dev/vite-task#929 ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 50/100
voidzero-dev/vite-task#928 ·
维护者通常 1 天内回复
-
remote cache
难度 4/5 3-5 天 新手友好度 32/100
voidzero-dev/vite-task#926 ·
维护者通常 1 天内回复
查看 voidzero-dev/vite-task 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
gitbutlerapp/gitbutler#16982 ·
维护者通常 1 天内回复
-
priority: high status: new topic: ga4gh-sdk type: docs type: maintenance workload: minutes
难度 2/5 1-3 小时 新手友好度 78/100
-
C-bug
难度 2/5 1-3 小时 新手友好度 68/100
rust-lang/rust-clippy#17976 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
aaif-goose/goose#13327 ·
维护者通常 1 天内回复
-
llm translation
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复