interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / MAX-INTEROP / 5 / metadata-20261030.md

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