chore: tighten package hygiene and packaging smoke coverage#377
Merged
liujuanjuan1984 merged 2 commits intomainfrom Apr 2, 2026
Merged
chore: tighten package hygiene and packaging smoke coverage#377liujuanjuan1984 merged 2 commits intomainfrom
liujuanjuan1984 merged 2 commits intomainfrom
Conversation
Collaborator
Author
|
本轮已基于 PR diff 完成自审,结论如下。 代码变动审查
PR 标题与描述审查
Issue 关联审查
结论
|
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.
背景
Package Metadata
requests,并同步刷新uv.locksrc/opencode_a2a/py.typedpyproject.toml中声明 package data,显式发布 typed package 信号Logging Baseline
src/opencode_a2a/__init__.py为 package logger 安装NullHandlertests/package/test_logging.py覆盖该基线Packaging Smoke Test
scripts/smoke_test_built_cli.sh,在/health检查前先验证安装后的工具环境可以导入opencode_a2auv tool install生成bin/python软链接的场景,避免 smoke test 误判Tests And Validation
tests/package/test_typing_contract.pytests/scripts/test_script_health_contract.pybash -n scripts/smoke_test_built_cli.shrm -rf build dist && uv build --no-sourcesbash ./scripts/smoke_test_built_cli.sh dist/opencode_a2a-*.whlbash ./scripts/smoke_test_built_cli.sh dist/opencode_a2a-*.tar.gz./scripts/doctor.shIssue 关联