Repository navigation
test: expect ty's invalid-typed-dict-key, and accept polling in the website tests' page fake - #6596
Merged
Merged
Conversation
…'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
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Six developer-tool tests failed in scheduled run 44722728605's
dev-testsjob 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 aserror[invalid-typed-dict-key]rather thanerror[invalid-key]. ty still rejects the probe's bad key, so the test now expects the new rule name.dev/tests/process/test_website_server.py, such astest_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 maderender_checks' handover wait poll on a timer (polling=PROBE_POLL_MS), and the test's_DeployedPagefake didn't accept that keyword, so each test raisedTypeErrorbefore reaching its assertions. The fake now accepts and ignores it, as the fake intests/model/test_render_gate.pyalready 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 runsdev/tests. Only the dailydev-testsjob 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