Skip to content

test: expect ty's invalid-typed-dict-key, and accept polling in the website tests' page fake - #6596

Merged
max-sixty merged 1 commit into
mainfrom
fix/dev-tests-ty-polling
Nov 20, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/dev-tests-ty-polling

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Six developer-tool tests failed in scheduled run 44722728605's dev-tests job because two tests lagged behind changes to what they check:

  • test_generated_fields_are_checked_through_record_reads_and_writes: the dependency bump in build(deps): bump the dependencies group with 7 updates #6530 moved ty from 0.0.99 to 0.0.104, which reports an unknown TypedDict key as error[invalid-typed-dict-key] rather than error[invalid-key]. ty still rejects the probe's bad key, so the test now expects the new rule name.
  • Five tests in dev/tests/process/test_website_server.py, such as test_the_agent_pass_waits_out_an_allocation_the_rollout_has_not_reached: Keep a page ready while a chart sample is out of view, and show a check every waiting sample #6558 made render_checks' handover wait poll on a timer (polling=PROBE_POLL_MS), and the test's _DeployedPage fake didn't accept that keyword, so each test raised TypeError before reaching its assertions. The fake now accepts and ignores it, as the fake in tests/model/test_render_gate.py already does.

Before this change, all six failed on d714c2e60 (current main). After it, all 31 tests in the two files pass. Neither PR's own CI runs dev/tests. Only the daily dev-tests job does, so this went unnoticed until the scheduled run.

The same job's eval smoke test (test_ui_review_setup.cjs) also failed. That failure isn't covered here; it has its own cause issue.

Refs #4225 — automated triage

…'s polling in the deployed-page fake

ty 0.0.104 (#6530) reports an unknown TypedDict key as
error[invalid-typed-dict-key] rather than error[invalid-key], so the
record-types test looked for a rule name ty no longer prints. #6558 made
render_checks' handover wait poll on a timer (polling=PROBE_POLL_MS), and
the website-server tests' _DeployedPage fake did not accept the keyword,
so five agent-pass tests raised TypeError before reaching their
assertions. Both ran only in the daily dev-tests job.

Refs #4225
@max-sixty
max-sixty merged commit 893ffb4 into main Nov 20, 2026
7 checks passed
@max-sixty
max-sixty deleted the fix/dev-tests-ty-polling branch November 20, 2026 15:30
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.

2 participants