Repository navigation
Teste de reorganização usa o caminho real da pasta temporária [skip release] - #30
Merged
Merged
Conversation
…elease] O teste de checkout vinculado comparava o caminho vindo de tmpdir() com o devolvido pelo git, que resolve o nome curto do Windows (RUNNER~1) e o link simbólico do macOS (/var -> /private/var). Por isso o "GitWeb Build" falhava nesses dois sistemas e passava no Ubuntu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que muda
Corrige a falha do "GitWeb Build" no Windows e no macOS (execução 41957647565, PR #29).
O teste
skips a containing repository when it carries a linked checkout of another repositorycomparava o caminho vindo detmpdir()com o devolvido porgit rev-parse --show-toplevel. O git resolve o nome curto do Windows (RUNNER~1) e o link simbólico do macOS (/var→/private/var), então os textos divergiam mesmo apontando para a mesma pasta.O
beforeEachagora usarealpathSync.native. A mudança é só no teste; o código do app não muda.Como testar
Com
TEMP/TMPapontando para um nome curto 8.3, o teste falha namaincom o mesmo erro do CI e passa nesta branch. Também passa comTEMPpassando por uma junction, situação parecida com a do macOS. O macOS em si é conferido pelo CI deste PR.Checklist
npm run typecheckpassa emGitWeb/GitWeb/comvitest run --no-file-parallelism. Onpm testem paralelo não foi rodado nesta mudança; ele já teve estouros de tempo locais na preparação dos testes, por carga da máquina🤖 Generated with Claude Code