NEC-147: Local soak fails identity.test.ts's three compatibility-sensitive tests; CI passes them #206
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!206
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-147-local-soak-fails-identitytesttss-three-c"
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?
Task: NEC-147 — https://projectron.nerchure.com/tasks/155
Soak iterations after the first failed three identity.test.ts tests every time, because the test read NECTENDA_E2E_PLUGIN_DIR as 'this is the last published release' while soak.mjs sets it to the current mirror build to avoid re-staging. The compatibility pass is now declared with its own flag, NECTENDA_E2E_PREVIOUS_RELEASE=1, set by ci.yml's previous-release step; the flag without a plugin dir is refused. Reproduced first (3 fail with the dir set), fixed (14 pass), mutation-checked (flag set against the current build: the same 3 fail), and a 3-iteration soak of the file passed. Ride-along NEC-149: vitest.globalsetup.ts skipped the mirror lock whenever the plugin dir was set, so soak iterations 2+ ran out of .mirror unlocked; a dir inside .mirror now takes and releases the lock. Checked by hand against a live fake holder (refused; old code ran regardless). Known remaining gap: soak.mjs holds no lock between iterations, so a --check landing in that gap can still remove the plugin before the next iteration; it fails loudly ('No plugin found'), not silently.
Spec:
docs/changes/NEC-147-soak-previous-flag/spec.mdAlso fixes NEC-149: Soak iterations after the first run out of .mirror without the mirror lock
Changelog
NONE
7f674c14229990d3ed66