Skip to content

feat: experimental support of MTC #1530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from
Draft

feat: experimental support of MTC #1530

wants to merge 38 commits into from

Conversation

gaoachao
Copy link
Collaborator

@coderabbitai summary

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
  • Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).

Copy link

changeset-bot bot commented Aug 14, 2025

⚠️ No Changeset found

Latest commit: 8440ff7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented Aug 14, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/ship-mtc

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

codecov bot commented Aug 14, 2025

❌ 70 Tests Failed:

Tests completed Failed Passed Skipped
2499 70 2429 31
View the top 3 failed test(s) by shortest run time
packages/react/testing-library/src/__tests__/end-to-end.test.jsx > src/__tests__/end-to-end.test.jsx
Stack Traces | 0s run time
Error: Failed to resolve import "../../../...../src/api/element.js" from ".../mtc/api/element.js". Does the file exist?
  Plugin: vite:import-analysis
  File: /home/runner/_work/lynx-stack/lynx-stack/.../mtc/api/element.js:5:24
  2  |  // Licensed under the Apache License Version 2.0 that can be found in the
  3  |  // LICENSE file in the root directory of this source tree.
  4  |  export { Element } from '../../../...../src/api/element.js';
     |                           ^
  5  |  
 ❯ TransformPluginContext._formatError ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49159:41
 ❯ TransformPluginContext.error ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49154:16
 ❯ normalizeUrl ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:63936:23
 ❯ ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:64068:39
 ❯ TransformPluginContext.transform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:63995:7
 ❯ PluginContainer.transform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49000:18
 ❯ loadAndTransform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:51822:27
packages/react/testing-library/src/__tests__/lynx.test.jsx > src/__tests__/lynx.test.jsx
Stack Traces | 0s run time
Error: Failed to resolve import "../../../...../src/api/element.js" from ".../mtc/api/element.js". Does the file exist?
  Plugin: vite:import-analysis
  File: /home/runner/_work/lynx-stack/lynx-stack/.../mtc/api/element.js:5:24
  2  |  // Licensed under the Apache License Version 2.0 that can be found in the
  3  |  // LICENSE file in the root directory of this source tree.
  4  |  export { Element } from '../../../...../src/api/element.js';
     |                           ^
  5  |  
 ❯ TransformPluginContext._formatError ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49159:41
 ❯ TransformPluginContext.error ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49154:16
 ❯ normalizeUrl ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:63936:23
 ❯ ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:64068:39
 ❯ TransformPluginContext.transform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:63995:7
 ❯ PluginContainer.transform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49000:18
 ❯ loadAndTransform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:51822:27
packages/react/testing-library/src/__tests__/remove-element.test.jsx > src/__tests__/remove-element.test.jsx
Stack Traces | 0s run time
Error: Failed to resolve import "../../../...../src/api/element.js" from ".../mtc/api/element.js". Does the file exist?
  Plugin: vite:import-analysis
  File: /home/runner/_work/lynx-stack/lynx-stack/.../mtc/api/element.js:5:24
  2  |  // Licensed under the Apache License Version 2.0 that can be found in the
  3  |  // LICENSE file in the root directory of this source tree.
  4  |  export { Element } from '../../../...../src/api/element.js';
     |                           ^
  5  |  
 ❯ TransformPluginContext._formatError ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49159:41
 ❯ TransformPluginContext.error ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49154:16
 ❯ normalizeUrl ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:63936:23
 ❯ ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:64068:39
 ❯ TransformPluginContext.transform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:63995:7
 ❯ PluginContainer.transform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:49000:18
 ❯ loadAndTransform ../../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]..../node/chunks/dep-BzOvws4Y.js:51822:27

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Copy link

codspeed-hq bot commented Aug 15, 2025

CodSpeed Performance Report

Merging #1530 will not alter performance

Comparing feat/ship-mtc (27e4fdc) with main (1411de6)

Summary

✅ 10 untouched benchmarks

Copy link

relativeci bot commented Aug 15, 2025

React Example

#4458 Bundle Size — 117.04KiB (-50.63%).

27e4fdc(current) vs 1411de6 main#4452(baseline)

Warning

Bundle introduced 2 new packages: @preact/signals, @preact/signals-core – View changed packages

Bundle metrics  Change 6 changes Regression 2 regressions
                 Current
#4458
     Baseline
#4452
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 0%
No change  Chunks 0 0
Change  Assets 1(-75%) 4
Change  Modules 180(+13.92%) 158
Regression  Duplicate Modules 77(+20.31%) 64
Change  Duplicate Code 46.47%(+1.4%) 45.83%
Regression  Packages 4(+100%) 2
No change  Duplicate Packages 0 0
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#4458
     Baseline
#4452
Regression  Other 117.04KiB (+28.2%) 91.3KiB
Improvement  IMG 0B (-100%) 145.76KiB

Bundle analysis reportBranch feat/ship-mtcProject dashboard


Generated by RelativeCIDocumentationReport issue

Copy link

relativeci bot commented Aug 15, 2025

Web Explorer

#4451 Bundle Size — 366.68KiB (0%).

27e4fdc(current) vs 1411de6 main#4445(baseline)

Bundle metrics  Change 1 change
                 Current
#4451
     Baseline
#4445
No change  Initial JS 143.49KiB 143.49KiB
No change  Initial CSS 31.84KiB 31.84KiB
No change  Cache Invalidation 0% 0%
No change  Chunks 7 7
No change  Assets 7 7
Change  Modules 212(+0.47%) 211
No change  Duplicate Modules 17 17
No change  Duplicate Code 3.89% 3.89%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#4451
     Baseline
#4445
No change  JS 234.68KiB 234.68KiB
No change  Other 100.16KiB 100.16KiB
No change  CSS 31.84KiB 31.84KiB

Bundle analysis reportBranch feat/ship-mtcProject dashboard


Generated by RelativeCIDocumentationReport issue

@Huxpro Huxpro changed the title feat: ship MTC feat: experimental support of MTC Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants