NEC-300: The e2e harness can run a typing script twice when WebDriver retries execute #303
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!303
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-300-the-e2e-harness-can-run-a-typing-script"
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-300 — https://projectron.nerchure.com/tasks/317
WebDriver re-sends nearly any failed command up to three times, including a script that throws and the inspector's 'Promise was collected'. A script that had already run when its error came back ran again; on NEC-298's branch that doubled a typed line in both vaults, which looks exactly like a sync duplication. startVault now tags every execute (and so every executeObsidian), and the renderer answers a re-send from the first run instead of running it again. Every retry of any command logs a 'once:' line naming the command and whether it was guarded. New e2e test execute-once.test.ts: a throwing script ran 4 times without the guard, once with it. Harness-only; no plugin or shared code changes. Clicks and keystrokes are filed as NEC-301.
Spec:
docs/changes/NEC-300-execute-at-most-once/spec.mdChangelog
NONE