Skip to content

[Feature] Add plugin contract test suite#1652

Merged
zhuzilin merged 8 commits intoTHUDM:mainfrom
yitianlian:codex/plugin-contract-tests
Mar 2, 2026
Merged

[Feature] Add plugin contract test suite#1652
zhuzilin merged 8 commits intoTHUDM:mainfrom
yitianlian:codex/plugin-contract-tests

Conversation

@yitianlian
Copy link
Collaborator

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 982fc3b94e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if [ "${{ matrix.info.num_gpus }}" = "0" ]; then
python "$TEST_PATH"
else
python tests/ci/gpu_lock_exec.py --count ${{ matrix.info.num_gpus }} -- python "$TEST_PATH"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve test CLI args when invoking python

In .github/workflows/pr-test.yml I checked the fsdp/ckpt matrices and they still include entries like "test_qwen3_4B_fsdp_true_on_policy.py --colocated" and "test_qwen3_4B_ckpt.py --async-save", but the new execute block now wraps "$TEST_PATH" in quotes when calling python (and inside gpu_lock_exec). That turns the script path plus flags into one filename argument, so Python tries to open a non-existent file containing spaces and the CI job fails for any matrix case that appends extra test arguments.

Useful? React with 👍 / 👎.

@zhuzilin zhuzilin merged commit a0ac45a into THUDM:main Mar 2, 2026
14 checks passed
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.

2 participants