chore(deps): update tinyglobby and use isDynamicPattern#6600
chore(deps): update tinyglobby and use isDynamicPattern#6600hi-ogawa wants to merge 4 commits intovitest-dev:mainfrom
isDynamicPattern#6600Conversation
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
FYI I've just released a |
isDynamicPatternisDynamicPattern
|
@SuperchupuDev It looks like this exotic case #6274 (comment) came back as failing/timeout? I ran it locally on my Linux PC and this indeed gets stack. |
|
interesting, i'll take a look tomorrow. meanwhile, can you try to tell me the exact glob usage that makes it get stuck? basically a minimal repro |
|
@SuperchupuDev I tried a repro but it looks quite puzzling. It's likely that this is related to the scenario like SuperchupuDev/tinyglobby#53, but behavior-wise, it's same as v0.2.6, so maybe something happened internally which is affecting performance of large I can only reproduce the difference between CI is passing for Mac and Windows, but this is because the test is skipped on CI, so I would assume the issue is same for non Linux too: vitest/test/reporters/tests/custom-reporter.spec.ts Lines 27 to 31 in 2a50464 |
|
i think i know what's going on, node_modules are linked to each other when using pnpm, making |
|
@hi-ogawa can you tell me if it works using |
|
@SuperchupuDev Thanks for quick follow up. I confirmed https://pkg.pr.new/tinyglobby@1f1fa12 is working locally. I'll push it here to check CI now. |
Good spot. That might be it since we have a cyclic workspace warning by pnpm like this: |
|
great, glad that it works. i've just released |
|
@hi-ogawa fyi i've just released |
|
Closing as per #6688 |
Description
Replaced
isDynamicPatternwith the one from tinyglobby. It also fixes a symlink issue reported by storybook #6274 (comment)Thanks @SuperchupuDev for the new release!
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.