Allow specific kinds for sequences
まだ誰も着手していません。
評価
調査の方向性
Start by locating SequenceOpts and the sequence enforcement path. Trace how ExcludeKind currently selects kinds, then define IncludedKinds behavior for the listed user:* jobs and verify both the new selection and existing defaults.
索引モデルが issue の本文から書いたものです。
説明
We currently have the following options for sequences:
return riverpro.SequenceOpts{
ByArgs: true,
ContinueOnCancelled: true,
ContinueOnDiscarded: true,
ByQueue: false,
ExcludeKind: true,
}
By default, sequences are enforced for each job kind unless we set ExcludeKind: true, so they are enforced across all job kinds. It would be nice to have an IncludedKinds []JobArgs parameter so we can specify a list of kinds we want to include for the sequence instead of having to do everything or just one.
For example, I have the jobs user:add, user:update, user:delete, user:process jobs, but I only want one of these to be running at any given time. Right now, you would need to have a single user:operate to achieve that.
- 主要言語
- Go
- スター
- 5.7k
- フォーク
- 179
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 12
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
riverqueue/river のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
riverqueue/river#1358 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
riverqueue/river#1258 · コメント 7 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
riverqueue/river#1225 · コメント 14 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
riverqueue/river#1185 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
riverqueue/river#1183 · リアクション 2 件 ·
riverqueue/river の issue をすべて見る
似ている issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microsoft/agent-framework-go#1179 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
infiniflow/ragflow#20223 · リアクション 1 件 ·
-
bug needs triage pkg/translator/faro
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · コメント 1 件 ·