You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertionError: routed manifest's lucide-react must match its in-repo range:
expected '^1.29.0' to be '^1.31.0'
packages/cli/src/__tests__/app-generator.test.ts:574:68
AssertionError: expected '^1.29.0' to be '^1.31.0'
packages/cli/src/__tests__/app-generator.test.ts:1139:55
the durable question is whether that can be made automatic — a dependabot bump touching a range that a template mirrors should either update the template in the same PR or fail its own CI rather than a later, unrelated one.
Filed unassigned while implementing #4968 (PR #4969). 不是那个 PR 造成的,也不该由它修 —— 它是模板区间的跟进,这一条是让那次跟进变成「全仓阻断事故」的上游通道。
事实(实测,非推断)
#4959(
lucide-react1.29.0 → 1.31.0)在自己的 head SHA31745d8b上就是红的。Test shard 1/4 与 3/4 的 conclusion 都是failure,报的正是后来把全仓判红的那两条断言(job95325242299同 run,失败 job95325241579日志):门没有漏,是合并没等门。 时间线:
github-actions[bot]合入mainfailure(合并后 8 分 17 秒)机制
.github/workflows/dependabot-auto-merge.yml对 semver-patch / semver-minor 无条件执行:--auto在 required check 集满足的那一刻落地。承载这个门的 4 分片 test 矩阵是整个 workflow 里最慢的 job —— 本次单片import 986.93s、总时长约 9 分钟(见ci.yml里分片的注释,分片本身就是为压这个墙钟时间加的)—— 因此系统性地最后报到,也就系统性地最容易被--auto跑过去。值得注意的是仓库 AGENTS.md §9 明确禁止 agent 用它,理由一字不差就是这个:
人/agent 被禁的动作,dependabot 的 workflow 仍在做。
为何这不只是「区间漂移」的问题
这是一条任何红都能落进
main的通道,与被 bump 的包、与 ratchet 无关:只要一个 dependabot PR 的失败出现在慢 job 上,它就会被合掉。今天兑现的形式恰好是模板区间,下一次可以是任何东西。同族前情:#3523(合并队列必需集为空,当日兑现三例带红 Type Check 合入 #3503/#3510/#3516)、#3243。这是一周内第二次兑现
#4098(8-10)是同一条测试、同一个依赖(
lucide-react1.28.0 → 1.29.0),当时就写下了持久问题:#4099 只做了「跟进字面量」那一半,持久那一半没落地,七天后同一处以同样方式再红,并且这次连带阻断了 auto-merge 队列里的一切(#4963/#4965 等)。
可能的方向(未做取舍,交维护者定)
--auto自然就必须等它 —— 最小改动,但要确认 path-filter 跳过时 shard 仍会报success上下文(ci.yml的should_run=false分支正是为「这个 check 仍然报到」写的,看起来满足)。--auto。Test (shard 1/4)andTest (shard 2/4)are red onmain: the generator-template dependency ratchets were not moved by this morning's dependabot bumps #4098 提的方向):区间被镜像到模板的 bump,要么同 PR 改模板,要么自己红。这解决的是 ratchet 这一类,不解决通道本身。我倾向 1 + 3 分别治通道与治类别,但这是 CI 策略取舍,没有在热修里替维护者决定。