Repository navigation
fix(ci): allowlist the Qwen 3.5 MTP test env var - #3679
Merged
Merged
Conversation
`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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
mainis red on two jobs, both from the same cause:env var docs:MLXCEL_TEST_QWEN35_MTP_BASEis read insrc/lib/mlxcel-core/src/drafter/qwen3_5_mtp/tests.rsbut is neither documented nor allowlisted.python tooling tests:test_check_env_var_docs.CheckEnvVarDocsTests.test_repository_passesfails withAssertionError: 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_BASEtoALLOWLISTinscripts/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 adocs/environment-variables.mdentry.Verification
python3 scripts/ci/check_env_var_docs.pynow exits 0:pytestis not installed in this environment, buttest_repository_passesonly asserts that this script exits 0, which is verified above.Note
cargo-clippyandOpenXLA feature compileare also red onmainand were red before #3673 merged (cdfd25473,96f1c55c4,5526a0cfa). They are not addressed here.