已开启
kh2: one toolchain probe per target, and an honest failure #263
Konstantin Chukharev创建于 7 天前
kh2: one toolchain probe per target, and an honest failure #263
已开启
合并受阻
7 天前 强制推送 6 个提交:3325b8fd-3 commits from branch
rri_opensource/arkui3:master,547231e7-kh2: settle the machine-file probe on a status output,5988e950-kh2: install published prebuilts when a toolchain is missing,92e13dcd-kh2: document the probe status contract7 天前 强制推送 6 个提交:3325b8fd-3 commits from branch
rri_opensource/arkui3:master,547231e7-kh2: settle the machine-file probe on a status output,5988e950-kh2: install published prebuilts when a toolchain is missing,92e13dcd-kh2: document the probe status contract此处折叠了7条事件消息 查看更多
7 天前 强制推送 4 个提交:b3a8f236-1 commit from branch
rri_opensource/arkui3:master,a4749126-kh2: fail when a native target's toolchain is unavailable,243349ed-build: require ARKTSX_PREBUILT for the prebuilt fallback,050b5651-kh2: probe each target once instead of once per package7 天前 强制推送 4 个提交:b3a8f236-1 commit from branch
rri_opensource/arkui3:master,a4749126-kh2: fail when a native target's toolchain is unavailable,243349ed-build: require ARKTSX_PREBUILT for the prebuilt fallback,050b5651-kh2: probe each target once instead of once per packagepavelmironchik
7 天前 评论:
7 天前 评论:
Pipeline has started https://gitlab.cn.bz-openlab.ru:10443/koala/koala-idlize-ci/-/pipelines/89614


pavelmironchik
7 天前 评论:
7 天前 评论:
Pipeline has failed ❌ https://gitlab.cn.bz-openlab.ru:10443/koala/koala-idlize-ci/-/pipelines/89614


7 天前 重置了测试状态
7 天前 强制推送 6 个提交:f16619d8-3 commits from branch
rri_opensource/arkui3:master,97cc5c52-kh2: fail when a native target's toolchain is unavailable,90b173fc-build: require ARKTSX_PREBUILT for the prebuilt fallback,b754e05d-kh2: probe each target once instead of once per package7 天前 强制推送 6 个提交:f16619d8-3 commits from branch
rri_opensource/arkui3:master,97cc5c52-kh2: fail when a native target's toolchain is unavailable,90b173fc-build: require ARKTSX_PREBUILT for the prebuilt fallback,b754e05d-kh2: probe each target once instead of once per package7 天前 修改了pull request 的描述
pavelmironchik
7 天前 评论:
7 天前 评论:
Pipeline has started https://gitlab.cn.bz-openlab.ru:10443/koala/koala-idlize-ci/-/pipelines/89620


pavelmironchik
7 天前 评论:
7 天前 评论:
Pipeline has failed ❌ https://gitlab.cn.bz-openlab.ru:10443/koala/koala-idlize-ci/-/pipelines/89620


7 天前 重置了测试状态
此处折叠了14条事件消息 查看更多
10 小时前 修改了pull request 的描述
pavelmironchik
10 小时前 评论:
10 小时前 评论:
Pipeline has started https://gitlab.cn.bz-openlab.ru:10443/koala/koala-idlize-ci/-/pipelines/89919


pavelmironchik
9 小时前 评论:
9 小时前 评论:
Pipeline has failed ❌ https://gitlab.cn.bz-openlab.ru:10443/koala/koala-idlize-ci/-/pipelines/89919


9 小时前 重置了测试状态
This PR makes kh2 probe a cross toolchain once per target, fail when it is missing, and stops the npm driver from downloading a prebuilt.
Problem
A compile could report success while nothing was built.
Each package declared its own machine file, so one cross goal ran the same probe once per package (16 for
compile:native:android-arm64), and a missing toolchain was recorded as a<target>.unavailablemarker: a rule declaring an output it never produces.build-native.mjsthen installed a published prebuilt intoprebuilts/<target>/, so a source build and a fetched artifact were indistinguishable.Solution
kh/cross-file.mjsexits 1 with the generator's reason and removes a stale.ini; the npm driver skips the target instead of downloading..kh/output/probe/<target>.ini, declared once by the rootkh.build.ts;ArktsxNativeorders it and declaresMesonafterwards.kh/cross-file.test.mjspins that contract, run bycheck-cross-fileintest:tools.MIGRATION_PLAN.mdand the two CI job comments follow.Verification
npx kh2 -t graphnpx kh2 compile:nativenpx kh2 compile:native:ohos-arm64npx kh2 compile:native:android-arm64, no NDKCannot find the Android NDKnpx kh2 check-cross-filenpx kh2 test:toolstest (arktsx/sdk/cli), which fails identically on masterNotes
scripts/prebuilt.mjsstays the explicit way to install a published module.build is stuckdump of its dependents: right exit code, confusing report, haus2 follow-up.