Repository navigation
release: 0.8.9 — Silence, mistaken for success - #203
Merged
Merged
Conversation
Two issues, both reported from outside the team, and the same bug wearing different clothes: something produced no signal, and the absence of a signal was read as a good one. _lock_dir_age captured two stat probes through one command substitution, so GNU's filesystem block was concatenated with the real mtime, the digits guard rejected the result, and it returned 0 — "fresh" — for a directory of any age. No orphaned lock was ever adopted on Linux. The suite was green over it, because the adoption test set the threshold to zero and passed through the broken age rather than exercising it. The other needed no bug at all: a plugin enabled part-way through a session has none of its hooks registered for the rest of it, so nothing is captured and hook-errors.log stays empty, because nothing failed. Four review passes over the two fixes found four more defects, each the fix failing in the shape of the thing it was fixing — including a notice whose jq could exit 2 and erase the user's prompt on UserPromptSubmit. Manifest bumped per #133 — the version the updater actually compares. Full suite 890 passed, 41 skipped. Thanks to @bonyohana and @fmanimashaun, both of whom did the diagnosis before filing. Co-Authored-By: Max <noreply>
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.
Manifest bump + CHANGELOG heading for the two issues merged since 0.8.8. Same shape as
release: 0.8.8(#196).Bumps
.claude-plugin/plugin.json0.8.8 → 0.8.9 — the version the updater actually compares, and the reason nothing ships until this lands (#133).What's in it
_lock_dir_agealways returned 0 on GNU/Linux, so no orphaned lock was ever adopted there; plus the strandedadopt/marker that wedged the lock permanently. Reported by @bonyohana./remember:doctor. Reported by @fmanimashaun.Both were reported from outside the team, and both reporters did the diagnosis before filing — one measured
_lock_dir_ageagainst a directory of known age, the other invoked the hook by hand to prove the pipeline was healthy end to end. Neither was findable by reading.Worth noting for the release
Four review passes across the two fixes found four further defects, each one the fix failing in the same shape as the bug it was fixing:
noclobberguard credited in the commit message with closing a race it had nothing to do with (the measurement was real; it belonged to a different line of code)jqcould exit 2 and, onUserPromptSubmit, erase the user's prompt — a cosmetic warning able to destroy the thing it was warning aboutAll fixed before merge, and the surviving limits (
capture-aliveis per project, so concurrent sessions on one project can produce a spurious notice) are written into the CHANGELOG rather than left to be found.Verification
Full suite on merged
main: 890 passed, 41 skipped. Manifest/CHANGELOG consistency checks pass.Follow-up, not blocking
/reload-pluginsexists but the docs don't say whether it re-registers hooks. If it does, the README's remedy should be a reload rather than a restart. Arguably a Claude Code issue rather than ours — "enabling a plugin silently does nothing until restart" is a poor default for every plugin, not just this one.