chore(release): 0.4.0 - #57
Merged
Merged
Conversation
Adds `lash migrate-ids` and makes the index aware of the ID-derivation rules it was built under, so an upgrade repairs stale unpinned task IDs on the next `lash index` instead of serving them indefinitely.
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.
Cuts 0.4.0. Version bump,
Cargo.lockrefresh, and the[Unreleased]section moved into a dated## [0.4.0]heading with link refs updated.Minor rather than patch:
lash migrate-idsis a new command.What ships
Added —
lash migrate-ids, which rewrites@depends-onreferences left dangling by a task-ID derivation change. Reports by default, writes only with--write.Fixed
lash index. The index now records the derivation version it was built under and re-derives when that does not match, so an upgrade repairs itself.lash check-indexcompares stored IDs against freshly derived ones, not just content hashes.lash lintdistinguishes a reference moved by a derivation change from a genuinely missing task.lash add --before/--afteraccept the file-qualified task ID thatlash showandlash listprint.lash add --dry-runresolves the request instead of echoing it back.Why now
The stale-ID bug is live in 0.3.1, and
check-indexreports in-sync throughout, so affected users have no signal anything is wrong. The fix repairs itself on the nextlash indexafter upgrade — the release is the delivery mechanism.Verification
cargo test --workspace --all-targets— passcargo test --doc— 48 passed, 0 ignoreddist-workspace.tomluntouched, sorelease.ymlstays in sync and theplanjob's up-to-date check should pass.After merge
Tag the merge commit and push to trigger the release build — not done yet: