Conversation
🦋 Changeset detectedLatest commit: ff6b5dc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Web Explorer#7557 Bundle Size — 383.72KiB (0%).ff6b5dc(current) vs bf1a177 main#7552(baseline) Bundle metrics
Bundle size by type
|
| Current #7557 |
Baseline #7552 |
|
|---|---|---|
252.83KiB |
252.83KiB |
|
95.85KiB |
95.85KiB |
|
35.05KiB |
35.05KiB |
Bundle analysis report Branch colinaaa:colin/0130/vitest-v4 Project dashboard
Generated by RelativeCI Documentation Report issue
``` × TS2468: Cannot find global value 'Promise'. File: ./src/__tests__/index.test.tsx:10:13 ```
```
TypeCheckError: No overload matches this call.
The last overload gave the following error.
Type 'Plugin<any>' is not assignable to type 'PluginOption'.
Type 'import("/home/runner/_work/lynx-stack/lynx-stack/node_modules/.pnpm/rollup@4.57.0/node_modules/rollup/dist/rollup").Plugin<any>' is not assignable to type 'import("/home/runner/_work/lynx-stack/lynx-stack/node_modules/.pnpm/vite@7.3.1_@types+node@24.6.1_jiti@2.6.1_sass-embedded@1.90.0_sass@1.90.0_terser@5.31.6_yaml@2.8.1/node_modules/vite/dist/node/index", { with { "resolution-mode" "import" } }).Plugin<any>' with 'exactOptionalPropertyTypes true'. Consider adding 'undefined' to the types of the target's properties.
Types of property 'resolveId' are incompatible.
Type 'ObjectHook<(this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; importerAttributes? Record<string, string> | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>, { ...; }>' is not assignable to type 'ObjectHook<(this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; ssr? boolean | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>, { ...; }>'.
Type '{ handler (this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; importerAttributes? Record<...> | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>; order? "pre" | ... 1 more ... | null; } & { ...; }' is not assignable to type 'ObjectHook<(this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; ssr? boolean | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>, { ...; }>'.
Type '{ handler (this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; importerAttributes? Record<...> | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>; order? "pre" | ... 1 more ... | null; } & { ...; }' is not assignable to type '{ handler (this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; ssr? boolean | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>; order? "pre" | ... 1 more ... | null; } & { ...; }' with 'exactOptionalPropertyTypes true'. Consider adding 'undefined' to the types of the target's properties.
Type '{ handler (this PluginContext, source string, importer string | undefined, options { attributes Record<string, string>; custom? CustomPluginOptions; importerAttributes? Record<...> | undefined; isEntry boolean; }) => ResolveIdResult | Promise<...>; order? "pre" | ... 1 more ... | null; } & { ...; }' is not assignable to type '{ filter? { id? StringFilter<RegExp>; }; }' with 'exactOptionalPropertyTypes true'. Consider adding 'undefined' to the types of the target's properties.
The types of 'filter.id' are incompatible between these types.
Type 'StringFilter<RegExp> | undefined' is not assignable to type 'StringFilter<RegExp>'.
Type 'undefined' is not assignable to type 'StringFilter<RegExp>'.
❯ packages/rspeedy/plugin-config/vitest.config.ts:18:5
```
| const runnerMode = getCodspeedRunnerMode(); | ||
| const config = { | ||
| test: { | ||
| + execArgv: getV8Flags(), // For Vitest v4 |
There was a problem hiding this comment.
CodSpeed Performance ReportMerging this PR will degrade performance by 10.08%Comparing Summary
Performance Changes
Footnotes
|
|
It looks like all the CI pipelines are passing except 100% coverage for I'll adopt the |
See: https://vitest.dev/guide/migration
@coderabbitai summary
Checklist