Purpose and scope
Refs #189. ADR 0043 leaves the imported C runtime frozen and keeps the versioned public API in this repo. The host gate for that surface is make test-runtime-api.
That command was already a CI job before this PR. .github/workflows/runtime-api.yml (added in 342db51) runs it on every pull request and on pushes to main, on GitHub-hosted ubuntu-24.04-arm, which has no GB10. The last green run on main before this branch is Actions run 41073733502 at 522ee0d (RESULT: PASS).
This PR only changes that workflow file:
- The job still runs
make test-runtime-api, and it fails unless the log ends withRESULT: PASS (...). - A following step prints
GB10 sm_121 chip execution: NOT_RUN. The job does not open/dev/nvidia0,/dev/nvidia-uvmor/dev/aien-gpu, and a host pass is not a chip pass. make test-runtime-api-semverstill compares the manifest with the pull request base (or the previous commit on a main push).
No frozen C under ADR 0043, no src/omega_cubin.*, no om/cubin/, and no file from PR #170.
How this sits with #90 and #196
This stays a separate workflow. It does not edit ci.yml or host.yml.
- #90's host-gates work owns
make testin the existing arm64host-testsjob. That suite already liststest-runtime-apias one row. It does not runtest-runtime-api-semveragainst the pull request base. - #196's x86-64 job owns the portable host suite and the freestanding link on
ubuntu-latest. When that job runsmake test, it will runtest-runtime-apiagain on x86-64. It will not run the semver-against-base step. - This job is the short manifest, negative-control and semver gate. Local x86-64 confirmation of the same
make test-runtime-apiis below. A duplicate x86 job is left to #196.
Evidence on the exact commit
git rev-parse HEAD: b3609380179b96c0d2eb6ec33026edceb21e2bff (parent 522ee0d).
PR job: runtime-api on ubuntu-24.04-arm, pass in 56s. Log lines:
RESULT: PASS (runtime API 0.6.0: 295 functions, 45 structs, 420 fields, 211 constants match the headers; surface 698 names, 192 INTERNAL)RESULT: PASS (every negative control was caught)GB10 sm_121 chip execution: NOT_RUN (host manifest check only; /dev/nvidia0, /dev/nvidia-uvm and /dev/aien-gpu stay closed)RESULT: PASS (version 0.6.0 -> 0.6.0; the entry changes need none)
Same commands on this VM before push: Linux x86_64, gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0, /dev/nvidia0 and /dev/aien-gpu absent. make test-runtime-api exit 0 with the same two RESULT: PASS lines. make test-runtime-api-semver RUNTIME_API_BASE=HEAD exit 0 with RESULT: PASS (version 0.6.0 -> 0.6.0; the entry changes need none). No new receipt folder: the check prints its own result line.
-
make test-runtime-api(host-only) — PASS, locally and in the PR job above. -
make test-runtime-api-semveragainst the base — PASS in the PR job (0.6.0 -> 0.6.0, no entry change). -
make test(host-only) — NOT RUN. Unchanged by this diff; still thehost-testsjob inci.yml. -
make test-native-artifact(host-only) — NOT RUN. Out of scope. -
make zero-cuda-gate(ELF audit and negative control) — NOT RUN. Out of scope. -
build/hello_gpu --sim(simulator only) — NOT RUN. Out of scope. -
make doctor(diagnostic; NOT READY on unsupported machines is expected) — NOT RUN. Out of scope. - GB10 hardware tests, only if an authorized GPU window is available (otherwise NOT RUN) — NOT RUN. The workflow step reports that. This VM has no GB10 and no
/dev/aien-gpu.
Correctness, compatibility and provenance
- Negative controls and affected contracts are documented. The negative controls are the existing
tools/runtime_api_negative.shrun insidemake test-runtime-api. The new check is that a zero exit still ends onRESULT: PASS. - API/ABI and Omega consumer effects are identified; source and runtime status claims are not overstated. No header, manifest or ABI change. The chip path is NOT_RUN, not PASS.
- Third-party material, licensing, and public-history safety were checked for additions. Workflow comment and shell only.
- No secrets, personal machine paths, private addresses, other processes' logs, vendor binaries, or unauthorized generated artifacts were included.
- Existing receipts remain immutable; new results have their own evidence folder. No receipt was edited. None was added.
Known limitations
The job passes the host manifest check. It does not qualify the runtime on a GB10. No source failure turned up, so there is no candidate follow-up issue.
— Grokbot
<div><a href="https://cursor.com/agents/bc-09d00c51-e683-5343-ab7e-610157f1fb73?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-09d00c51-e683-5343-ab7e-610157f1fb73&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>