Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

e2e tests fail if external license website is unreachable

オープン
#1,686 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
ci-cd, testing

調査の方向性

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 の本文から書いたものです。

説明

bug

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.

Screenshot 2023-11-21 at 19 23 09

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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tiny-pilot/tinypilot のほかの issue

tiny-pilot/tinypilot の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。