Skip to content

deps(poise): pin the rev instead of tracking serenity-next - #200

Merged
FAZuH merged 1 commit into
mainfrom
deps/poise-rev-pin
Oct 7, 2026
Merged

FAZuH merged 1 commit into
mainfrom
deps/poise-rev-pin

Conversation

@FAZuH

@FAZuH FAZuH commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Fixes #196.

The release regenerates the lockfile, so a branch pin means every release builds whatever poise HEAD was that day. HEAD moved to 0.7.0 and broke three release runs before #194 upgraded the code to match; the committed lockfile only held until the next move.

All four manifests carried their own branch pin (root plus feed/voice/welcome), so all four move to rev a1d0e3e.

Verification:

  • cargo generate-lockfile leaves the poise entry unchanged (the acceptance criterion)
  • cargo build --release --all-features --all-targets on 1.98.1, clean target: 0 errors
  • clippy --workspace --all-features --all-targets -- -D warnings: clean

No release needed: this makes the next one deterministic rather than changing what ships.

The release regenerates the lockfile (patch-version.yml runs
cargo generate-lockfile), so a branch pin makes every release build
whatever poise HEAD happened to be that day. HEAD moved to 0.7.0 and
broke three release runs with E0615 on parent_commands before #194
upgraded the code to match.

Pinning the rev makes the regeneration a no-op, so a release can no
longer silently jump a major version. All four manifests moved
(root plus feed/voice/welcome); each had its own branch pin.

Verified: cargo generate-lockfile leaves the poise entry unchanged,
cargo build --release --all-features --all-targets on 1.98.1 with a
clean target is 0 errors, clippy --workspace --all-features
--all-targets -- -D warnings is clean.
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Release Preview

Next version: v0.4.3

Note: CHANGELOG.md has no ## [Unreleased] section. An empty one was created for this preview — add your entries under it to preview the release body.

0.4.3 (2026-10-07)

@FAZuH
FAZuH merged commit 607794b into main Oct 7, 2026
5 checks passed
@FAZuH
FAZuH deleted the deps/poise-rev-pin branch October 11, 2026 10: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.

Pin poise to a rev, not the serenity-next branch

1 participant