Repository navigation
Name the encoding when the poll watcher writes its artifact - #9698
danielhanchen wants to merge 1 commit into
Conversation
test_checked_in_file_reads_name_an_encoding fails on main: the observed_polls artifact is written with the platform default encoding, so it breaks on Windows the moment a watched path gains a non-ASCII byte. It is the only such call left in the file. Repo tests (CPU) is red on every open PR because of it, which hides real failures behind a defect none of those branches introduced.
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Closing as a duplicate. This is the same one-line change as #9691, which came first and is already reviewed and green: the diff here is byte for byte identical. Four separate PRs ended up open for this single line, which is my fault for not checking before opening each one. Consolidating on #9691 so there is one thing to review and merge. Nothing is lost by closing this one. If #9691 turns out to be wrong for any reason, this can be reopened. |
tests/test_source_read_encoding.py::test_checked_in_file_reads_name_an_encodingfails onmain:That makes Repo tests (CPU), and so the whole Backend CI job, red on every open PR, which hides real failures behind a defect none of those branches introduced. I hit it on two unrelated PRs and traced it back to
main.One call, and the only one left in the file: line 99 is
urlopen, which is unrelated.Verified on a staging replica of current
main: Backend CI fails there without this and the guard test passes with it.ruff checkclean.