Skip to content

fix(ci): allowlist the Qwen 3.5 MTP test env var - #3679

Merged
inureyes merged 1 commit into
mainfrom
fix/env-var-docs-qwen35-mtp-test
Dec 2, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/env-var-docs-qwen35-mtp-test

Conversation

@inureyes

@inureyes inureyes commented Dec 2, 2026

Copy link
Copy Markdown
Member

Problem

main is red on two jobs, both from the same cause:

  • env var docs: MLXCEL_TEST_QWEN35_MTP_BASE is read in src/lib/mlxcel-core/src/drafter/qwen3_5_mtp/tests.rs but is neither documented nor allowlisted.
  • python tooling tests: test_check_env_var_docs.CheckEnvVarDocsTests.test_repository_passes fails with AssertionError: 1 != 0 : env-var-docs: FAIL, the same check under pytest.

The name arrived with #3673's real-checkpoint gate and was missed because the per-unit pre-merge checks did not include scripts/ci/check_env_var_docs.py.

Change

Add MLXCEL_TEST_QWEN35_MTP_BASE to ALLOWLIST in scripts/ci/check_env_var_docs.py, in a new group mirroring the existing GLM-4.7-Flash MTP test-parameter group. It is test-only, so the allowlist is the correct path rather than a docs/environment-variables.md entry.

Verification

python3 scripts/ci/check_env_var_docs.py now exits 0:

env-var-docs: OK, 433 MLXCEL_* names in 3441 *.rs files under src/, 281 documented on docs/environment-variables.md, 152 allowlisted.

pytest is not installed in this environment, but test_repository_passes only asserts that this script exits 0, which is verified above.

Note

cargo-clippy and OpenXLA feature compile are also red on main and were red before #3673 merged (cdfd25473, 96f1c55c4, 5526a0cfa). They are not addressed here.

`MLXCEL_TEST_QWEN35_MTP_BASE` is read by the real-checkpoint gate in
`drafter/qwen3_5_mtp/tests.rs`, added with the bundled MTP drafter work
(#3673). The env var docs check requires every `MLXCEL_*` name read under
`src/` to be either documented or allowlisted, so the unlisted name failed
both the `env var docs` job and `test_check_env_var_docs
.CheckEnvVarDocsTests.test_repository_passes` in the `python tooling tests`
job on main.

It is test-only, so it takes the allowlist path rather than a page entry,
in the same group shape as the GLM-4.7-Flash MTP gate parameters.
@inureyes
inureyes merged commit 1f0fb52 into main Dec 2, 2026
15 checks passed
@inureyes
inureyes deleted the fix/env-var-docs-qwen35-mtp-test branch December 2, 2026 02:44
inureyes added a commit that referenced this pull request Dec 2, 2026
An earlier commit on this branch was taken from a tree that predated #3677 and #3679 and dropped their files and lines; restore them from main so this PR changes only the memory plan.
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.

1 participant