MAX version metadata regression, 2026-10-30
Status: EXERCISED_HOST for metadata only. Base:
1958a1895279c0d4869bab39eaa20f070b174a6c. Host: Linux x86_64,
Python 3.12.14. MAX is not installed. Existing evidence is unchanged.
Change
_max_version() used to return the requested release 26.7.0 when imported
MAX had no __version__. Missing metadata is not evidence of an installed
release. The helper now reports unknown for absent, unreadable or invalid
metadata and preserves observed nonempty string versions.
The regression test loads the actual runner with import-only module doubles.
Constructing a MAX graph, session, buffer or device raises in those doubles.
This tests metadata, not MAX execution, binary compatibility or GPU behavior.
conformance/run.sh invokes it before fixture generation or build effects.
Reproduction and observed controls
python3 conformance/test_max_runner_metadata.py
python3 -m unittest discover -s conformance -p 'test_max_runner_metadata.py' -v
python3 -m py_compile conformance/max_runner.py conformance/test_max_runner_metadata.py
sh -n conformance/run.sh
git diff --check
All commands above returned 0 on the patched source. The test runs five methods
with missing, invalid, unreadable and observed-version cases. The original
helper returned 1 with seven failing subcases (metadata-20261030-red.log);
the patched helper returned 0 (metadata-20261030-green.log). Logs preserve
the observed output, with the private checkout prefix replaced by <checkout>
and trailing whitespace trimmed for repository whitespace checks. Unmodified raw
logs are retained in the local evidence bundle.
The test-only MAX_RUNNER_METADATA_SOURCE override selects a private source
snapshot for controls:
git show 1958a1895279c0d4869bab39eaa20f070b174a6c:conformance/max_runner.py > /tmp/max-runner-baseline.py
MAX_RUNNER_METADATA_SOURCE=/tmp/max-runner-baseline.py python3 conformance/test_max_runner_metadata.py
The restored-fallback control returned 1 with seven failing subcases. A second
private mutant changed the new return expression to return "unknown".
It returned 1 because all three observed-version subcases failed
(metadata-20261030-mutant.log). These are expected failures, not suite passes.
A clean archive of the base accepted the patch with git apply --check,
then passed the same tests. In that clean tree the actual conformance entrypoint
with the baseline override failed before creating conformance/build.
Aggregate limits
sh conformance/run.sh passed the new metadata regression, then returned 1 at
the existing build requirement:
CUDApp library missing: ../../cudapp/build/libomega_gpu.a
(metadata-20261030-entrypoint.log). Full MAX/Omega CPU and GPU conformance
remain NOT_RUN. sh tools/bootstrap.sh returned 1 with
bootstrap requires Linux AArch64; the full Bridge aggregate is NOT_RUN.
No compiler pin, GPU wire format, mathematical tolerance, license or historical receipt changed. No MAX source was copied. No graph, device, driver or live service was exercised. No interoperability or performance qualification follows from these metadata tests.
Source identities (SHA-256)
5762194550762dfb7c7934423302a1aa51575e81b13b30c6cf2585927861595d conformance/max_runner.py
ba4569d97b8955ad4fb14924622d82534c9767a60dd9d37edd7a34a9212e9198 conformance/test_max_runner_metadata.py
7c97870559fc0d45da92e2b5875e64f4086a520f963cb0e8ef1a8cec2680232f conformance/run.sh