Repository navigation
Description
(lane openRepoShape-1, 2026-11-10T09:18:31Z)
Found by: w1283a, lane 1's writer of PR #1300 (for #1283), in its final report: it ran tests/test_bootstrap_spelling.py, tests/test_bootstrap_non_utf8_branch.py and tests/test_bootstrap_branch_bytes.py under a Latin-1 pytest, on main and on #1300's head, and found 4 rows beyond #1259's 13 that fail on both at the same kind of assert. Measured again, row by row and by hand, by i1300a, lane 1's investigator of those findings; every measurement below is i1300a's. The report is a lane 1 agent's message and is not posted on GitHub.
Lane 3 places this issue, and it has no milestone here: v1.2.1 is frozen. It is in the area of #1214 (settled by #1258), #1259 (#1278) and #1283: rows that fail under a one-byte locale, and whether each is a test that cannot judge there or a tool defect.
This body is ASCII. In the tool's output below, <ff> stands for the one byte 0xFF that the tool wrote, which a Latin-1 terminal shows as U+00FF, and <c3 bf> for the two bytes of U+00FF in UTF-8. A backslash escape, such as \udcff or \u2014, is text the tool printed.
What is wrong
Under a Latin-1 locale four rows fail on main, and each passes under UTF-8 and under ASCII. Each hands git or the tool the branch a<ff>b and asserts a line that spells it a\udcffb, the way a UTF-8 or ASCII process reads the byte 0xFF (a lone surrogate, U+DCFF, which spelled escapes). A Latin-1 process reads the same byte as the character U+00FF. So under Latin-1 the assembly root's scripts/bootstrap.py prints the name as that character, and the row's line is not in what it prints.
The tool is right there (measured below): every run exits 0 and ends bootstrap ok, makes or moves the same branches, leaves HEAD on the same ref by its bytes as under UTF-8, and the merge --ff-only line it prints, pasted into a Latin-1 shell, brings the branch forward. Only the spelling of the name differs. These are #1214's kind a (#1258's "a2": "the tool runs and answers rightly for the bytes Latin-1 gives, and the row expects UTF-8's reading or spelling"), and none of them is a tool defect.
No issue names them. #1214 did not list them, #1259's 13 rows and #1285's 16 rows are in other files, and #1283 is another row (details below). CI and the bench run UTF-8, so no gate sees them.
The four, with each one's failing assert (line numbers at main 0354a7e70):
| # | Test id | Assert | Expected line (from the row) | Line printed under Latin-1 |
|---|---|---|---|---|
| 1 | tests/test_bootstrap_non_utf8_branch.py::test_a_branch_past_the_pin_is_moved_back_whatever_its_upstream_is_named[the-byte-0xff] |
:232, assert (f" [spec] spec: branch {spelled(raw)} moved back ...") in result.stdout.split("\n") |
[spec] spec: branch a\udcffb moved back aaa9f6a4f6cd -> 551f7d6c32bc, the pin; nothing is lost, origin/a\udcffb still holds those commits, and `git -C spec merge --ff-only "$(printf -- 'origin/a\377b')"` brings the branch forward |
[spec] spec: branch a<ff>b moved back aaa9f6a4f6cd -> 551f7d6c32bc, the pin; nothing is lost, origin/a<ff>b still holds those commits, and `git -C spec merge --ff-only 'origin/a<ff>b'` brings the branch forward |
| 2 | tests/test_bootstrap_non_utf8_branch.py::test_a_leg_on_a_branch_whose_name_is_not_utf8_is_placed_on_every_run[make-bootstrap] |
:297, assert (placed + left in result.stdout) is (not given and run == 1) |
the leg was on a\udcffb, which keeps its commits; it is on main now |
the leg was on a<ff>b, which keeps its commits; it is on main now |
| 3 | tests/test_bootstrap_non_utf8_branch.py::test_a_leg_on_a_branch_whose_name_is_not_utf8_is_placed_on_every_run[--branch-a<ff>b] |
:296, assert placed in result.stdout |
[spec] spec: on a\udcffb at 551f7d6c32bc (branch tip == pin) |
[spec] spec: on a<ff>b at 551f7d6c32bc (branch tip == pin) |
| 4 | tests/test_bootstrap_branch_bytes.py::test_a_name_that_is_not_utf8_is_still_carried_and_the_branch_made |
:381, assert (f" [{leg}] {leg}: branch a\\udcffb created at " ...) in out.split("\n") |
[spec] spec: branch a\udcffb created at 0242d8c77092 U+2014 at the pin |
[spec] spec: branch a<c3 bf>b created at 0242d8c77092 U+2014 at the pin (the row sets PYTHONIOENCODING=utf-8:strict, so U+00FF is written as UTF-8) |
Each assert's message is the run's stdout, whose first line is bootstrap: Atlas (<the row's root>).
Where the name comes from: rows 1, 3 and 4 pass --branch a\udcffb, which the Latin-1 pytest process writes as the byte 0xFF and the Latin-1 child reads as U+00FF. Row 2 passes no --branch: the test makes the branch with git branch a\udcffb, and the tool reads it back from git through _head_of, which decodes with os.fsdecode, so under Latin-1 it is U+00FF there too.
What was measured, and by whom
Measured by i1300a, on main 0354a7e7012a1810338d0d93900573e38b9220e7, in a detached worktree of it; Python 3.12.3, pytest 9.1.1, git 2.43.0.
- The environment of every run: a stub
ghfirst on PATH,GH_TOKEN=bogus-i1300a, an emptyGH_CONFIG_DIR,GIT_CONFIG_GLOBALan empty file,GIT_SSH_COMMAND=false,EMAILset, andLANES_LANEunset. - The locales:
- Latin-1 is built with
localedef -cas adopt-project.py: under a one-byte locale such as Latin-1, a clonecheckmakes again for a plan's clone record that neither spelling names is compared with both, so it is kept and the next run reads it rather than cloning again (#1112) #1153'stests/test_adopt_one_byte_locale.pybuilds one (itslatin1fixture's charmap andLC_CTYPEsource,localedefexit 1 with warnings), thenLOCPATH,LC_ALL=en_US.ISO-8859-1,PYTHONUTF8=0. Python reportsiso8859-1 iso8859-1(file system and preferred encoding). - UTF-8 is
LC_ALL=C.UTF-8(utf-8 utf-8). - ASCII is
LC_ALL=C PYTHONUTF8=0 PYTHONCOERCECLOCALE=0(ascii ascii).
- Latin-1 is built with
1. The two files, with pytest itself in each locale:
python3 -m pytest -p no:cacheprovider -o tmp_path_retention_policy=failed \
--basetemp=<scratch> -rf tests/test_bootstrap_non_utf8_branch.py tests/test_bootstrap_branch_bytes.py
| Locale | Summary line |
|---|---|
| Latin-1 | 4 failed, 83 passed, 5 skipped in 19.10s |
| UTF-8 | 92 passed in 20.69s |
| ASCII | 86 passed, 6 skipped in 18.02s |
The Latin-1 run's short summary names exactly the four rows above:
FAILED tests/test_bootstrap_non_utf8_branch.py::test_a_branch_past_the_pin_is_moved_back_whatever_its_upstream_is_named[the-byte-0xff]
FAILED tests/test_bootstrap_non_utf8_branch.py::test_a_leg_on_a_branch_whose_name_is_not_utf8_is_placed_on_every_run[make-bootstrap]
FAILED tests/test_bootstrap_non_utf8_branch.py::test_a_leg_on_a_branch_whose_name_is_not_utf8_is_placed_on_every_run[--branch-a<ff>b]
FAILED tests/test_bootstrap_branch_bytes.py::test_a_name_that_is_not_utf8_is_still_carried_and_the_branch_made
The four ids alone, with -v: 4 passed under UTF-8 and 4 passed under ASCII (each row PASSED, none skipped).
2. What a child reads from the argument a<ff>b (python3 -c 'import sys; print(ascii(sys.argv[1]))'): 'a\xffb' (U+00FF) under Latin-1; 'a\udcffb' under UTF-8 and under ASCII.
3. Each row's scenario run by hand, in a copy of the tree the failed Latin-1 run kept, put back to the row's starting state first, then scripts/bootstrap.py with the row's arguments and no PYTHONIOENCODING (row 4: with and without its utf-8:strict), once under each locale. HEAD is read with git symbolic-ref -q HEAD as bytes.
- Row 1 (
--skip-validators --branch a<ff>b;specdetached at the pin551f7d6c32bc,a<ff>bataaa9f6a4f6cd, one commit past it, trackingrefs/remotes/origin/a<ff>b;codeonmain):- Latin-1: exit 0,
bootstrap ok, no traceback; the line in the table above; then[code] code: branch a<ff>b created at 82e19230652a \u2014 at the pin. After:specHEADrefs/heads/a<ff>bat551f7d6c32bc,codeHEADrefs/heads/a<ff>bat82e19230652a. - UTF-8 and ASCII: exit 0, the row's expected line (
a\udcffb, and the"$(printf -- 'origin/a\377b')"command), the same HEADs by their bytes. - The printed command, pasted into
bash -cin the same locale, from the root: exit 0 under all three, andrefs/heads/a<ff>bis thenaaa9f6a4f6cd, the commit past the pin. Under Latin-1 the command isgit -C spec merge --ff-only 'origin/a<ff>b'; bash's only output was its ownwarning: setlocale: LC_ALL: cannot change locale (en_US.ISO-8859-1).
- Latin-1: exit 0,
- Row 2 (no arguments, validators run;
specona<ff>bat the pin), twice:- Latin-1: run 1 exit 0,
[spec] spec: on main at 551f7d6c32bc (branch tip == pin)thenthe leg was on a<ff>b, which keeps its commits; it is on main now; run 2 exit 0, theon mainline alone. After: HEADrefs/heads/mainin both legs. - UTF-8 and ASCII: the same, with
the leg was on a\udcffb, ....
- Latin-1: run 1 exit 0,
- Row 3 (
--branch a<ff>b;specona<ff>bat the pin,codeonmain), twice:- Latin-1: run 1 exit 0,
[spec] spec: on a<ff>b at 551f7d6c32bc (branch tip == pin)and[code] code: branch a<ff>b created at 82e19230652a \u2014 at the pin; run 2 exit 0,on a<ff>b at ...in both legs. After: HEADrefs/heads/a<ff>bin both legs. - UTF-8 and ASCII: the same, spelled
a\udcffb.
- Latin-1: run 1 exit 0,
- Row 4 (
--skip-validators --branch a<ff>b; both legs detached at their pins0242d8c77092andea1b6d4df6f4):- Latin-1 with the row's
PYTHONIOENCODING=utf-8:strict: exit 0,[spec] spec: branch a<c3 bf>b created at 0242d8c77092U+2014 (ase2 80 94)at the pin, the same forcode; without it:branch a<ff>b created at 0242d8c77092 \u2014 at the pin. After either: HEADrefs/heads/a<ff>bin both legs, at the pins. Nocould not create branch. - UTF-8 and ASCII, either way:
branch a\udcffb created at ..., the same HEADs.
- Latin-1 with the row's
So in every row, under Latin-1 the exit code, the branches, HEAD's bytes and the pins are what the row's later asserts expect (rev(leg, f"refs/heads/{raw}") == pin, head_bytes(leg) == b"refs/heads/a\xffb\n" or b"refs/heads/main\n", "could not create branch" not in out). Those asserts are not reached under Latin-1, because each row fails first on the spelled line.
4. The guard #1258 gives this kind, asked in a child in each locale: skip_where_the_locale_does_not_spell_it_as_utf_8("a\udcffb", A_BYTE_READ_AS_A_SURROGATE) skips under Latin-1 only, with this locale's encoding (iso8859-1) reads b'a\xffb' as 'a\xffb', not as 'a\udcffb': the row needs a byte that is not UTF-8, which Python reads in as a surrogate (U+DC80 to U+DCFF) where the locale is UTF-8 or ASCII; here it is a character, and the tool takes it as one. Under UTF-8 and ASCII it does not skip.
The logs are in lane 1's scratch, /workspace/projects/openRepoShape-worktrees/_lane1-scratch/i1300a/logs/ (b-latin1.log, b-utf8.log, b-ascii.log, ids4-utf8.log, ids4-ascii.log, probe-b.log).
Read from the code, not run
- The PR that last changed each row (
git log origin/main --format='%h %s' -S'<string>' -- <file>, andgit log -Lover each test function):- Row 1: added by
0dee22b33(bootstrap.py: step (a) decodes git's output as the system decodes a name it is given, so a branch whose upstream is not UTF-8 is moved back, and a good branch this system's encoding cannot write gets a line of its own, not a traceback (#710) #824, for bootstrap.py and repo_shape.py: a leg on a branch whose name is not UTF-8 makes every latermake bootstrapend in a UnicodeDecodeError, and a character the filesystem encoding lacks still ends step (a) in a traceback #710); its expected command was last changed by450279caa(bootstrap.py: themerge --ff-only,--continueand--abortlines it prints word a leg's path and an upstream as a shell reads them back, so a byte that is not UTF-8 is aprintfand no longer escape text that names no ref (#932) #944, for the assembly root's bootstrap.py: thegit -C <leg> merge --ff-only '<upstream>'line names an upstream that is not UTF-8 by its\udcXXescape, so it does not paste #932), which made the byte 0xFF aprintf(-S"r'''\"\$(printf -- 'origin/a\\377b')\"'''");git log -Lalso lists75d705025(repo_shape.py strips only YAML's space and tab, so a value a Unicode space opens reads as PyYAML reads it, and validate-manifest, bootstrap, bump-leg and update-shape refuse a branch holding a character that does not print or is white space (#715) #823, for repo_shape.py's YAML reader: Unicode spaces are stripped from text YAML keeps, the empty block key andk: {?: 1}still read, and three texts about the reader are one word out of date (what #635 left) #715). - Rows 2 and 3: added by
0dee22b33(bootstrap.py: step (a) decodes git's output as the system decodes a name it is given, so a branch whose upstream is not UTF-8 is moved back, and a good branch this system's encoding cannot write gets a line of its own, not a traceback (#710) #824, for bootstrap.py and repo_shape.py: a leg on a branch whose name is not UTF-8 makes every latermake bootstrapend in a UnicodeDecodeError, and a character the filesystem encoding lacks still ends step (a) in a traceback #710), and unchanged since (-S'the leg was on a\\udcffb, which keeps its commits; it',-S'on = r"a\udcffb" if given else "main"'). - Row 4: added by
cd5ffa282(bootstrap.py and validate-manifest.py: a branch holding a NUL or a lone surrogate is a finding and step (a) does not hand it to git, sotracking_branch: "a\ud83db"or a leg'sbranch: "a\x00b"no longer endsmake bootstrapin a subprocess traceback under amanifest ok(#455) #644, for assembly-root bootstrap.py: a lone surrogate or NUL intracking_branch(or a leg'sbranch:) endsmake bootstrapin a subprocess traceback in step (a), andvalidate-manifest.pysaysmanifest ok, so no tool names it #455), and last changed bybad05d21e(tests: one skip helper for names and branches that are not UTF-8, Windows guards onmake_fileand the--branch a\udcffbtest by emulation, and the UTF-8 promise and the leg finding's role pinned (#663) #723, for tests: the non-UTF-8 name and branch tests: one skip helper for a filesystem that refusesprobe\udcff, Windows guards onmake_fileand the--branch a\udcffbcase, and the UTF-8 promise and the leg finding's role pinned #663), which gave itskip_where_a_name_cannot_be_not_utf_8(tmp_path).
- Row 1: added by
- tests: 50 tests in 12 files fail under a Latin-1 locale before and after #1209 (ten of them rows of
test_stdout_encoding.py), and whether each is a test that cannot judge under a one-byte locale or a tool defect is not measured (W1196's leftovers; follows #1196) #1214 listed none of the four. Its 24 files includetests/test_bootstrap_branch_bytes.py(row 4's file) and nottests/test_bootstrap_non_utf8_branch.py(rows 1 to 3), and none of its 50 rows is in either file. tests: 50 tests in 12 files fail under a Latin-1 locale before and after #1209 (ten of them rows oftest_stdout_encoding.py), and whether each is a test that cannot judge under a one-byte locale or a tool defect is not measured (W1196's leftovers; follows #1196) #1214's 50 are the rows that failed on W1196's head, tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209, whoseskip_where_a_name_cannot_be_not_utf_8asks the locale; row 4 calls that helper first (:375). validate-family.py: the holder's gate escapes what its stdout cannot encode, so it passes under Latin-1 where it ended in a traceback, and 45 rows in 11 test files that cannot judge under a one-byte locale skip there on their own premise (#1214) #1258's body says such a row "skips at tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209's head" and calls it "tests/test_adopt_plan_paths_spelled.py: follow-up of PR #1185 (#1167) from its review: three of its rows fail under a one-byte locale where the tool is right (the 0xff--work-dirand the two U+00E9 paths), and its new helper builds the child's environment withoutblank_unnamed_pin_sourcesor the git identity defaults #1196's (tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209's) row, not tests: 50 tests in 12 files fail under a Latin-1 locale before and after #1209 (ten of them rows oftest_stdout_encoding.py), and whether each is a test that cannot judge under a one-byte locale or a tool defect is not measured (W1196's leftovers; follows #1196) #1214's" (oftest_execute_refuses_a_local_source_directory_that_is_not_utf8). The filer's reading, not measured: row 4 skips under Latin-1 at tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209's head for the same reason, and rows 1 to 3, which skip only through their ownneeds_the_byte, still fail there. - How tests: 50 tests in 12 files fail under a Latin-1 locale before and after #1209 (ten of them rows of
test_stdout_encoding.py), and whether each is a test that cannot judge under a one-byte locale or a tool defect is not measured (W1196's leftovers; follows #1196) #1214 and tests: 8 tests in test_pinned_copy_text.py and test_family.py, files #1214 does not list, fail under a Latin-1 locale on main and on #1258, and whether each cannot judge there or is a tool defect is not classified (F1214's leftovers; follows #1214) #1259 dealt with this kind. validate-family.py: the holder's gate escapes what its stdout cannot encode, so it passes under Latin-1 where it ended in a traceback, and 45 rows in 11 test files that cannot judge under a one-byte locale skip there on their own premise (#1214) #1258, the PR that settled tests: 50 tests in 12 files fail under a Latin-1 locale before and after #1209 (ten of them rows oftest_stdout_encoding.py), and whether each is a test that cannot judge under a one-byte locale or a tool defect is not measured (W1196's leftovers; follows #1196) #1214, put each "a2" row behindskip_where_the_locale_does_not_spell_it_as_utf_8(text, premise), "asked only of the text the row's premise is about", "just before the first line that needs it":A_BYTE_READ_AS_A_SURROGATE"where the name holds U+DCFF" fortest_adopt_pins.py's four[not-utf-8...]rows andtest_pin_source_unreadable.py's three[not-utf-8-*]rows ("miss<0xFF>ingreaches the tool as text, and is printed as itself, not as\udcff"). tests: under a Latin-1 locale 12 of the 13 rows of #1259 skip on their own premise or read their UTF-8 file as UTF-8, and the 13th, the assembly root bootstrap.py saying it could not create a branch it made, is left failing for its own issue (#1259) #1278 (for tests: 8 tests in test_pinned_copy_text.py and test_family.py, files #1214 does not list, fail under a Latin-1 locale on main and on #1258, and whether each cannot judge there or is a tool defect is not classified (F1214's leftovers; follows #1214) #1259) did the same for its row 8,test_family.py::test_commit_one_refuses_a_trailer_that_is_no_text_before_it_stages("The tool is right in both"). validate-family.py: the holder's gate escapes what its stdout cannot encode, so it passes under Latin-1 where it ended in a traceback, and 45 rows in 11 test files that cannot judge under a one-byte locale skip there on their own premise (#1214) #1258 also keeps the locale question out ofskip_where_a_name_cannot_be_not_utf_8, so a row about a branch that is not UTF-8 "judges there too (tests/conftest.py: follow-up of PR #1209 (#1196) from its review: the helper's locale skip also catches 80 rows that can judge the tool under a one-byte locale, and four smaller gaps (a Windows failure, an unheld order, a triple predicate, a docstring) #1224's N1)". - tests: 8 tests in test_pinned_copy_text.py and test_family.py, files #1214 does not list, fail under a Latin-1 locale on main and on #1258, and whether each cannot judge there or is a tool defect is not classified (F1214's leftovers; follows #1214) #1259 counts 13 rows of
test_pinned_copy_text.py,test_family.pyandtest_bootstrap_spelling.py(tests: under a Latin-1 locale 12 of the 13 rows of #1259 skip on their own premise or read their UTF-8 file as UTF-8, and the 13th, the assembly root bootstrap.py saying it could not create a branch it made, is left failing for its own issue (#1259) #1278's table), none of these four. tests: 16 rows of test_family.py and test_pinned_copy_text.py fail under an ASCII locale and pass under UTF-8, 15 of them reading a UTF-8 file with read_text() and no encoding, and none is in #1259 or #1278 (RV1278 NIT-2) #1285 tracks 16 rows that fail under ASCII, 15 oftest_family.pyand one oftest_pinned_copy_text.py(tests: under a Latin-1 locale 12 of the 13 rows of #1259 skip on their own premise or read their UTF-8 file as UTF-8, and the 13th, the assembly root bootstrap.py saying it could not create a branch it made, is left failing for its own issue (#1259) #1278's "Left"), none of these four, which pass under ASCII (measured above). assembly-root bootstrap.py: under Latin-1,tracking_branchtb\udcffxis made with HEAD on it at the pin, but_head_ofreads the ref as another text, so it sayscould not create branch, thengit refused to check it out, both false (#1259 row 13) #1283 istest_bootstrap_spelling.py's row 13, a tool defect where the manifest spells the branchtb\udcffx: there_head_of's U+00FF is compared with the manifest's U+DCFF. In these four rows the name reaches both sides of the tool's comparisons through the locale (argv, oros.fsdecodeof git's bytes), so they agree, and the tool saysonandcreatedrightly (measured above). The open-issue list was read by title only.
What is not known
- tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff
--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209's head was not run. Whether row 4 skips there (the filer's reading above) is not measured, and neither is what tests/conftest.py: follow-up of PR #1209 (#1196) from its review: the helper's locale skip also catches 80 rows that can judge the tool under a one-byte locale, and four smaller gaps (a Windows failure, an unheld order, a triple predicate, a docstring) #1224's N1 would leave of it. - Python 3.14, which CI runs, was not used; the bench has 3.12.3.
- Other one-byte codecs. Only Latin-1 was built. The filer's reading, not run: any codec that reads 0xFF as a character gives the same four failures, and one that reads it as U+DCFF (ASCII) gives none.
- Row 4 with its own
PYTHONIOENCODING=utf-8:strictwrites U+00FF asc3 bf, which a UTF-8 terminal shows as U+00FF, not as the ref's byte. That is a Latin-1 locale under a UTF-8 stdout, the row's own setup; the filer did not judge it a defect, and no user report of it is known.
Done when
- Each of the four rows, under a Latin-1 locale built as adopt-project.py: under a one-byte locale such as Latin-1, a clone
checkmakes again for a plan's clone record that neither spelling names is compared with both, so it is kept and the next run reads it rather than cloning again (#1112) #1153's test builds one, either skips on its premise with a reason that states it (as validate-family.py: the holder's gate escapes what its stdout cannot encode, so it passes under Latin-1 where it ended in a traceback, and 45 rows in 11 test files that cannot judge under a one-byte locale skip there on their own premise (#1214) #1258 did for this kind, withskip_where_the_locale_does_not_spell_it_as_utf_8("a\udcffb", A_BYTE_READ_AS_A_SURROGATE)asked just before the line that spells the name), or expects the spelling the locale gives; and the asserts that judge under Latin-1 (exit 0, no traceback,bootstrap ok, HEAD's bytes, the branch at the pin) still run there wherever the row's order allows. - The two files under Latin-1 give 0 failed; under UTF-8 (92 passed on main) and ASCII (86 passed, 6 skipped on main) no row changes its outcome, by test id.
- Row 4's outcome under Latin-1 is stated on main and with tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff
--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209, so its guard and tests/conftest.py and tests/test_adopt_plan_paths_spelled.py: under a one-byte locale such as Latin-1 the 0xff--work-dirrow skips and the two U+00E9 rows read the child's UTF-8, so none of the three fails on a tool that is right, and the bytes helper starts its child asrun_scriptdoes (#1196) #1209's helper change do not skip it twice or leave it failing. - A mutant that drops each new guard makes its row fail under Latin-1 and changes nothing under UTF-8.
See #1214, #1258, #1259, #1278, #1283, #1285, #1209, #1224, #1196, #1153, #1300, #710, #932, #715, #663 and #455.
Lane: openreposhape-1 (openRepoShape-1)
Activity
brettheap commentedon Nov 10, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-11-10T09:18:47Z, for #1301
Logged in
lanes/log/openRepoShape-1.mdat83e3fd5f4e99caaee183a72f63aa99ee18256388.The three reads (lane-collision-protocol Rule 1):
tests: rows 2 to 4 of #1301 ask the leg's commit before the guard, so…