修正 H5 HostBridge 调用链门禁:邀请弹层下沉共享组件后的文件清单 #579

Merged
kdletters merged 1 commits from codex/profile-invite-gate-fix into master 2026-10-01 20:31:58 +08:00
Member

背景

#578 把邀请弹层从 src/components/platform-entry/PlatformProfileReferralModal.tsx 下沉到 packages/shared/src/components/PlatformProfileReferralModal/,但漏改了 scripts/check-native-shells.mjs 里 H5 HostBridge 调用链的必需文件清单,导致 CI 的 Native shell tests 失败:

Error: H5 HostBridge call chain scan is missing required files: src/components/platform-entry/PlatformProfileReferralModal.tsx

改动

  • 必需文件清单移除已删除的旧文件路径。
  • 补入 src/components/platform-entry/PlatformEntryActiveFlowShell.tsx:宿主剪贴板能力(canPasteFromNativeHostClipboard / readNativeHostClipboardText)现在在这里消费,扫描集合按“引用 wrapper 文件”命中该文件。

验证

  • npm run check:native-shells:contract 通过(含 production-shell-dev-scaffold-scan)。
## 背景 #578 把邀请弹层从 `src/components/platform-entry/PlatformProfileReferralModal.tsx` 下沉到 `packages/shared/src/components/PlatformProfileReferralModal/`,但漏改了 `scripts/check-native-shells.mjs` 里 H5 HostBridge 调用链的必需文件清单,导致 CI 的 `Native shell tests` 失败: ``` Error: H5 HostBridge call chain scan is missing required files: src/components/platform-entry/PlatformProfileReferralModal.tsx ``` ## 改动 - 必需文件清单移除已删除的旧文件路径。 - 补入 `src/components/platform-entry/PlatformEntryActiveFlowShell.tsx`:宿主剪贴板能力(`canPasteFromNativeHostClipboard` / `readNativeHostClipboardText`)现在在这里消费,扫描集合按“引用 wrapper 文件”命中该文件。 ## 验证 - `npm run check:native-shells:contract` 通过(含 `production-shell-dev-scaffold-scan`)。
kdletters added 1 commit 2026-10-01 20:25:48 +08:00
修正 H5 HostBridge 调用链门禁:邀请弹层下沉共享组件后的文件清单
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 2m25s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 2m6s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Failing after 7m50s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Failing after 7m11s
Project CI / Backend tests (pull_request) Successful in 5m23s
Project CI / Frontend tests (pull_request) Successful in 2m26s
Project CI / Repository checks (pull_request) Successful in 3m6s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m50s
Project CI / Native shell tests (pull_request) Successful in 6m44s
350e9f51b7
- check-native-shells 的 H5 HostBridge 调用链必需文件清单移除已删除的 src/components/platform-entry/PlatformProfileReferralModal.tsx
- 补入改为在宿主侧消费宿主剪贴板能力的 src/components/platform-entry/PlatformEntryActiveFlowShell.tsx
- 本地 npm run check:native-shells:contract 通过(含 production-shell-dev-scaffold-scan)
kdletters merged commit d74b2c003c into master 2026-10-01 20:31:58 +08:00
Sign in to join this conversation.