joule-moq-web e2e: the service scenario seeks back from the relay's DVR window #377
Loading…
Reference in a new issue
No description provided.
Delete branch "joule-moq/e2e-service-seek"
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?
What this changes
joule-moq-web's
e2e/room.e2e.mjs: theservicescenario now covers seek back, the control of WAI live-recording §8 and live-rooms §10.6. Until now only thedvrscenario covered it, in fixture mode, and the room page as deployed (service mode) never had its Seek back tested.dvrscenario's relay configuration. The room service's grants already carry the seek power.dvrscenario's checks, which are now one function,seekBackChecks, shared by both scenarios:runs.length === 1);After the relay stops, its signed summaries must show the seek back was served from the window.
--seek on|off. It defaults to on locally and off with--base, since a deployment's relay may keep no window. A step not run is printed asskip, listed apart in the summary line and inresults.json(now{ checks, skipped }), and never counted as a passed check.servicerow and the--baseparagraph say all of this.No product code changes. The page, relay and room service are as at
1f4798770(#366).Checks (build host, through
rb)BROWSER_BIN=<host Chrome> bash e2e/run.sh --runs 2, first time--base https://wai.transaction.science --only service(production; no DVR window there yet)skip production: seek back into the relay's window, listed as skipped/room/(--web <site dist>), relay, service and wai_live_web at1f4798770, before this changepython3 -I scripts/check-tests-in-ci.py,./scripts/check-workflow-concurrency.sh,python3 scripts/check-spec-refs.py,python3 scripts/check-wai-section-refs.py,bash scripts/check-no-vanity-metrics.sh,bash scripts/test-public-text-checks.sh,bash scripts/check-comparative-prose.sh,python3 scripts/check-orphan-sources.py,scripts/check-public-names.sh(with the denylist)Falsifications
Each was made on the build host's copy after the commit, then restored.
--seek offlocally. Exit 0, 33 of 33 checks. The step is reportedskip service: seek back into the relay's window — --seek off.results.jsonlists it underskipped, and no check about the window or seeking was recorded.FAIL service: the relay served the seek back from its DVR window — 0 objects from the window over 5 sessions. A seek back that did not come from the window is caught.carol fetches the earlier groups … not within 120000 ms).Not done
--seek onwith--baseruns it once production keeps one.🤖 Generated with Claude Code