Repository navigation
Run the tool-activity browser suite, and read models.py as UTF-8 - #9877
Closed
danielhanchen wants to merge 2 commits into
Closed
danielhanchen wants to merge 2 commits into
danielhanchen wants to merge 2 commits into
Conversation
Repo tests (CPU) is red on main, so every PR branched from it inherits two failures that have nothing to do with the PR. tests/studio/playwright_tool_activity.py arrived with #9803 and no workflow step, so it ran nowhere and every job stayed green over it. It is a gate, not a measurement harness: it drives smoke-tool-activity.html through 13 scenes and exits non-zero when one misses, and the questions it asks (whether closed content is still in the DOM, what aria-expanded says, where the page lands after a collapse) are not reachable from the node suite, which sees the reducers and the JSX through the TypeScript AST but never a Radix Collapsible. So it gets the step rather than a NOT_IN_CI entry, next to the settings-tabs smoke that shares its engine convention, with the matching paths filter so it triggers on its own edits. test_memory_contract.py read routes/models.py with the platform default encoding, which breaks on Windows the moment that file gains a non-ASCII byte. Added by #9830. Both guards were right and both offending changes were wrong, so the fix is on the offending side.
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.
Repo tests (CPU)is red onmain, so every PR branched from it inherits two failures that have nothing to do with the PR. Both guards are correct and both offending changes are wrong, so this fixes the offending side rather than the guards.The orphaned Playwright suite
tests/studio/playwright_tool_activity.pyarrived with #9803 and no workflow step, so it ran nowhere and every job stayed green over it.test_playwright_suites_run_in_ci.pyexists to catch exactly that.It gets a step rather than a
NOT_IN_CIentry because it is a gate, not a measurement harness: it drivesstudio/frontend/smoke-tool-activity.htmlthrough 13 scenes and exits non-zero when one misses its expectation. The questions it asks are not reachable from the node suite, which sees the reducers, the store and the JSX wiring through the TypeScript AST but never a Radix Collapsible: whether closed content is still in the DOM, whataria-expandedsays, and where the page lands after a collapse.Placed next to the settings-tabs smoke, whose
PW_ENGINEconvention it already documents itself as following, with the matchingpathsfilter entry so it triggers on its own edits.The encoding
test_memory_contract.py:178readroutes/models.pywith the platform default encoding, which breaks on Windows as soon as that file gains a non-ASCII byte. Added by #9830.tests/test_source_read_encoding.pyis the guard.Verification
tests/test_source_read_encoding.pyandtests/studio/test_playwright_suites_run_in_ci.py: 8 passed. Workflow YAML parses.