Repository navigation
fix(ostool): handle timestamped U-Boot output and TFTP startup - #223
Merged
Merged
Conversation
Accept timestamped command echoes, replies, and address values. Report TFTP bind failures so the listener can be retried, bound connection shutdown, and check deployed settings without passing the database password in command arguments.
There was a problem hiding this comment.
审查结论:通过
本 PR 适配带固件时间戳的 U-Boot 命令回显、完成标记和环境变量值;同时让内置 TFTP 的绑定错误可见并可重试,为服务器连接排空增加 10 秒上限,并在 systemd 配置检查中对比数据库运行设置且避免将数据库密码放入命令参数。
改动影响 uboot-shell 串口命令协议、服务器的 TFTP 与关闭生命周期,以及部署检查;范围集中在这些操作契约。新增测试覆盖时间戳解析和 TFTP 绑定失败/重试。本次未发现仍需阻止合并的问题。此前没有可处理的审查意见,也未发现相关重复 PR。
验证:当前 head 的两个 GitHub Actions check (stable, x86_64-unknown-linux-gnu) 均为成功;其中较早一次成功检查带有两条 target/tests/target 不存在的 failure-level annotations,但检查结论仍为 success。bash -n ostool-server/scripts/deploy.sh 本地通过。当前环境没有 cargo,因此未能运行本地 cargo fmt --check、clippy 或 crate 测试。未进行真实 U-Boot/开发板硬件验证;CI 和本地检查未报告由本 PR 导致的失败。
Powered by gpt-6-luna
ZCShou
approved these changes
Nov 19, 2026
ZCShou
approved these changes
Nov 19, 2026
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.
Accept timestamped command echoes, replies, and address values. Report TFTP bind failures so the listener can be retried, bound connection shutdown, and check deployed settings without passing the database password in command arguments.