fix(verifier): report whether the last action was confirmed applied

Both hosts get applied: true when the runner saw the dispatch succeed and
applied: null when it could not, so an unconfirmed action stops arriving at
the spec as no action at all.
This commit is contained in:
pj committed 2026-08-15 13:33:49 +05:30
1 parent b02e86b2e3
commit 53245fc589
2 files changed
+19 -2

No files matched your search

+5
View File
@@ -33,6 +33,11 @@ type Action struct {
// Direction is the scroll direction for ActionKindScroll: one of "up",
// "down", "left", "right". Empty for every other kind.
Direction string
// Applied is meaningful only on the action a step reports to the spec as
// state.lastAction: true when the runner saw the dispatch succeed, false
// when the apply call failed and nothing can say whether the action
// reached the app. The spec is told which of the two it is.
Applied bool
}
// LogEntry mirrors a logcat line captured between steps.