Repository navigation
test(eco): real git-contrib chain pin + mvdan-n re-check (Refs #2907) - #3143
Merged
Merged
Conversation
Chain A sources the real git-completion.bash and drives the registered live entry __git_wrap__git_main with bound COMP_* state; chain B renders __git_ps1 across eight repository states. Both run under this build and a GNU bash oracle over the same deterministic repositories and must agree byte for byte. The scripts themselves are GPL and stay unvendored; the harness discovers them on the host and skips when absent. A second pin re-checks the 16 mvdan-n parse fixtures against the oracle per file.
caomengxuan666
marked this pull request as ready for review
November 9, 2026 09:54
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.
概要
Refs #2907
把 git contrib 生态链钉入仓:真实
git-completion.bash/git-prompt.sh(GPL、不入仓,harness 在宿主上发现)的真实入口在真实仓库上端到端跑通,并与 GNU bash oracle 逐字节差分。tests/issue2907_git_contrib_chain.rs:__git_wrap__git_main(git 2.43 无_git符号),16 案;__git_ps1,含无参打印形与 2 参 pcmode 形;tests/fixtures/ecosuite/mvdan-n/的 16 个解析钉逐个-n退出码与 oracle 核对。tests/fixtures/ecosuite/git-contrib/{driver.sh,make-repos.sh}(自研,非 GPL 语料)。tests/fixtures/ecosuite/MANIFEST.md:补 git-contrib 节与 mvdan 核对节。链路实测:eco-2907 在 master
6eb861b8的只读首跑发现两处产品分歧——赋值载体泄漏(#3034,#3005 之根)与 sourced 文件报错文件名(#3035)——均已分别合入修复。本钉在基底88047f50上全链复跑:钉全绿(链 stdout 254 行与 GNU 逐字节一致、stderr 一致、B6 detached 形((v1.0))干净),手工 driver 差分在 git 源码树脚本对与系统 git 脚本对下均为 STDOUT/STDERR IDENTICAL。fail-first 证据:同一 driver 与同一仓库搭建脚本在修复前树(6eb861b8,eco-2907 原始产物)的输出恰在两缺陷格发散——B6 stdout 行(载体毒字节)与 A15 stderr 行(文件名报成 driver.sh);本钉的逐字节断言在该树上即红于此二格。与 #3033 的分界:本 PR 只核对已入仓的 16 个 mvdan 解析钉;559 片段执行差分是否接 CI 仍由 #3033 裁定,本 PR 不预置 CI job、不动该单。
本 PR 删除了什么
无删除。纯新增:1 个测试文件、2 个 harness fixture、
MANIFEST.md增补两节。产品代码零改动。