Refine affected-test and PR-gate workflow#400
Merged
Conversation
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.
Summary
run-tests.sh的 frontmatter suite 對應,避免 agents、commands、skills 的變更選到未註冊 suite 而漏測test-guards非確定性卡住、背景程序清理與診斷不足Why
原本 frontmatter 路徑映射到不存在的
lint-frontmattersuite,造成相關變更可能沒有執行預期測試。同時,完整測試過早執行及依 host 名稱選 gate model,會增加迭代成本,也無法正確涵蓋 OpenCode 可使用多種 model 的情況。Impact
Validation
bash scripts/test-run-tests.sh— 15/15 passedbash scripts/test-commands.sh— 291/291 passedbash scripts/run-tests.sh --base origin/main— 6/6 selected suites passedbash scripts/run-all-tests.sh— 77 passed, 0 failed, 0 skippedbash scripts/run-tests.sh --verify-full .pm-dispatch/test-results/latest-full.json./cli/pmctl backlog lintgit diff --check