Repository navigation
过渡期的 import 白名单只剩四行:activity、jsonerr、keys、settings - #267
Merged
Merged
Conversation
客户端读数据的地方都改用了命令,读数据的九个模块从表上删掉;剩下四行也去掉客户端不再用的名字。核对这张表的检查不再要求至少 10 行,改成这一节写出来的每一行表格都要读得出来。
ZLHad
marked this pull request as ready for review
December 1, 2026 10:32
ZLHad
enabled auto-merge (squash)
December 1, 2026 10:32
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.
改了什么
docs/project-format.md的过渡期一节:activity、jsonerr、keys、settings。客户端读数据的地方都改用了命令,读数据的九个模块(checkrec、gatecheck、packcheck、projects、resolved、review、shot_source、standing、status)不再 import。activity的read、runs;keys测试用的forget、has_codex、missing、_CACHE;settings读设置的load、path、studio、mirror、kept_own。review.stage_for现在由bin/vh review --stage自己用,所以那句"这里自己不用"里只留下settings.set_studio。tools/ci/py/studio_checks/listed_imports.py:不再要求表上至少 10 行,改成这一节写出来的每一行表格都要读得出来,而且至少有一行。以后表再缩,不用再跟着改这个数。怎么验证的
rows read 3 of 4;activity.no_such_name。python3 tools/changes.py check通过;tools/ci.sh --committed整跑 674 项过、0 项失败(20 分钟;跳过的还是"HyperFrames 合成上取帧");核对名单的那一项报"4 modules, 30 names, each there"。