Skip to content

release: 1.4.3 prep — version bump 1.4.2 → 1.4.3 (lock self-entries in lockstep, pins untouched) - #488

Merged
caomengxuan666 merged 1 commit into
masterfrom
chore/niubash-1.4.3
Oct 21, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
chore/niubash-1.4.3

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

What

Version bump 1.4.2 → 1.4.3 in preparation for the unixwin v1.4.3 release. Metadata only — no code changes, no pin changes.

  • Cargo.toml: [package] version 1.4.2 → 1.4.3
  • Cargo.toml: niubash-runtime path-dep version requirement 1.4.2 → 1.4.3
  • crates/niubash-runtime/Cargo.toml: crate version 1.4.2 → 1.4.3
  • Cargo.lock: both self-entries (niubash, niubash-runtime) bumped in lockstep

Why the lock self-entries ride along (#939 / rubash#863 lesson)

Niubash CI builds --locked; a manifest-vs-lock internal mismatch fails the lane (rubash hit exactly this on 1.4.1 and needed a hotfix PR, rubash#863, before the release could ship). Both workspace members' lock entries move together here.

Deliberately NOT touched

  • scripts/release/rubash-pin.json (currently a83a09d3 / 1.4.1) and scripts/release/winuxcmd-pin.json (currently v1.1.18 + dual SHA256): re-pinning is a deliberate release decision tracked in the v1.4.3 pre-release checklist — rubash re-pins after rubash#969 (1.4.2) merges; WinuxCmd re-pins to the first release carrying WinuxCmd#1270 (the gawk LF-adapter argv prefix, niubash#479 floor).
  • CHANGELOG.md: the 1.4.3 section lands with the tag (1.4.1/1.4.2 precedent — sections are dated release-day); the draft lives outside the repo for now.

Verification

  • cargo run --locked --bin niu -- --version prints niu 1.4.3 (smoke; also proves the lock is self-consistent under --locked)
  • git diff is exactly five version strings across three files

Notes

Part of the v1.4.3 release prep; tag timing is the owner's call (this PR does not tag).

Root package, niubash-runtime crate and its version requirement move together;
both Cargo.lock self-entries (niubash, niubash-runtime) bumped in lockstep
(#939/#863 lesson): niubash CI builds --locked, an internal manifest-vs-lock
mismatch fails the lane.

No code changes — version metadata only. Pins (rubash_rev/rubash_version,
winuxcmd_tag/sha256) are deliberate release decisions and are NOT touched here;
see the v1.4.3 pre-release checklist.
@caomengxuan666

Copy link
Copy Markdown
Member Author

Note for reviewers: the build-and-test failure on this PR is the pre-existing master-red console gate, not the version bump.

@caomengxuan666
caomengxuan666 merged commit 55cc901 into master Oct 21, 2026
10 of 11 checks passed
caomengxuan666 added a commit that referenced this pull request Oct 21, 2026
…ent version guard; regen skill bundle (#492)

Run 39598031043 post-mortem:
- publish-crates declared no needs and raced the build/gate jobs;
  niubash-runtime 1.4.3 and niubash 1.4.3 reached crates.io while the
  GitHub Release page never existed (the real blocker was skill-bundle's
  golden check failing, which skipped the release job).
- publish-crates now needs [release, build-windows, build-linux,
  build-macos, journey, perfbudget, skill-bundle]: build all platforms ->
  journey + per-asset timing gates -> GitHub Release with all assets ->
  and only then crates.io. A publish failure can no longer race the gates
  or precede the release page.
- New guard step queries the crates.io API before publishing and skips
  any crate whose max_version equals this release's version (::notice),
  so re-running a release whose versions already ship stays green; an API
  lookup failure falls back to cargo publish's own idempotency verdicts.
- skills/niubash/SKILL.md: the #488 version bump never regenerated the
  bundle, so "Bundle version" still said 1.4.2 - the drift that actually
  failed the golden check and blocked the release job. Regenerated.
- Refreshed the stale "rubash 1.0.0 is not on crates.io" publish comment.

Co-authored-by: cmx <[email protected]>
@caomengxuan666
caomengxuan666 deleted the chore/niubash-1.4.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