Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

@clerk/upgrade stalls on binary build artifacts

Aperta
#8,323 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
bun, typescript

Direzione di ricerca

Inizia riproducendo il blocco con bun x @clerk/upgrade --dry-run nel repository tauri-plugin-clerk collegato, confrontando le esecuzioni con e senza examples/react-example/src-tauri/target/debug. Usa il gist collegato e l'output della scansione per individuare il punto di ingresso della scansione. Done dovrebbe includere la gestione degli artefatti binari di build senza bloccarsi; il percorso dello spinner, i glob di esclusione predefiniti e il supporto per .gitignore sono elencati come comportamenti aggiuntivi o opzionali.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
1.8k
Fork
472
Merge medio
2g 12h
PR unite (30g)
222

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di clerk/javascript

Tutte le issue di clerk/javascript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.