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

@clerk/upgrade stalls on binary build artifacts

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
bun, typescript

調査の方向性

リンクされた tauri-plugin-clerk リポジトリで bun x @clerk/upgrade --dry-run を使って停止を再現することから始め、examples/react-example/src-tauri/target/debug の有無で実行結果を比較します。リンクされた gist とスキャン出力を使って、スキャンのエントリーポイントを特定します。Done には、停止せずにバイナリのビルド成果物を処理することを含める必要があります。spinner のパス、デフォルトの ignore glob、および .gitignore のサポートは、追加またはオプションの動作として記載されています。

索引モデルが issue の本文から書いたものです。

説明

needs-triage
Preliminary Checks
Reproduction

https://gist.github.com/rofinn/34747e70ad8ecadd03f76d0d4200dfd9

Publishable key

N/A

Description

Running clerk/upgrade --dry-run in a monorepo containing cargo build artifacts causes the scan step to stall trying to analyze binary build files. The linked github gist includes the steps to reproduce with shell output.

Steps to reproduce:

  1. Clone https://github.com/Nipsuli/tauri-plugin-clerk.git (or any repo that may produced binary build artifacts)
  2. Generated the build artifacts. In the example, this was running cargo build in examples/react-example/src-tauri.
  3. Run time bun x @clerk/upgrade --dry-run from the examples/react-example directory (to mimic a monorepo).
  4. Kill the scan after it stalls
  5. Delete the examples/react-example/src-tauri/target/debug directory and rerun
  6. You'll notice it completes fine.

Expected behavior:

I would have expected the scanning step to focus on text files that contain potential code issues. I understand that just relying on extensions isn't the most reliable if you want to catch issues in scripts or markdown files, but I think it should be able to identify and catch binary build artifacts.

Actual behavior:

I think the desired behaviour has 4 components.

  1. The scan file spinner should probably give the full relative path to make it easier to spot when this is happening. Some build artifacts can have pretty opaque names.
  2. I think we should be able to detect binary files as part of the scan.
  3. (Optional) Broaden the default ignore globs include include common build output directories
  4. (Optional) It'd be nice if the scanner picked up existing .gitignore rules
Environment
N/A. Can be reproduced in any repo with binary build artifacts.
主要言語
TypeScript
スター
1.8k
フォーク
472
平均マージ
2日 12時間
マージ済み PR(30日)
222

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

clerk/javascript のほかの issue

clerk/javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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