Skip to content

test: read #6641's finding kinds in four browser tests - #6656

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-6655-finding-kinds
Nov 21, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-6655-finding-kinds

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#6641 changed three things about findings without updating four browser tests outside the set it ran by node id. Those four failed in push run 44879949277 on 8faa6acf1. This PR updates them to read the new finding kinds. Product code is unchanged.

The three changes, all deliberate in #6641's audit:

  • A refusal's words now end with the guarantee it keeps.
  • gate-failed is now a not-read finding rather than a refusal: the gate counts as not run.
  • The new ids-taken-by-events check refuses an element id the log already gives an event.
Test What broke Change
test_browser_like_console_words_remain_console_diagnostics str(problem) now ends with "(fails the check so that …)" compares problem.said, the console's words, which is what the test protects
test_an_async_reading_probe_is_refused_instead_of_awaited .failures keeps only refusing findings, so the probe's gate-failed dropped out reads the unread findings and asserts the gate refused nothing; renamed …_leaves_the_page_unread_instead_of_awaited
test_a_rendering_turn_is_polled_from_the_driver same as above same as above
test_the_report_feed_reads_reports_by_typed_target the thread took the widget's id ag-wren on purpose, so the test's later stamp was refused the thread is c-wren; a {kind: 'thread', id: 'ag-wren'} target still reads none of the widget's reports, and a bare id is still refused

Verification: all four pass on the commit before #6641 (67718fd12). They fail on main at 7abe4c3d9 with the same errors as the CI run, and pass on this branch.

Refs #6655 — automated triage

#6641 made a refusal's words end with the guarantee it keeps, made
`gate-failed` a not-read finding (the gate counts as not run) rather
than a refusal, and added `ids-taken-by-events`, which refuses an
element id the log already gives an event. It updated the tests it
edited by node id, but four browser tests outside them failed on main:

- `test_browser_like_console_words_remain_console_diagnostics` compared
  `str(problem)`, which now carries the guarantee. It compares
  `problem.said`, the console's own words.
- `test_an_async_reading_probe_is_refused_instead_of_awaited` and
  `test_a_rendering_turn_is_polled_from_the_driver` read `.failures`,
  which holds only refusing findings. They now read the unread findings
  and assert the gate refused nothing. The first is renamed
  `..._leaves_the_page_unread_instead_of_awaited`.
- `test_the_report_feed_reads_reports_by_typed_target` gave a thread the
  widget's id `ag-wren` on purpose, so its later stamp was refused. The
  thread is now `c-wren`. A thread target spelled `ag-wren` still reads
  none of the widget's reports.

No product behavior changes.

Refs #6655
@leaf-agent
leaf-agent merged commit c72a8ad into main Nov 21, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-6655-finding-kinds branch November 21, 2026 09:50
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