Improve `getResolvedSiteConfigPath` error message logic
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- build-system
調査の方向性
リンク先の行にある tools/webpack/utils/getResolvedSiteConfigPath.ts から始め、SITE_CONFIG_PATH と defaultPath がどのようにチェックされるかを追跡します。現在の動作を issue の表にある各ケースと比較し、選択されたパスとエラーメッセージがそれらの結果と一致することを確認します。
索引モデルが issue の本文から書いたものです。
説明
When SITE_CONFIG_PATH is set but invalid, it silently falls through to try the default path instead of erroring immediately.
This means for the following flows:
SITE_CONFIG_PATH defined |
SITE_CONFIG_PATH exists |
defaultPath exists |
Result |
|---|---|---|---|
| ✅ | ✅ | N/A | No error. Site config path returned. |
| ✅ | ❌ | ✅ | No error. Default path returned. |
| ✅ | ❌ | ❌ | Error saying env var path is invalid, no mention of default path. |
| ❌ | ❌ | ✅ | No error. Default path returned. |
| ❌ | ❌ | ❌ | Error saying default path is invalid. |
The main issue here is that the error messaging doesn't accurately reflect what's happening. No mention of falling back to the default path, and only showing the env var error message when both the env var path and the default path are invalid.
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 13
- 平均マージ
- 3日 5時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openedx/frontend-base のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openedx/frontend-base#330 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
openedx/frontend-base#327 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
openedx/frontend-base#350 ·
-
External routes ignore params対応中かも @arbrandes が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
openedx/frontend-base#349 · 担当者 1 名 ·
-
A site cannot override an installed app's route for a role with an external route対応中かも @arbrandes が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
openedx/frontend-base#348 · 担当者 1 名 ·
openedx/frontend-base の issue をすべて見る
似ている issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openclaw/openclaw#200365 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
effort: small good first issue priority: medium testing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
TMHSDigital/screencast-mcp#351 ·
メンテナーはふだん 1 日以内に返信
-
area-templates triage:bot-seen triage:needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/aspire#22356 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Archiving an agent that is not loaded keeps its old updatedAt対応中かも @luoph が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
content triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信