omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / evidence / MAX-INTEROP / 5 / metadata-20261030.md
| 1 | # MAX version metadata regression, 2026-10-30 |
| 2 | |
| 3 | Status: EXERCISED_HOST for metadata only. Base: |
| 4 | `1958a1895279c0d4869bab39eaa20f070b174a6c`. Host: Linux x86_64, |
| 5 | Python 3.12.14. MAX is not installed. Existing evidence is unchanged. |
| 6 | |
| 7 | ## Change |
| 8 | |
| 9 | `_max_version()` used to return the requested release `26.7.0` when imported |
| 10 | MAX had no `__version__`. Missing metadata is not evidence of an installed |
| 11 | release. The helper now reports `unknown` for absent, unreadable or invalid |
| 12 | metadata and preserves observed nonempty string versions. |
| 13 | |
| 14 | The regression test loads the actual runner with import-only module doubles. |
| 15 | Constructing a MAX graph, session, buffer or device raises in those doubles. |
| 16 | This tests metadata, not MAX execution, binary compatibility or GPU behavior. |
| 17 | `conformance/run.sh` invokes it before fixture generation or build effects. |
| 18 | |
| 19 | ## Reproduction and observed controls |
| 20 | |
| 21 | ```sh |
| 22 | python3 conformance/test_max_runner_metadata.py |
| 23 | python3 -m unittest discover -s conformance -p 'test_max_runner_metadata.py' -v |
| 24 | python3 -m py_compile conformance/max_runner.py conformance/test_max_runner_metadata.py |
| 25 | sh -n conformance/run.sh |
| 26 | git diff --check |
| 27 | ``` |
| 28 | |
| 29 | All commands above returned 0 on the patched source. The test runs five methods |
| 30 | with missing, invalid, unreadable and observed-version cases. The original |
| 31 | helper returned 1 with seven failing subcases (`metadata-20261030-red.log`); |
| 32 | the patched helper returned 0 (`metadata-20261030-green.log`). Logs preserve |
| 33 | the observed output, with the private checkout prefix replaced by `<checkout>` |
| 34 | and trailing whitespace trimmed for repository whitespace checks. Unmodified raw |
| 35 | logs are retained in the local evidence bundle. |
| 36 | |
| 37 | The test-only `MAX_RUNNER_METADATA_SOURCE` override selects a private source |
| 38 | snapshot for controls: |
| 39 | |
| 40 | ```sh |
| 41 | git show 1958a1895279c0d4869bab39eaa20f070b174a6c:conformance/max_runner.py > /tmp/max-runner-baseline.py |
| 42 | MAX_RUNNER_METADATA_SOURCE=/tmp/max-runner-baseline.py python3 conformance/test_max_runner_metadata.py |
| 43 | ``` |
| 44 | |
| 45 | The restored-fallback control returned 1 with seven failing subcases. A second |
| 46 | private mutant changed the new return expression to `return "unknown"`. |
| 47 | It returned 1 because all three observed-version subcases failed |
| 48 | (`metadata-20261030-mutant.log`). These are expected failures, not suite passes. |
| 49 | |
| 50 | A clean archive of the base accepted the patch with `git apply --check`, |
| 51 | then passed the same tests. In that clean tree the actual conformance entrypoint |
| 52 | with the baseline override failed before creating `conformance/build`. |
| 53 | |
| 54 | ## Aggregate limits |
| 55 | |
| 56 | `sh conformance/run.sh` passed the new metadata regression, then returned 1 at |
| 57 | the existing build requirement: |
| 58 | `CUDApp library missing: ../../cudapp/build/libomega_gpu.a` |
| 59 | (`metadata-20261030-entrypoint.log`). Full MAX/Omega CPU and GPU conformance |
| 60 | remain NOT_RUN. `sh tools/bootstrap.sh` returned 1 with |
| 61 | `bootstrap requires Linux AArch64`; the full Bridge aggregate is NOT_RUN. |
| 62 | |
| 63 | No compiler pin, GPU wire format, mathematical tolerance, license or historical |
| 64 | receipt changed. No MAX source was copied. No graph, device, driver or live |
| 65 | service was exercised. No interoperability or performance qualification follows |
| 66 | from these metadata tests. |
| 67 | |
| 68 | ## Source identities (SHA-256) |
| 69 | |
| 70 | ```text |
| 71 | 5762194550762dfb7c7934423302a1aa51575e81b13b30c6cf2585927861595d conformance/max_runner.py |
| 72 | ba4569d97b8955ad4fb14924622d82534c9767a60dd9d37edd7a34a9212e9198 conformance/test_max_runner_metadata.py |
| 73 | 7c97870559fc0d45da92e2b5875e64f4086a520f963cb0e8ef1a8cec2680232f conformance/run.sh |
| 74 | ``` |