@keepsnappy/agent 0.1.0-alpha.13 → 0.1.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,8 @@
1
1
  # End of one measured iteration: the SDK sends everything still unsent (nothing is sent while a run is active), then
2
2
  # shows `keepsnappy.flushed` (ok | error | off). `activate=0` makes the next launch dormant again.
3
+ # Both checks below are required: an iteration whose flush the SDK never acknowledged, or answered error or off, fails this
4
+ # flow (no data, no verdict), so the build is not `passed` and `farm run` ends not green with the build record. Maestro stops
5
+ # the session at the first failing command: the iterations after it do not run, and `farm close` shows them as no data.
3
6
  appId: com.gigaverse.appdev
4
7
  ---
5
8
  - runScript: send-markers.js # the iteration's step markers, recorded by step.js, sent now that it has ended
@@ -8,9 +11,7 @@ appId: com.gigaverse.appdev
8
11
  - extendedWaitUntil:
9
12
  visible:
10
13
  id: keepsnappy.flushed
11
- timeout: 60000
12
- optional: true # a dormant iteration (activation failed) shows nothing; farm close marks it invalid
14
+ timeout: 345000 # the SDK's worst case (315 s after the link) plus 30 s, as the Appium driver waits
13
15
  - assertVisible:
14
16
  id: keepsnappy.flushed
15
17
  text: ok
16
- optional: true
@@ -11,7 +11,6 @@ platform: ios-sim # ios-sim | ios-device
11
11
  device: booted # simulator UDID or "booted"; required (UDID) for ios-device
12
12
 
13
13
  repetitions: 10 # how many times the whole flow set runs
14
- baseline_branch: main # the branch your baseline comes from (CI passes --baseline <its out dir>)
15
14
 
16
15
  flows:
17
16
  runner: maestro # maestro: build `maestro test ...` from this file | command: run flows.command
@@ -28,9 +27,8 @@ flows:
28
27
  steps:
29
28
  rename: # stable names in history; keys are window/step names as they appear in metrics.csv
30
29
  "screen:(app)/community/[handle]/(tabs)": community.open
31
- pin: [community.open] # always listed in the summary, even without a change
32
30
 
33
31
  output:
34
- dir: keepsnappy-out # runs.ndjson, metrics.csv, <run>/ logs, verdict (compare/verdict.json)
32
+ dir: keepsnappy-out # runs.ndjson, metrics.csv, <run>/ logs
35
33
 
36
34
  timeout_seconds: 600 # per run of the command; optional
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepsnappy/agent",
3
- "version": "0.1.0-alpha.13",
3
+ "version": "0.1.0-alpha.14",
4
4
  "description": "KeepSnappy CLI: runs your app journeys, measures from inside the app and reports More work / Less work / No change per step.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",