Skip to content

WIP: release(preinstall): pin niugit 2.56.0.3 (GfW 2.56.0.windows.4 security rebuild) - #629

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/niugit-pin-2.56.0.3
Oct 28, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/niugit-pin-2.56.0.3

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

What

Bumps the bundled niugit pin 2.56.0.2 → 2.56.0.3 in scripts/release/preinstall.json (version + both architecture digests + purpose text), plus the matching niu plugin add niugit recipe pin (scripts/gen-plugin-recipes.py generator row + generated recipes.toml row) — the same three-file set as the previous bump e6bfeff, so the setup wizard no longer offers the old build either.

Why this is a 1.5.0 release blocker, not routine freshness

The wpm index moved to niugit 2.56.0.3 on 2026-10-26, so the pinned 2.56.0.2 digests no longer match the live index. release.yml's Confirm-PackagePin compares pinned digests against that live index at release time:

  • x64 leg: mismatch → niugit lands in $failed → the pre-install step throws fail-closed (niubash#468) → the 1.5.0 x64 release stops.
  • arm64 leg: fail-open warning → ships a 1.5.0 package with no preinstalled git.

2.56.0.3 is also the build we want on security grounds alone: it is the Git for Windows 2.56.0.windows.4 security rebuild (brotli 1.2.1, fixing CVE-2026-111497).

Digest evidence (verified two independent ways before landing)

arch sha256 size
windows-x64 fc700ae92fb50209344ad7d18649e1fc1cb5cba21ffe75d95ec5668fd1e625a1 34772677
windows-arm64 490fc3c2abf5da6b5441b8717ce8f22d187b74cd7f04aed6abc4ed50f9f4b12f 33911689
  • Source 1: live unixwin/wpm-source index.json niugit entry (version 2.56.0.3).
  • Source 2: unixwin/niu-git release v2.56.0.3 asset digest fields — identical values and sizes.
  • python scripts/release/check-pins.py and --fail-on-stale both fully green after the bump (ok niugit: 2.56.0.3; every other pin already current).

Deliberately untouched

  • WinuxCmd pin (v1.1.20) — current formal latest; its move to 1.2.0 happens on the synchronized three-repo release day, not here.
  • rubash pin — the final bump rides the row-11 close-out.
  • gawk / ripgrep / fd pins — verified current against the index.

Diff: 3 files, +10/−10, data-only (no code paths change).

…ty rebuild)

The preinstall pin still named niugit 2.56.0.2 with that release's digests, while the wpm index moved to 2.56.0.3 on 2026-10-26. That is a 1.5.0 release blocker, not just staleness: release.yml's Confirm-PackagePin compares the pinned digests against the live index, so on the x64 leg the mismatch lands niugit in $failed and the pre-install step throws fail-closed (niubash#468) - the x64 release stops; on the arm64 leg it warns fail-open and ships a package with no preinstalled git.

2.56.0.3 is the Git for Windows 2.56.0.windows.4 security rebuild (brotli 1.2.1, fixing CVE-2026-111497). Both digests were verified two ways before landing: the live wpm-source index.json entry and the niu-git v2.56.0.3 release assets' own digest fields agree exactly (x64 fc700ae92fb5..., arm64 490fc3c2abf5...; sizes 34772677 / 33911689 also match). check-pins.py (report and --fail-on-stale) is fully green after the bump; all other pins were already current and are untouched.

Same set as e6bfeff: also moves the `niu plugin add niugit` recipe pin (generator row + generated recipes.toml row) so the setup wizard no longer offers the pre-2.56.0.3 build. The WinuxCmd pin (1.1.20, current formal latest) and the rubash pin are deliberately not touched here.
@caomengxuan666

Copy link
Copy Markdown
Member Author

CI adjudication (for the merge): run 40611950229's only red job is build-and-test, and its failure set is name-for-name identical to master c06b2a0's own Niubash CI run 40561198034 — same binary, 654 passed / 8 failed on both:

  • 6× plugins::sources::tests::* + 1× plugins::sync::tests::sync_isolates_a_stalled_source_and_still_installs_the_rest — runner-environment family (panic: git must be available: program not found)
  • 1× shell::tests::execute_line_syncs_cd_before_following_windows_child_command — the known RUNNER~1 8.3-short-name family

No new failure names; every other check on this PR is green. This matches the adjudicated green-equivalent caliber for niubash Windows CI, so the PR is ready to merge on that basis. The change itself is data-only (pin JSON + recipe rows), and check-pins.py is green locally (report and --fail-on-stale).

@caomengxuan666
caomengxuan666 marked this pull request as ready for review October 28, 2026 01:05
@caomengxuan666
caomengxuan666 merged commit 9ba7f01 into master Oct 28, 2026
11 of 12 checks passed
caomengxuan666 added a commit that referenced this pull request Oct 28, 2026
… keymap K1+K2 #632 + niugit pin #629 meet the row-11 migration)

# Conflicts:
#	crates/niubash-runtime/src/repl.rs
@caomengxuan666
caomengxuan666 deleted the fix/niugit-pin-2.56.0.3 branch October 30, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant