Support incremental reruns
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- nodejs, typescript
- 領域
- tooling
調査の方向性
まず、store、changes array、watched paths に対する既存の TypeScript の処理を追跡します。task API を定義し、task:start/task:end イベント、task 固有の無効化、およびジェネレーターの再実行にまたがるメモ化された結果を検証します。filesystem-cache オプションは、初期実装のスコープ外であることが明示されています。
索引モデルが issue の本文から書いたものです。
説明
Currently, jumpgen has a store object for preserving arbitrary data between runs. When combined with the changes array, you can manually determine which data in your store has been invalidated, allowing you to know which parts of your generator need to be rerun.
With a new API, we could make this less of a hassle.
- Add
taskfunction that takes anamestring and a callback. - When a task starts and ends, a
"task:start"or"task:end"event is emitted with the task name. - Any paths watched from within a task's callback will only invalidate that task when changed.
- When your generator reruns, some tasks may not rerun and instead will return a memoized result, if nothing they watched has changed.
- Optionally, you can specify that a task's result should be stored in a filesystem cache, rather than kept in memory. (This feature won't exist in the initial implementation)
- 主要言語
- TypeScript
- スター
- 22
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
alloc/jumpgen のほかの issue
-
Write some tests! オープンplanned
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
idea (not planned)
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
-
idea (not planned)
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
good first issue help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100