e2e tests fail if external license website is unreachable
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
Start with e2e/about.spec.js around line 99 and review the linked CircleCI failure and the external license URLs. Compare the proposed redirect, local-copy, and timeout-handling approaches, including the legal concern, before agreeing on a direction. Done means the chosen behavior is implemented and external license-site outages no longer unexpectedly block e2e CI.
索引モデルが issue の本文から書いたものです。
説明
We have started to automatically check that license links in the <about-dialog> are valid, by resolving the link and checking the response status.
For license links that forward to an external website, this means we are depending on whether that external website is online. If an external license page is down, our e2e CI job fails and can block PRs.
For example, at the time of that writing, the git server of libwebsockets appears to be down, i.e. everything under https://libwebsockets.org/git/ is unresponsive. The URL path itself still seems valid, as it’s used for links on the libwebsockets homepage (which is up). Any e2e CI job currently fails after a 30s timeout.
Solutions
Ideas:
- (a) We just accept that this happens from time to time.
- In this case, we could consider making the e2e test so that it fails immediately, without 30s timeout, and outputs clear logging to explain this corner-case.
- (b) We stop following redirects when resolving the license links.
- This, however, can produce false positives, because if e.g. a remote address is moved, we wouldn’t notice.
- (c) We don’t make use of external redirects anymore, but manually copy and distribute the license copy as local file.
- We would have to repeat this process whenever we bump a dependency version, however.
We currently rely on 10 external license URLs (in Pro).
Another aspect to consider is whether we strictly comply with legal requirements by just linking to external websites for the licenses, as we can’t ensure that they will be reachable at all times forever.
- 主要言語
- Python
- スター
- 3.5k
- フォーク
- 292
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tiny-pilot/tinypilot のほかの issue
-
bug medium
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
tiny-pilot/tinypilot#1419 ·
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
tiny-pilot/tinypilot#1961 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1929 · コメント 3 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1899 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tiny-pilot/tinypilot#1896 ·
tiny-pilot/tinypilot の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NousResearch/hermes-agent#140958 ·
メンテナーはふだん 1 日以内に返信
-
Bisect issue233186オープンbisect
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dtcxzyw/llvm-bisect-service#548 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sallowayma-git/IELTS-practice#248 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
anthropics/claude-plugins-official#6763 · コメント 10 件 · リアクション 10 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信