Skip to content

test(e2e): print a line when a journey had to answer the welcome tour again - #148

Merged
aRustyDev merged 2 commits into
mainfrom
chore/e2e-log-tour-came-back
Nov 13, 2026
Merged

aRustyDev merged 2 commits into
mainfrom
chore/e2e-log-tour-came-back

Conversation

@aRustyDev

@aRustyDev aRustyDev commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Since #144 the journey answers the welcome tour again when the page brings it back (three answers at most), so a green run no longer says whether the race fired. The only trace is the tour-came-back annotation in the run's JSON report, and the console reporter does not print it: the cell's log of the push run for ec37114 has no trace of it, although that run's slow-page report holds one.

What changes

  • e2e/support/check-report.mjs: after the count line of a run it prints one e2e: NOTE: tour-came-back in <report>, "<journey>": <what it recorded> ... line for each journey that recorded the annotation. It is not a verdict and changes no exit status. The line names the report, so main.json (the race happening on the real run) is told from control-slow-page.json (expected there). scripts/e2e.sh is unchanged: it already sends the checker's output to the cell's log.
  • docs/src/testing/status.md, G-31: where the annotation is, what the line looks like, what it means in each report, and what was counted.

Checked

Check Result
The checker on the saved reports of the three main runs after #144 (ec37114, 76347e2, af9e97e), six reports a line for exactly the reports that hold the annotation: slow-page of ec37114 and of 76347e2; none for the three main runs and for slow-page of af9e97e
Counted with the five dispatches G-31 already records the main run needed a second answer in 0 of 8, slow-page in 4 of 8
Synthetic: a nested suite with another annotation type one line, for the tour-came-back only
Synthetic: a skipped journey that holds a note the line, then the count guard's refusal as the last line, exit 1 (the skip control reads that last line)
Synthetic: a report with no suites no crash, no line
A copy that ignores the annotation's type prints 3 lines where 1 is right, so the nested-suite case fails it
A copy that does not descend into nested suites prints none, so the same case fails it

Seen in the cell

The first commit said it was not shown that the line prints in the cell's own log, because it had been run on saved reports only. It has now been seen: a dispatch of e2e-schedule.yml on this head (run 43502938868) has the line after the count line of control-slow-page.json and not after that of main.json. This pull request's own run (43501853057) had none, and its reports hold no annotation either, so nothing was due there. With these two runs the main run has needed a second answer in 0 of 10 runs and slow-page in 5 of 10. The second commit corrects the G-31 sentence; the first commit's message still says "not shown", and is left as it was.

Not shown

  • That a real user meets the race. The tour code is the pin's (web/ALLOWED-CHANGES does not list it), but the race was reproduced only in the Thrust build, under a slowed CPU and a held profile answer, and not on the pinned Plane.

Refs #45; closes nothing.

🤖 Generated with Claude Code

aRustyDev and others added 2 commits November 13, 2026 15:27
… again

Since #144 the journey answers the welcome tour again if the page brings it
back (three answers at most), so a green run no longer says whether the race
fired. The only trace was the `tour-came-back` annotation in the run's JSON
report, which the console reporter does not print: the cell's log of the push
run for ec37114 (43494469506) has no trace of it, though that run's slow-page
report holds one.

- e2e/support/check-report.mjs: after the count line of a run, it prints one
  `e2e: NOTE: tour-came-back in <report>, "<journey>": <what it recorded> ...`
  line for each journey that recorded it. It is not a verdict and changes no
  exit status; the line names the report, so main.json (the race happening on
  the real run) is told from control-slow-page.json (expected there).
- docs: G-31 says where the annotation is, what the line looks like, what it
  means in each report, and what was counted.

Measured on the saved reports of the three main runs after #144 (ec37114,
76347e2, af9e97e): the main run recorded it in none and slow-page in two of
the three; with the five dispatches G-31 already counts, 0 of 8 and 4 of 8.
The checker prints a line for exactly those reports that hold the annotation.
Three synthetic reports (a nested suite whose other annotation type must not
print; a skipped journey that holds a note, which the count guard still
refuses, the refusal being the last line; a report with no suites) behave as
intended, and two broken copies fail the first of them: one that ignores the
annotation's type printed 3 lines where 1 is right, one that does not descend
into nested suites printed none.

Not shown: that the line prints in the cell's own log (it was run on saved
reports, not by scripts/e2e.sh), and that a real user meets the race (it was
reproduced only in the Thrust build, under a slowed CPU and a held profile
answer, and not on the pinned Plane).

Refs: #45
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…l's own log

The previous commit said it was not shown that the line prints in the cell's
log, because it had only been run on saved reports. It has now been seen in a
real cell: a dispatch of e2e-schedule.yml on that head (run 43502938868) has
the line after the count line of control-slow-page.json and not after that of
main.json. The pull request's own run (43501853057) had none, and its reports
hold no annotation, so nothing was due there.

With these two runs the main run has needed a second answer in 0 of 10 runs
and slow-page in 5 of 10. The sentence that a real user meets the race is not
shown stays as it was.

Refs: #45
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev merged commit bf9bd4e into main Nov 13, 2026
66 of 68 checks passed
@aRustyDev
aRustyDev deleted the chore/e2e-log-tour-came-back branch November 13, 2026 21:56
aRustyDev added a commit that referenced this pull request Nov 13, 2026
#148 rewrote the G-31 row of docs/src/testing/status.md, the row this branch's G-32 row follows, so the two edits conflicted.
Resolved as main's G-31 row followed by this branch's G-32 row; nothing else conflicted. The resolved file differs from origin/main by
the one G-32 line, and from this branch's previous tip by #148's change to the G-31 row.

Refs: #46
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
aRustyDev added a commit that referenced this pull request Nov 13, 2026
Main gained #149 (the operator's routes) and #148. The one conflict was crates/thrust-api/src/lib.rs, in two places where #149 added the operator's handlers and routes beside the three this branch deletes: kept both operator routes and the operator block, dropped the slice's sign-in and sign-out routes, and kept this branch's comment on what is left of the identity routes. #149's contract tests sign in through Plane's `/auth/sign-in/`, so nothing there called the deleted routes.

Checked on native-memory after the merge: main 68 of 68 (main's 65 and #149's three; this branch changes no count), sweeper 3 of 3, csrfoff 6 of 6, clippy clean on the workspace.

Refs: #58
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant