Make the number of parallel code-host requests configurable (git config stack.codeHostConcurrency)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
codeHostConcurrency と、stack.trunks および stack.blockLink の既存の Git 設定処理を探します。未設定時のデフォルト値 4 を維持したまま stack.codeHostConcurrency のサポートを追加し、コードホストへのリクエストが設定された制限を使用すること、またデフォルトでは既存の動作が変わらないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
What I'd like
A way to control how many requests stack makes to the code host at the same time, set through git config like the other options — for example:
git config stack.codeHostConcurrency 2
Why
Right now stack fires several code-host requests in parallel (it looks like 4 at a time). In my setup, that burst of simultaneous requests is too much and the calls start timing out, so stack fails partway through.
If I could set the number myself, I could find the sweet spot that works for me — maybe 3 or 2 is enough, and 1 as a worst case. Being able to tune it means stack finishes reliably instead of failing on the burst.
How I imagine it working
The number already exists in the code (codeHostConcurrency, default 4) but isn't exposed. It could be read from git config the same way stack.trunks and stack.blockLink already are:
git config stack.codeHostConcurrency 2 # two requests at a time
git config stack.codeHostConcurrency 1 # one at a time
git config stack.codeHostConcurrency 4 # current default
If it's not set, keep the current default of 4 so nothing changes for existing users.
- 主要言語
- TypeScript
- スター
- 542
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kitlangton/stack のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
kitlangton/stack#53 ·
kitlangton/stack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
callstackincubator/simlock#639 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
aws/agentcore-cli#2606 ·
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
linagora/twake-mail-admin#301 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信