@clerk/upgrade stalls on binary build artifacts
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
- Bereich
- build-system, tooling
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
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.8k
- Forks
- 472
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 222
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus clerk/javascript
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
clerk/javascript#9611 · 1 Kommentar ·
-
clerk/javascript#9891 · 1 zugewiesene Person ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
clerk/javascript#9775 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
clerk/javascript#9770 · 3 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
clerk/javascript#9667 · 1 Kommentar ·
Alle Issues in clerk/javascript
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
mksglu/context-mode#1200 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
anthropics/claude-code#96687 ·
-
good first issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
AOSSIE-Org/DebateAI#582 · 2 Kommentare ·