browse: two macOS/Windows follow-ups from the #3448 review (post-upgrade refusal with a persistent BROWSE_PROXY_URL=direct; unparseable-variable warning wording)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with browse/src/cli.ts and browse/src/proxy-config.ts, then read the related tests, proxy-config.test.ts, and BROWSER.md. Check how ensureServer orders the version and config hash checks, and how resolveProxy builds its warning across platforms. Done means both upgrade refusal behavior and the non-Linux warning match the described proxy behavior, with the platform case covered by tests.
索引モデルが issue の本文から書いたものです。
説明
Two low-confidence red-team notes from the /ship review of #3448 (the --proxy-server=direct:// launch fix for #3440 item 8), filed as a follow-up on GStack Minder's direction. Both are macOS/Windows only, where BROWSE_PROXY_URL=direct is part of the daemon config hash and bypasses the system proxy settings.
1. A persistent BROWSE_PROXY_URL=direct meets a refusal, not an auto-restart, on the first command after upgrading past #3448
ensureServer in browse/src/cli.ts checks state.configHash against the session's hash before the binary-version auto-restart ("Binary updated, restarting server..."). A daemon started by an older gstack hashed a plain no-proxy config; the new CLI with BROWSE_PROXY_URL=direct set hashes {direct:true}, so the first command exits 1 with the BROWSE_PROXY_URL differs refusal (both sides read "no proxy", which is confusing, though the browse stop remedy is printed) instead of restarting the daemon. One-time cost per upgrade; the same ordering already applied to headed mismatches. Options: hoist the version check above the hash check, or skip an explicit-direct-only mismatch when state.binaryVersion differs and the state has no proxyDirect field.
2. The unparseable-variable warning says "browse connects directly" where Chromium follows the system proxy
resolveProxy in browse/src/proxy-config.ts (~line 321) warns ... so browse connects directly for a curl-style or unsupported HTTPS_PROXY. On Linux that is true (the launch carries --proxy-server=direct://). On macOS and Windows no switch is passed, so Chromium follows the system proxy settings (PAC/WPAD included); only BROWSE_PROXY_URL=direct makes it direct there. The hint already says that setting it "also makes Chromium bypass the system proxy settings", and BROWSER.md hedges the sentence, but the runtime message itself is not platform-aware. Fix: pass the platform into resolveProxy (or branch where the warning is built) and say on non-Linux "browse sets no proxy, so Chromium follows the system proxy settings; set BROWSE_PROXY_URL=direct to bypass them". proxy-config.test.ts pins the warning prefix, so the test needs the platform case too.
Related: #3440, #3448, #3450.
- 主要言語
- TypeScript
- スター
- 143k
- フォーク
- 21k
- 平均マージ
- 5時間 25分
- マージ済み PR(30日)
- 791
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
garrytan/gstack のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
garrytan/gstack#4971 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
garrytan/gstack#4768 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 3/5 1〜2日 初心者へのやさしさ 60/100
garrytan/gstack#4766 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
S3
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
garrytan/gstack#4765 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement S3
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
garrytan/gstack#4764 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
garrytan/gstack の issue をすべて見る
似ている issue
-
bug Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
scottbenton/Iron-Link#541 ·
メンテナーはふだん 1 日以内に返信
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#8161 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nicobailon/pi-subagents#3420 ·
メンテナーはふだん 1 日以内に返信
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yオープン01 type: bug 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 2 日以内に返信