Skip to content

feat(lynx): 新增 Tailwind CSS 4 双端兼容性实验室 - #1084

Merged
sonofmagic merged 8 commits into
mainfrom
codex/lynx-tailwind-v4-compat
Aug 17, 2026
Merged

feat(lynx): 新增 Tailwind CSS 4 双端兼容性实验室#1084
sonofmagic merged 8 commits into
mainfrom
codex/lynx-tailwind-v4-compat

Conversation

@sonofmagic

@sonofmagic sonofmagic commented Aug 17, 2026

Copy link
Copy Markdown
Owner

变更概览

  • examples/react-lynx 扩展为 Tailwind CSS 4 兼容性实验室,覆盖 118 个静态 catalog case。
  • 增加真实生成 CSS、bundle encoder 和 Lynx 原生运行时证据,按 case 记录生成、打包、几何/交互/像素 checkpoint。
  • 增加 Android/iOS 原生 fixture、版本信息、报告校验、静态 gate、基线更新保护和页面过滤/导航。
  • 固定验证版本:Tailwind CSS 4.3.3、Lynx Engine 4.0.1、@lynx-js/css-defines 0.0.16;当前 ReactLynx compiler 可接受的 bundle engineVersion 为 3.9。

本地验收

  • pnpm --filter @weapp-tailwindcss/lynx test -- --coverage.enabled=false
  • pnpm e2e:lynx
  • pnpm e2e:lynx:android(本机 Android 11 / API 30 / arm64-v8a:54 supported,64 unsupported)
  • pnpm e2e:lynx:ios(本机 iOS 26.5 / arm64:53 supported,65 unsupported)

已提交的双端报告包含 catalog hash、版本、模拟器环境、验证时间和逐 case 结论;未使用运行时拼接 class,也未刷新不一致基线。

CI 说明

iOS hosted simulator 已成功(iPhone 16 Pro / iOS 18.5)。Ubuntu hosted runner 的 Android x86_64 软件模拟器已生成完整 artifact,但出现 System UI ANR/tombstoned 重启,导致 pixel 结论与本机 arm64 基线不同;该 artifact 保留用于诊断,未用于更新基线。Android 结论以本机 arm64 模拟器报告为准。

@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c71387b

The changes in this PR will be included in the next version bump.

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

@sonofmagic
sonofmagic force-pushed the codex/lynx-tailwind-v4-compat branch from 6cb8cd7 to 9f30a6a Compare August 17, 2026 09:58
@sonofmagic
sonofmagic merged commit a207a9b into main Aug 17, 2026
102 checks passed
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.

1 participant