Reuse remote cache entries across main and pull requests, safely

オープン
#931 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust

調査の方向性

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 の本文から書いたものです。

説明

remote cache

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時間 20分
マージ済み PR(30日)
56

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voidzero-dev/vite-task のほかの issue

voidzero-dev/vite-task の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。