Repository navigation
docs: 记下合并核对与 check:ui 用途两条经验 - #19
Merged
Merged
Conversation
两条都是 2026-11-02 实际踩出来的,且不写下来会再踩: 1. 合并之后要核对结果。a043f9c 把 main 合进功能分支时没报冲突, 却把五处 CI 加固覆盖回旧值(setDefaultTimeout(60000) 整行消失、 PTY 90000→15000、shell 90000→30000、提示符 45000→20000)。 这类回退不红不报错,只把窗口悄悄收窄,下次超时会被当成新代码的问题。 2. check:ui 是 CI 的验收项,不是本机自检工具。写这一条是因为当天为了 验证一句断言,在本机下载了 562 MB 内核跑全量,而那段本来就由 CI 覆盖。 关键是先想清楚要它回答什么问题,而不是怎么把它跑绿。
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.
两条都是今天实际踩出来的坑,不写下来会再踩。
1. 合并之后要核对结果,别只信「没有冲突」
\�043f9c\ 把 main 合进功能分支时没有报冲突,却把 main 上刚做好的五处 CI 加固覆盖回旧值:
这类回退不红不报错,只把窗口悄悄收窄,等到下一次超时才表现为「新代码有问题」——而实际上是被合并吞掉的旧修复。
2. \check:ui\ 是 CI 的验收项,不是本机自检工具
写这条是因为当天为了验证一句断言,在本机下载了 562 MB 内核跑全量,而那段本来就由 CI 覆盖。关键是先想清楚要它回答什么问题,而不是怎么把它跑绿。
文档改动,无代码变更。