Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

@clerk/upgrade stalls on binary build artifacts

Offen
#8,323 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
bun, typescript

Rechercherichtung

Beginne damit, den Stillstand mit bun x @clerk/upgrade --dry-run im verknüpften tauri-plugin-clerk-Repository zu reproduzieren, und vergleiche Läufe mit und ohne examples/react-example/src-tauri/target/debug. Verwende das verknüpfte Gist und die Scan-Ausgabe, um den Einstiegspunkt des Scans zu finden. Done sollte die Verarbeitung von Binär-Build-Artefakten ohne Stillstand umfassen; der Spinner-Pfad, die standardmäßigen Ignore-Globs und die Unterstützung von .gitignore sind als zusätzliches oder optionales Verhalten aufgeführt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
TypeScript
Sterne
1.8k
Forks
472
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
222

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus clerk/javascript

Alle Issues in clerk/javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.