Skip to content

fix: derive backend support matrix from repo facts - #213

Merged
TATP-233 merged 1 commit into
mainfrom
fix/issue-164-support-matrix
Apr 10, 2026
Merged

TATP-233 merged 1 commit into
mainfrom
fix/issue-164-support-matrix

Conversation

@TATP-233

Copy link
Copy Markdown
Collaborator

Summary

  • replace the hand-maintained backend support table with a generated matrix derived from registry facts, owner YAMLs, and test coverage
  • add a reusable support-matrix generator plus a thin refresh script for docs
  • add docs guardrails and regression tests so the matrix cannot drift silently again

Linked Work

Validation

  • make check
  • uv run pytest -m "not slow"
  • Additional task-specific validation listed below

Commands actually run:

UV_CACHE_DIR=.uv-cache uv run python scripts/generate_support_matrix.py --write
UV_CACHE_DIR=.uv-cache uv run pytest tests/scripts/test_support_matrix.py tests/scripts/test_check_docs.py -q
UV_CACHE_DIR=.uv-cache make check
UV_CACHE_DIR=.uv-cache make test
UV_CACHE_DIR=.uv-cache uv run pytest -m "not slow and not veryslow" --ignore=tests/algos/test_mlx_ppo.py

make test aborts during collection because tests/algos/test_mlx_ppo.py triggers a host-level mlx.core import abort instead of reaching pytest.importorskip(...).
The broader non-slow run excluding that file still hits pre-existing IPC failures and later another train_mlx_ppo.py import abort inside tests/scripts/test_train_scripts.py.
The support-matrix-specific tests added in this PR pass.

Impact

  • Backend impact: both
  • Platform impact: both
  • Training effect expected: no

Artifacts

  • W&B: none
  • benchmark result: none
  • video / screenshot: none
  • ONNX / checkpoint: none

Checklist

  • Added or updated tests where needed
  • Updated docs if behavior or workflow changed
  • Linked the driving issue
  • Noted any follow-up work explicitly

@TATP-233
TATP-233 merged commit 4f0fe47 into main Apr 10, 2026
5 checks passed
@TATP-233
TATP-233 deleted the fix/issue-164-support-matrix branch April 10, 2026 19:17
TATP-233 added a commit that referenced this pull request May 4, 2026
fix: derive backend support matrix from repo facts
TATP-233 added a commit that referenced this pull request May 30, 2026
fix: derive backend support matrix from repo facts
TATP-233 added a commit that referenced this pull request Sep 4, 2026
fix: derive backend support matrix from repo facts
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.

Work: 从 registry / config / tests 生成支持矩阵

1 participant