Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
10dcc78
fix(harmony): 把 Rust 核心打进 HAP,原生模块不再加载失败
aeoform Oct 26, 2026
2c385a9
feat(harmony): 鸿蒙原生 ArkUI 界面,一次开发三端部署
aeoform Oct 26, 2026
d20cbc2
build(harmony): HAP 不再打包 ArkWeb 前端 bundle
aeoform Oct 26, 2026
f3a2035
fix(harmony): 摘要卡片改用组件重渲染,异步数据不再显示成"未配置"
aeoform Oct 26, 2026
c3da508
feat(harmony): 凭据页 + 一次性改写/重润色,补齐可用闭环
aeoform Oct 26, 2026
fc0ee17
feat(harmony): 渠道管理、风格编辑、市场排序点赞、外观切换
aeoform Oct 26, 2026
e9480a4
feat(harmony): 补齐录音回放、引导、麦克风测试、GitHub 登录、模型选择
aeoform Oct 26, 2026
811fa0e
feat(harmony): 导航收敛、竖屏手机形态、光效改为一层品牌洗色
aeoform Oct 27, 2026
fec9b31
feat(harmony): 按 HarmonyOS UX 规范重设 token,release 渠道声明 2in1
aeoform Oct 27, 2026
8acd57e
feat(harmony): 界面按规范重排(大字标题、Display 数字、规范列表行)
aeoform Oct 27, 2026
2d526c8
feat(harmony): 接入 take_splash_playback / set_default_polish_mode / ma…
aeoform Oct 27, 2026
07e1fd1
feat(harmony): 接线云同步(状态 / 上传 / 恢复 / 删除)
aeoform Oct 27, 2026
72c204f
feat(harmony): 学习建议卡(接受/忽略),B2 接线
aeoform Oct 27, 2026
9d0d4f8
feat(harmony): 风格包 ZIP 导入/导出,B4 接线
aeoform Oct 27, 2026
4fd217c
feat(harmony): 词典预设只读卡片,B3 接线
aeoform Oct 27, 2026
ca358d5
feat(harmony): 引擎/模型改用底部半模态选择(A1)
aeoform Oct 27, 2026
e3bcbe2
feat(harmony): 骨架屏与错误重试状态(A4)
aeoform Oct 27, 2026
8fb45bf
feat(harmony): 2in1 悬停与键盘焦点(A5,部分)
aeoform Oct 27, 2026
bec70b7
feat(harmony): 市场登录态可退出(B5,部分)
aeoform Oct 27, 2026
3ce8236
feat(harmony): Ctrl/⌘+1..5 切换一级页(A2 第一小步)
aeoform Oct 27, 2026
feb002f
feat(harmony): 历史页宽屏改用 Navigation Split(A2 第 1 步)
aeoform Oct 27, 2026
2e2c4e0
feat(harmony): 沉浸光感改用系统材质,删掉手画的光效(A3/视觉修正)
aeoform Oct 27, 2026
8c7962c
fix(harmony): 竖屏平板内容加 560vp 宽度上限(像手机那样居中成列)
aeoform Oct 27, 2026
b20ca43
Merge remote-tracking branch 'origin/beta' into feat/harmony-native-ui
aeoform Oct 28, 2026
b50502c
feat(harmony): 二级页加返回入口;同步 beta
aeoform Oct 28, 2026
3777627
feat(harmony-ime): 悬浮语音键盘(参考小艺输入法的悬浮语音模式)
aeoform Oct 28, 2026
77bbb63
Merge remote-tracking branch 'origin/beta' into feat/harmony-native-ui
aeoform Nov 2, 2026
78f18b8
feat(harmony-ui): v2 设计 token、组件库与壳层重写
aeoform Nov 3, 2026
81fa693
feat(harmony-ui): 4 目的地导航、胶囊 Dock、选取助手页
aeoform Nov 3, 2026
5a368d3
feat(harmony-ui): 主页重构、速记并入历史、风格包与市场合并
aeoform Nov 3, 2026
91ccfc7
fix(harmony-ui): 外观偏好改用 core 真实字段 themeMode;设置页分组终版
aeoform Nov 3, 2026
c2b5657
build(harmony): debug HAP 跟随发布版本号,避免装机降级
aeoform Nov 3, 2026
1827758
feat(harmony-ui): 当前阶段锁定手机竖屏形态(PHONE_FIRST)
aeoform Nov 3, 2026
3088a7b
feat(harmony-ui): 沉浸光感 Dock + 横屏弹性放大(不再强制手机窄列)
aeoform Nov 3, 2026
d2fea74
fix(harmony): 修复凭据/模型页闪退与图标过大
aeoform Nov 3, 2026
21ce664
refactor(harmony-ui): 设置页精简,大模型配置收敛到凭据入口
aeoform Nov 3, 2026
a65b7f2
feat(harmony-ui): 凭据页改为大模型配置唯一入口 + 遮罩覆盖层编辑
aeoform Nov 3, 2026
212d06e
Merge remote-tracking branch 'origin/beta' into feat/harmony-ui-v2
aeoform Nov 22, 2026
c64083d
Merge beta into Harmony native UI and fix HAP build
H-Chris233 Nov 24, 2026
84f44a7
Merge latest Harmony native branch, preserve v2 UI and adopt build ar…
aeoform Nov 27, 2026
c9f21ce
refactor(harmony): 同步 beta 并统一原生工程目录与构建入口
aeoform Nov 27, 2026
18f4f3e
feat(harmony): 对齐原生 UI、修复模型配置并补齐构建门禁
aeoform Nov 28, 2026
eb52f08
Merge remote-tracking branch 'origin/beta' into feat/harmony-ui-v2
aeoform Nov 28, 2026
207a3a7
fix(harmony): 固定鸿蒙7工具链并将最低版本设为6.1
aeoform Nov 28, 2026
a33c71d
fix(harmony): 正确识别带模拟器元数据的 SDK 包装目录
aeoform Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 28 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -688,14 +688,11 @@ jobs:
path: ${{ runner.temp }}/openless-android-emulator.log
if-no-files-found: ignore

# HarmonyOS covers three layers, in three places:
# * the Rust host is compiled and tested by the Linux job
# (`cargo test --locked -p openless-harmony-host`);
# * ArkTS cannot be compiled without the Huawei SDK, so this job checks what
# is reproducible on a hosted runner: the committed IPC audit still matches
# the code, the ArkTS contract tests pass, and the ArkWeb bundle builds;
# * when `HARMONY_SDK_URL` is configured, the last step additionally builds a
# real HAP, which is what actually type-checks the ArkTS sources.
# HarmonyOS has one native ArkUI project in openless-all/harmony. This job
# verifies the shared IPC report and ArkTS behavior/structure contracts, then
# packages a real unsigned HAP with the checksum-pinned Huawei SDK so ArkTS
# sources and the Rust host are compiled. No React/ArkWeb bundle is embedded.
# Linux validation separately covers Rust host unit tests when explicitly enabled.
harmony-check:
needs: [changes]
if: needs.changes.outputs.desktop-only != 'true' && (github.event_name != 'workflow_dispatch' || inputs.platform != 'macos') && needs.changes.outputs.harmony != 'false'
Expand All @@ -721,20 +718,38 @@ jobs:
# report hides commands that the Harmony host does not implement yet.
run: |
node ../harmony/scripts/audit-harmony-ipc.mjs --check
# Guards the gate itself: a stale report must fail the check and `--check`
# must stay read-only, so a later audit change cannot silently weaken it.
- name: Harmony IPC audit gate regression
run: |
node scripts/harmony-ipc-audit-check.test.mjs
- name: Harmony SDK setup regression
run: node scripts/harmony-sdk-prepare.test.mjs
- name: Harmony ArkTS contracts
run: |
set -euo pipefail
node scripts/harmony-entry-startup.test.mjs
node scripts/harmony-app-dictation.test.mjs
node scripts/harmony-voice-configuration.test.mjs
node scripts/harmony-siwc.test.mjs
node scripts/harmony-panel-layout.test.mjs
node scripts/harmony-editor-compat.test.mjs
node scripts/harmony-clipboard-history.test.mjs
node scripts/harmony-symbol-gesture.test.mjs
node scripts/harmony-rime-startup.test.mjs
# The ArkWeb bundle is not built here: `package-harmony-hap.sh` ->
# `build-harmony-frontend.sh` runs the same
# `npm run build -- --base=./ --outDir=…`, so building it twice only
# doubled the vite pass.
node scripts/harmony-native-ui.test.mjs
node scripts/harmony-responsive-ui.test.mjs
node scripts/harmony-system-speech.test.mjs
node scripts/harmony-ios-parity.test.mjs
node scripts/harmony-window-layout.test.mjs
node scripts/harmony-release-contract.test.mjs
node scripts/harmony-history-actions.test.mjs
node scripts/harmony-library-actions.test.mjs
node scripts/harmony-credential-actions.test.mjs
node scripts/harmony-core-contracts.test.mjs
node scripts/harmony-click-surfaces.test.mjs
# The HAP ships native ArkUI, so packaging builds the Rust host with the
# pinned SDK and skips the React bundle.
- uses: dtolnay/rust-toolchain@stable
with:
# Tier-2 OHOS target; `rustup target list` above lists it for stable.
Expand All @@ -744,7 +759,7 @@ jobs:
workspaces: 'openless-all/app -> target'
# The HAP embeds a release cdylib; keep its own key so the debug trees
# of the other jobs do not evict it.
key: harmony-host
shared-key: harmony-host
save-if: ${{ github.ref == 'refs/heads/beta' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}

# No toolchain cache. The download is 2.1 GB at ~100 MB/s plus ~70 s to
Expand Down
43 changes: 25 additions & 18 deletions .github/workflows/release-harmony.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Release HarmonyOS

# HarmonyOS ships its HAP in the same GitHub Release as the desktop, Android and
# Linux assets, and the same package is pushed to HUAWEI AppGallery Connect.
# HarmonyOS attaches its unsigned HAP to the shared desktop/Android draft.
# Store channels upload a separately signed App Pack to AppGallery Connect;
# published GitHub Release assets are immutable and Linux automation is paused.
#
# The build uses the official HarmonyOS command-line tools. Huawei's own download
# page needs an account, but the same archive is mirrored publicly (the mirror
Expand All @@ -12,8 +13,8 @@ name: Release HarmonyOS
# Override `HARMONY_SDK_URL` / `HARMONY_SDK_SHA256` when a newer tools release is
# needed, and `runner_labels` for a machine that already has the tools installed.
#
# Dispatch it after the tag exists; it rebuilds that tag, signs it with material
# from Secrets, attaches the HAP to the Release and uploads it to AppGallery.
# An administrator may dispatch after the tag exists to repair its draft.
# The checked-out tag supplies the app; signing material comes only from Secrets.
# `release-tauri.yml` calls this workflow in parallel with desktop and Android
# after a short shared-draft preflight, using the same immutable tag commit.
# Manual dispatch remains the repair path; automatic channel is
Expand Down Expand Up @@ -136,6 +137,16 @@ jobs:
ref: ${{ github.event_name == 'push' && github.sha || inputs.tag }}
submodules: false

- name: Require a draft before publishing
if: inputs.publish
run: |
set -euo pipefail
draft=$(gh release view "$RELEASE_TAG" --json isDraft --jq .isDraft)
if [ "$draft" != true ]; then
echo "::error::Published Release assets are immutable; repair the draft before publication"
exit 1
fi

- uses: actions/setup-java@v4
with:
distribution: temurin
Expand All @@ -145,13 +156,9 @@ jobs:
with:
node-version: '22'

# The HAP build shells out to `npm run build` for the ArkWeb bundle and to
# `cargo build --target aarch64-unknown-linux-ohos` for the Rust host, so it
# needs the app's `node_modules` and the Tier-2 OHOS target std. A hosted
# runner ships neither, and both gaps only surface minutes into the build -
# the first real dispatch of this workflow died with `can't find crate for
# `core`` (error[E0463]) after compiling the Rime/NDK tree. Install them up
# front, exactly like `ci.yml`'s `harmony-check` does.
# Current HAPs compile native ArkUI plus the Rust host, not the React bundle.
# Keep Node dependencies available for checked-out tag tooling, including
# guarded historical repairs, and install the Tier-2 OHOS target up front.
- name: Cache npm from beta
uses: ./.github/actions/cache-npm

Expand All @@ -168,9 +175,9 @@ jobs:
- uses: swatinem/rust-cache@v2
with:
workspaces: 'openless-all/app -> target'
# Same key as `ci.yml`'s `harmony-check`: a tag build restores the tree
# that job already paid for, and a tag never writes to the cache.
key: harmony-host
# A job-independent shared key restores `ci.yml`'s `harmony-check`
# tree despite this job's different name. Tags never write the cache.
shared-key: harmony-host
save-if: ${{ github.ref == 'refs/heads/beta' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}

# No toolchain cache here either: `prepare-harmony-sdk.sh` downloads the
Expand Down Expand Up @@ -371,11 +378,11 @@ jobs:
working-directory: openless-all/app
run: |
set -euo pipefail
# Automatic builds already have a shared draft: never wait for desktop.
# Direct manual dispatch still supports explicit published-tag repairs.
# Re-check immediately before writing: an admin may publish while the
# build runs. Manual repair has the same immutable-asset boundary.
draft=$(gh release view "$RELEASE_TAG" --json isDraft --jq .isDraft)
if [ "${{ github.event_name }}" = push ] && [ "$draft" != true ]; then
echo "::error::Release was published while building; refusing automatic mutation"
if [ "$draft" != true ]; then
echo "::error::Published Release assets are immutable; refusing mutation"
exit 1
fi
output=target/harmony-packages
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,6 @@ coverage/
/docs/test-captures/
/docs/test-results/
/openless-all/ios/docs/screenshots/

# Local iOS demo videos, extracted frames and UI reference captures.
/.refs/
15 changes: 2 additions & 13 deletions openless-all/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ This directory contains the cross-platform OpenLess source tree. Start with the
| `app/crates/openless-core` | Framework-independent shared Rust core (dictation engine, ASR/LLM/Multimodal/DeepSeek-suite pipelines, style packs, dictionary, cloud sync, backend contract `2.0.0`). |
| `app/crates/micyou-dsp`, `app/crates/micyou-infer` | Audio DSP preprocessing and inference crates. |
| `app/crates/openless-capsule`, `app/native-capsule` | Native recording capsule state and platform UI support. |
| `app/src` | Shared React + TypeScript frontend for Tauri desktop/Android and HarmonyOS ArkWeb. |
| `app/src` | Shared React + TypeScript frontend for Tauri desktop and Android. |
| `app/src-tauri` | macOS, Windows, and Android Tauri host, native adapters, and vendored crates (`src-tauri/vendor/`). |
| `app/ask-window` | Standalone Ask Anything desktop window assets and bridge. |
| `linux/egui` | Native Linux host and `egui`/`eframe` UI (no Tauri or WebKitGTK dependency). |
| `android` | Android host packaging, manifest merges, and native glue. |
| `harmony` | HarmonyOS ArkTS + ArkWeb host and `harmony/rust` Node-API bridge. |
| `harmony` | Native HarmonyOS ArkUI host and `harmony/rust` Node-API bridge. |
| `app/mobile-ime` | Shared native input-method core for Android and HarmonyOS. |
| `windows/ime` | Windows TSF/IME integration scripts and helpers. |
| `windows/nsis`, `windows/wix`, `windows/scripts` | Windows installer assets and build/acceptance tools. |
Expand Down Expand Up @@ -138,17 +138,6 @@ powershell -ExecutionPolicy Bypass -File .\..\windows\scripts\windows-hotkey-inj

See [`android/README.md`](android/README.md#build-and-ci) for Android SDK/NDK versions, generated Tauri Android scaffolding, APK builds across ABIs (`arm64-v8a`, `armeabi-v7a`, `x86_64`, `x86`), and device verification.

## HarmonyOS Build

Requirements: HarmonyOS Command Line Tools (`../harmony/scripts/prepare-harmony-sdk.sh` fetches the pinned archive with SHA-256 verification), Python 3, Node.js 22+, and `rustup target add aarch64-unknown-linux-ohos`.

```bash
cd openless-all/app
bash ../harmony/scripts/build-harmony-frontend.sh
```

Unsigned HAP output is placed under `${OPENLESS_CACHE_ROOT:-/data-win/openless-cache}/harmony/openless-project/entry/build/default/outputs/default/`. The packaging script stages deliverables in `app/target/harmony-packages/`. See [`RELEASING.md`](../RELEASING.md) for release signing and AppGallery uploads.

## iOS Build

iOS (`ios/`) is a native Swift + Rust project targeting iOS 16+ (Recording Widget requires iOS 18+) with independent versioning. See the [iOS build & signing guide](ios/README.md#build-from-source) for bootstrapping dependencies, building `CoreHost` and Rime, personal Xcode signing, simulator runs, and unsigned IPA packaging.
Expand Down
15 changes: 2 additions & 13 deletions openless-all/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
| `app/crates/openless-core` | 框架无关的共享 Rust 核心(听写引擎、ASR / LLM / 多模态 / DeepSeek 大统一管线、风格包、词典、加密云同步与 `2.0.0` 后端契约)。 |
| `app/crates/micyou-dsp`、`app/crates/micyou-infer` | 音频 DSP 前处理与推理支持库。 |
| `app/crates/openless-capsule`、`app/native-capsule` | 原生语音胶囊状态与平台渲染支撑。 |
| `app/src` | Tauri 桌面/Android 与 HarmonyOS ArkWeb 共用的 React + TypeScript 前端界面。 |
| `app/src` | Tauri 桌面与 Android 共用的 React + TypeScript 前端界面。 |
| `app/src-tauri` | macOS、Windows 与 Android 的 Tauri 宿主、原生适配层及内置 vendored 依赖(`src-tauri/vendor/`)。 |
| `app/ask-window` | 桌面端独立「随便问」窗口界面与桥接代码。 |
| `linux/egui` | Linux 原生宿主与 `egui` / `eframe` 界面(不依赖 Tauri 或 WebKitGTK)。 |
| `android` | Android 宿主打包、清单合并与原生胶水代码。 |
| `harmony` | HarmonyOS ArkTS + ArkWeb 宿主及 `harmony/rust` Node-API 桥接。 |
| `harmony` | HarmonyOS 原生 ArkUI 宿主及 `harmony/rust` Node-API 桥接。 |
| `app/mobile-ime` | Android 与 HarmonyOS 共享的移动端原生输入法核心。 |
| `windows/ime` | Windows TSF / 输入法注册与测试脚本。 |
| `windows/nsis`、`windows/wix`、`windows/scripts` | Windows 安装器资产与构建、验收工具。 |
Expand Down Expand Up @@ -138,17 +138,6 @@ powershell -ExecutionPolicy Bypass -File .\..\windows\scripts\windows-hotkey-inj

Android SDK/NDK 依赖、脚手架生成、多架构 APK(`arm64-v8a`、`armeabi-v7a`、`x86_64`、`x86`)构建与真机验证见 [Android 构建指南](android/README.zh.md#构建与-ci)。

## HarmonyOS 构建

依赖环境:HarmonyOS Command Line Tools(可用 `../harmony/scripts/prepare-harmony-sdk.sh` 按固定 SHA-256 拉取)、Python 3、Node.js 22+ 以及 `rustup target add aarch64-unknown-linux-ohos`。

```bash
cd openless-all/app
bash ../harmony/scripts/build-harmony-frontend.sh
```

未签名 HAP 输出到 `${OPENLESS_CACHE_ROOT:-/data-win/openless-cache}/harmony/openless-project/entry/build/default/outputs/default/`;打包脚本将交付文件暂存到 `app/target/harmony-packages/`。正式签名与 AppGallery 上传流程见 [`RELEASING.zh.md`](../RELEASING.zh.md)。

## iOS 构建

iOS 端(`ios/`)为独立的原生 Swift + Rust 工程,应用与键盘面向 iOS 16+(录制小组件需 iOS 18+),采用独立版本号。完整依赖拉取、`CoreHost` 与 Rime 构建、个人证书签名、模拟器调试与未签名 IPA 打包步骤见 [iOS 构建指南](ios/README.zh.md#从源码构建)。
Expand Down
14 changes: 14 additions & 0 deletions openless-all/app/scripts/ci-cache-sharing.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@ for (const key of ['tauri-windows', 'tauri-macos']) {
assert.ok(sharedKeys(release).includes(key), `release-tauri.yml must restore shared-key ${key}`);
}

// Harmony CI and release have different job ids. An additive `key` alone keeps
// those ids in rust-cache's default key and cannot reuse the beta producer.
for (const [yaml, label] of [
[ci.match(/\n harmony-check:[\s\S]*?(?=\n [a-z-]+:\n)/)?.[0] ?? '', 'ci.yml/harmony-check'],
[releaseHarmony, 'release-harmony.yml/build-harmony-hap'],
]) {
assert.match(yaml, /shared-key: harmony-host/, label + ' needs one job-independent key');
assert.doesNotMatch(yaml, /^\s+key: harmony-host$/m);
assert.match(
yaml,
/save-if: \$\{\{ github\.ref == 'refs\/heads\/beta' && \(github\.event_name == 'push' \|\| github\.event_name == 'workflow_dispatch'\) \}\}/,
);
}

// 2. The release workflow must not keep a private key: that is what made tag
// builds cold (the baseline branch never wrote it).
assert.doesNotMatch(release, /key:\s*macos-release/);
Expand Down
40 changes: 35 additions & 5 deletions openless-all/app/scripts/ci-changed-areas.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,37 @@ try {
});
reset();

// Every native UI module and delivery script stays inside the Harmony gate;
// unknown host paths must not fall through to a desktop-only classification.
for (const path of [
'openless-all/harmony/entry/src/main/ets/components/ProductNavigation.ets',
'openless-all/harmony/entry/src/main/ets/common/Breakpoint.ets',
'openless-all/harmony/entry/src/main/resources/base/element/color.json',
'openless-all/harmony/scripts/build-harmony-app.sh',
]) {
commit({ [path]: '// native Harmony input\n' }, 'native Harmony input');
expect(path, { ...every('false'), harmony: 'true' });
reset();
}

// Mixed browser/native changes still run both gates; removing the ArkWeb edge
// must never turn a real ArkTS change into a skipped HAP type-check.
commit(
{
'openless-all/app/src/features/style-packs/Style.tsx': 'export const x = 1;\n',
'openless-all/harmony/entry/src/main/ets/pages/OverviewPage.ets': 'export {};\n',
},
'mixed browser and ArkUI changes',
);
expect('mixed browser and ArkUI changes', {
tauri: 'true',
harmony: 'true',
frontend: 'true',
linux: 'false',
android: 'false',
});
reset();

// The Linux workflow owns Harmony Rust unit tests as well as the egui host.
commit({ 'openless-all/harmony/rust/src/lib.rs': 'pub fn x() {}\n' }, 'harmony rust');
expect('harmony rust', {
Expand Down Expand Up @@ -193,9 +224,8 @@ try {
});
reset();

// The rendered bundle is embedded by every shell that paints it; the Linux
// host draws a native egui UI and never reads `dist/`, and the Android job only
// compiles Rust, so neither is in scope.
// Browser-only changes do not reach native ArkUI/egui hosts. The Android
// compile gate builds Rust, so it is also outside a bundle-only change.
commit(
{ 'openless-all/app/src/features/style-packs/Style.tsx': 'export const x = 1;\n' },
'frontend only',
Expand All @@ -204,7 +234,7 @@ try {
tauri: 'true',
msrv: 'false',
linux: 'false',
harmony: 'true',
harmony: 'false',
frontend: 'true',
android: 'false',
'ios-device': 'false',
Expand Down Expand Up @@ -252,7 +282,7 @@ try {
tauri: 'true',
msrv: 'false',
frontend: 'true',
harmony: 'true',
harmony: 'false',
android: 'false',
linux: 'false',
});
Expand Down
10 changes: 5 additions & 5 deletions openless-all/app/scripts/ci-impact.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ function classify(file, context) {

const tags = new Set();
if (motionSurface(file)) {
// The bundle is embedded in every shell that renders it. The Linux host uses
// a native egui UI and does not consume `dist/` at all, and the Android job
// only compiles the Rust crate (`npm run build` there just satisfies
// `generate_context!`), so neither is in scope for a bundle-only change.
for (const tag of ['frontend', 'macos', 'windows', 'harmony']) tags.add(tag);
// Only browser-rendered shells consume the bundle. HarmonyOS builds native
// ArkUI and Linux uses egui; neither reads `dist/`. The Android job only
// compiles Rust (`npm run build` satisfies `generate_context!`), so it is
// outside a bundle-only change too. Shared manifests/resources stay fail-open.
for (const tag of ['frontend', 'macos', 'windows']) tags.add(tag);
}

const owner = ownerPackage(file, context);
Expand Down
Loading
Loading