[CI]: test-scripts skips two test files, and one of them fails
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
调研方向
从.github/workflows/test-parser.yml和.github/scripts/tests目录开始。更新test_lintcommit.py中的test_subject_uppercase,使其符合 issue 中描述的规则变更,然后运行python -m pytest .github/scripts/tests。当test-scripts作业运行整个目录且该命令通过时,任务即完成。
由索引模型根据 Issue 内容生成。
描述
Found while working on Python #971: add PR status labels and bump issue triage.
Problem
The test-scripts job in test-parser.yml runs a fixed list of test files, so a new file under .github/scripts/tests runs in CI only after someone adds it to the list. No other job runs these files, because the pytest testpaths setting lists only packages/*/tests directories.
Two files are not on the list, so CI does not run them:
test_closed_issue_comment_workflow.py, added by Python #962: notify Slack on closed issue comments.test_lintcommit.py. Its test_subject_uppercase fails on main. Python #382: remove lowercase requirement from linter removed the lowercase rule fromlintcommit.pyon 2026-05-06, but this test still expectsvalidate_subject("feat: Add new feature")to return "subject must be lowercase".
Change
- Change
test_subject_uppercaseto expect no error, since uppercase subjects are allowed on purpose. - Run the whole
.github/scripts/testsdirectory intest-scriptsinstead of the list, so a new test file runs without a list edit.
Acceptance criteria
test-scriptsruns every test file under.github/scripts/tests.python -m pytest .github/scripts/testspasses on main.
- 主要语言
- Python
- 星标
- 59
- 派生
- 32
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 76
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/aws-durable-execution-sdk-python 的其他 Issue
-
[AgentCore session] Remove the unused session timeout可能已有人在做 @srivilliamsai 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 77/100
aws/aws-durable-execution-sdk-python#970 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
aws/aws-durable-execution-sdk-python#952 ·
维护者通常 1 天内回复
-
[AgentCore session] W4: Document sessions in the worker README可能已有人在做 @ParidelPooya 于 3 天前认领。 未关闭enhancement needs-triage
难度 1/5 1-3 小时 新手友好度 76/100
aws/aws-durable-execution-sdk-python#950 ·
维护者通常 1 天内回复
-
[AgentCore session] W3: Add the session ID and job count to worker logs可能已有人在做 @ParidelPooya 于 3 天前认领。 未关闭enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
aws/aws-durable-execution-sdk-python#949 ·
维护者通常 1 天内回复
-
enhancement project
难度 1/5 1-3 小时 新手友好度 72/100
aws/aws-durable-execution-sdk-python#927 · 1 条评论 ·
维护者通常 1 天内回复
查看 aws/aws-durable-execution-sdk-python 的全部 Issue
相似的 Issue
-
[dbt] exported dataset keys reference physical columns可能已有人在做 @WilliamKelley 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
apache/ossie-converters#251 ·
维护者通常 2 天内回复
-
cli difficulty: easy enhancement
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
desec-io/desec-stack#1312 ·
维护者通常 14 天内回复
-
needs-triage
难度 1/5 1 小时以内 新手友好度 88/100
flashinfer-ai/flashinfer#9803 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 66/100
iamprivacy/Waves#66 · 2 条评论 ·