@clerk/upgrade stalls on binary build artifacts
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 52/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- bun, typescript
- Domínio
- build-system, tooling
Direção de pesquisa
Comece reproduzindo a interrupção com bun x @clerk/upgrade --dry-run no repositório tauri-plugin-clerk vinculado, comparando execuções com e sem examples/react-example/src-tauri/target/debug. Use o gist vinculado e a saída da varredura para localizar o ponto de entrada da varredura. Done deve incluir o tratamento de artefatos binários de build sem interromper; o caminho do spinner, os globs de ignore padrão e o suporte a .gitignore estão listados como comportamentos adicionais ou opcionais.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 1.8k
- Forks
- 472
- Merge médio
- 2d 12h
- PRs com merge (30d)
- 222
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de clerk/javascript
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
clerk/javascript#9611 · 1 comentário ·
-
clerk/javascript#9891 · 1 responsável ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 64/100
clerk/javascript#9775 · 1 comentário ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
clerk/javascript#9770 · 3 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
clerk/javascript#9667 · 1 comentário ·
Todas as issues de clerk/javascript
Issues semelhantes
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
-
Crush Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
ElementsProject/cln-application#167 · 1 comentário · 1 reação ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Quantco/pnpm-licenses#17 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100