Skip to content

Simplify ORT build workflow and tighten smoke checks - #21

Merged
laurenspriem merged 8 commits into
ente:mainfrom
laurens-pilot:refactor/release-validation
Nov 3, 2026
Merged

laurenspriem merged 8 commits into
ente:mainfrom
laurens-pilot:refactor/release-validation

Conversation

@laurens-pilot

Copy link
Copy Markdown
Contributor

ORT upgrades can now be tried on a branch, for one platform or the full matrix, without producing a publishable candidate. Shared checksum-pinned CMake/vcpkg setup replaces the duplicated action configuration and Windows ARM64 workaround; unused ccache downloads, whole-build retries and duplicate candidate checks are removed.

The Android retry was masking a real failure: in the 1.31.0-r1 release the x86_64 job exited silently right after Gradle succeeded, and the retry rescued it. The likely cause, not reproduced on Linux, is awk ... exit closing the pipe on llvm-readelf under pipefail; that pipeline failed 6 of 1,200 runs under load on macOS. Checks exposed to this pipe race now capture tool output before parsing it. The same pattern in the desktop and iOS checks could also skip a debug-section check instead of failing. That was shown only with a forced slow producer; real otool showed no failure in 2,400 runs under load. Tool downloads keep the three attempts the removed action made.

The existing publisher, provenance format and 35-asset contract are retained. Release candidates still require a successful complete build on main, and the build now enforces that Validate passed on a push of that commit. The verifier now checks every manifest field; smoke tests reject non-finite values and run providers with CPU fallback disabled. The macOS architecture check now excludes the filename from file output; previously, macos-arm64 in the path could let an x86_64 dylib pass. The routine release in the README is three steps: build, test on physical devices, publish. The checklist keeps only the Android and iOS device checks, because the workflows enforce everything else. Windows GPU inference, which CI skips without a GPU device, is documented as unchecked. Release notes are shorter and state which inference CI runs on each platform. Git now ignores Python test caches.

The original 1.31.0-r1 candidate passes the strengthened verifier, and CPU/CoreML inference passes against its published macOS arm64 and iOS Simulator runtimes. A full-matrix 1.31.0 trial of this branch on the fork (run) passed every Linux, Android, Windows and macOS x64 job: tool setup works on those hosted runners, and Linux WebGPU and macOS x64 CoreML inference pass with CPU fallback disabled. The macOS arm64 and iOS jobs got no hosted runner on the fork in three attempts, so they still need a trial here. Trials cannot reach the release-only checks or the candidate job, so those first run on the next release build.

Source fork PR: laurens-pilot#1

@laurenspriem

@laurens-pilot

Copy link
Copy Markdown
Contributor Author

@codex review

@laurenspriem
laurenspriem merged commit 1b2af5a into ente:main Nov 3, 2026
2 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.

2 participants