plugin status and the operator guide still call a predates-the-knobs verdict "another engine" — drift introduced by #211's fix #217
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#217
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #211, surfaced by the lane that fixed it. This drift is a consequence of that fix and should land in the same release, or v0.27.0 ships two surfaces describing one fact two different ways.
#211 taught
plugin doctorto distinguish a different engine from the same engine, recorded before this host pinned its knobs. Two other places render the same fact and were deliberately left alone because they sit outside that lane's file ownership:1.
crates/cli/src/plugin.rs:3000—plugin statusprints:Less actively misleading than the old doctor line, but it makes the same non-distinction: after upgrading to v0.27.0,
XandYwill differ only by the knob suffix, and nothing says so. An operator who runsplugin doctorandplugin statusin the same session now gets two different accounts of one verdict.2.
_prdoc/guides/80-operator-recovery.md:970— describes the check as "…or one earned under another engine". Still true, now incomplete: it does not mention the predates-the-fields case, which after this release will be the overwhelmingly common one.What to do
Render the distinction from ONE place. The prefix-plus-field-boundary predicate #211 added (a plain prefix is not enough —
wasmtime 36.0.1is a prefix ofwasmtime 36.0.14, which is a real engine change) should be a shared helper bothplugin_doctor.rsandplugin.rscall, not logic duplicated with a second chance to drift. That is the generic fix; makingplugin.rssay the same words a second time is the one that lets a third surface drift later.Update the guide to name both cases.
Mutations
==→ BOTH the doctor test and a newplugin statustest must go RED. If only one fails, they are not sharing the predicate and the drift can recur.36.0.1vs36.0.14test must go RED on both surfaces.Note
plugin statuscurrently appears to have no test covering this rendering — worth confirming, since #211 found the doctor conformance check had zero tests of any kind, and that is how #209 shipped.