@clerk/upgrade stalls on binary build artifacts
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
- Ambito
- build-system, tooling
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
Preliminary Checks
-
I have reviewed the documentation: https://clerk.com/docs
-
I have searched for existing issues: https://github.com/clerk/javascript/issues
-
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
-
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
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:
- Clone https://github.com/Nipsuli/tauri-plugin-clerk.git (or any repo that may produced binary build artifacts)
- Generated the build artifacts. In the example, this was running
cargo buildinexamples/react-example/src-tauri. - Run
time bun x @clerk/upgrade --dry-runfrom theexamples/react-exampledirectory (to mimic a monorepo). - Kill the scan after it stalls
- Delete the
examples/react-example/src-tauri/target/debugdirectory and rerun - 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.
- 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.
- I think we should be able to detect binary files as part of the scan.
- (Optional) Broaden the default ignore globs include include common build output directories
- (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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di clerk/javascript
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
clerk/javascript#9611 · 1 commento ·
-
clerk/javascript#9891 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
clerk/javascript#9775 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
clerk/javascript#9770 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
clerk/javascript#9667 · 1 commento ·
Tutte le issue di clerk/javascript
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mksglu/context-mode#1200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
AOSSIE-Org/DebateAI#582 · 2 commenti ·