Skip to content

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

Merged
brettheap merged 2 commits into
mainfrom
fix/1259-latin1-leftover-rows
Nov 10, 2026

Conversation

@brettheap

@brettheap brettheap commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1259. This PR settles 12 of its 13 rows. The 13th row is a tool defect (kind c below), left failing on purpose, and it is now #1283, the issue of its own that #1259's first "Done when" box asks for, so nothing in #1259 is left open.

Goal

#1259 counts 8 rows of tests/test_pinned_copy_text.py and tests/test_family.py, and its comment 5 rows of tests/test_bootstrap_spelling.py, that fail under a Latin-1 locale and pass under UTF-8. None had a kind. Each is measured here, by test id, into #1214's kinds:

  • a, cannot judge under a one-byte locale (11 rows): each skips there on its own premise, which the skip reason states.
  • b, the test reads wrongly (1 row): corrected; it now runs and passes under Latin-1.
  • c, a tool defect a Latin-1 user would meet (1 row): not fixed, and the row is untouched. The evidence is under "The tool defect".

Main is 42308f26b, which holds #1258 (the helper skip_where_the_locale_does_not_spell_it_as_utf_8 and its premise sentences). This branch is one commit on it. It changes three test files and no tool.

The 13 rows

# Test id Kind Measured under Latin-1 Change
1 test_pinned_copy_text.py::test_the_variable_the_warning_offers_reads_the_later_link a Exit 0 and no WARNING, as the row asserts. Stdout reads openXdox \u2192 openYdox \u2192 openInk: scaffold-project.py calls escape_what_stdout_cannot_encode() (#214) at the start of main, so the arrow is printed escaped by design. skip_where_the_locale_does_not_spell_it_as_utf_8("\u2192", PRINTED_AS_ITSELF), after the exit and WARNING asserts
2, 3 test_pinned_copy_text.py::test_an_unused_pin_source_is_named_spelled[esc], [forged-line] a Exit 0 and no ESC, as asserted. The note reads not used \u2014 each declared pin .... The root's validate-pins.py makes a strict or surrogateescape stdout backslashreplace in _emit_report (#295), the reconfigure escape_unencodable_stdout does, written there because that file imports nothing but repo_shape. the same guard on "\u2014", after the ESC assert
4 test_pinned_copy_text.py::test_a_replaced_pin_source_and_its_replacement_are_spelled a The same: both notes read not used \u2014 the later .... the same
5 test_pinned_copy_text.py::test_a_key_read_as_a_path_is_spelled a The same. the same
6 test_pinned_copy_text.py::test_a_printable_pin_source_is_named_as_typed a The same. the same, after the exit assert
7 test_family.py::test_init_writes_the_holders_agent_files b init writes the holder's AGENTS.md as UTF-8 under Latin-1 too: its first line holds e2 80 94 for U+2014. The row read it with read_text(), in the locale's codec, so U+2014 came back as three characters. its four read_text() calls take encoding="utf-8"
8 test_family.py::test_commit_one_refuses_a_trailer_that_is_no_text_before_it_stages a os.fsdecode(b"Co-Authored-By: Jos\xe9") is ...Jos\xe9 (U+00E9), and _commit_one commits the trailer as Co-Authored-By: Jos\xc3\xa9, the text a Latin-1 terminal typed. Under UTF-8 the same bytes read as ...Jos\udce9, and _commit_one refuses trailer-not-utf8 with a.txt still untracked. The tool is right in both. skip_where_the_locale_does_not_spell_it_as_utf_8("Co-Authored-By: Jos\udce9", A_BYTE_READ_AS_A_SURROGATE), before the pytest.raises
9 test_bootstrap_spelling.py::test_a_register_and_its_path_are_spelled_when_it_cannot_be_read a The TEST raises UnicodeEncodeError on U+2028 in os.mkdir, before any tool runs. skip_where_the_environment_cannot_carry("sp\u2028ec")
10 test_bootstrap_spelling.py::test_a_roots_own_directory_name_is_spelled a The test raises in os.rename (shutil.move). skip_where_the_environment_cannot_carry(renamed.name)
11 test_bootstrap_spelling.py::test_a_family_roots_own_directory_name_is_spelled a The same. the same
12 test_bootstrap_spelling.py::test_a_members_row_and_the_make_target_are_spelled a The test raises in open (write_bytes) of ta\u2028rget.py. skip_where_the_environment_cannot_carry(target)
13 test_bootstrap_spelling.py::test_a_branch_name_is_spelled_in_every_line_that_names_it c The assembly root's bootstrap.py makes the branch and then says it could not. See "The tool defect". none

Why rows 9 to 12 take skip_where_the_environment_cannot_carry. The four UnicodeEncodeErrors that #1259's comment reads are the test's own: os.mkdir, os.rename and open of a name holding U+2028, which Latin-1 cannot encode. The docstring of #1258's helper gives such a row to that guard ("A name the TEST cannot make or pass at all is skip_where_the_environment_cannot_carry's"), as #1258 did for its 18 "a1" rows. Its reason names the encoding and the name, for example this system's file name encoding (iso8859-1) cannot spell 'At\u2028las'.

No tool traceback hides behind them. I ran both roots' bootstrap.py under Latin-1, with the row's PYTHONIOENCODING=utf-8:strict, on the manifests those rows had written before they raised: the leg path "sp\u2028ec", the member path "members/Ir\u2028s" and the project "Bo\u2028x". Neither printed a traceback. The assembly root printed [spec] sp\u2028ec: NOT INITIALIZED ... and bootstrap ok, exit 0. The family root spelled both members and ended at its own family bootstrap FAILED for the two members whose make the probe ran, exit 1.

The guards ask only of the text their premise is about, just before the first line that needs it, as #1258's do. The asserts before each guard still judge under Latin-1 (exit code, no ESC, no WARNING). Under UTF-8 no guard skips. Every skip reason states its premise, for example this locale's encoding (iso8859-1) cannot spell '\u2014': the row reads this character as itself in what the tool prints, and a stdout in this encoding writes it as an escape (#214).

The tool defect (row 13, kind c): not fixed here

This defect is #1283. Lane 4 filed it from the evidence below, as #1259's first "Done when" box asks. This PR changes no tool, and row 13 stays failing and untouched until #1283 is mended.

What a Latin-1 user meets. Take a project whose project.yaml says tracking_branch: "tb\udcffx", the spelling bootstrap.py takes for a branch holding the byte 0xFF (#715). Under Latin-1, make bootstrap makes that branch in each leg, with HEAD on it at the pin, then prints:

  [spec] spec: could not create branch 'tb\udcffx' at the pin f6d8ff445a2d; leaving detached
          `git checkout -b` exited 0, and HEAD is not on the branch at the pin
          nothing else is tried; the recorded pin is authoritative. Deal with what git said and run bootstrap again.

Every later run prints branch tb\udcffx is at the pin f6d8ff445a2d, and git refused to check it out: with the same two lines, and exits 0. Both claims are false.

Measured in the tree the failed Latin-1 run kept, before and after a second run:

  • git symbolic-ref HEAD in spec and in code gives refs/heads/tb\377x;
  • git rev-parse HEAD gives the pin, f6d8ff44... and ce229835..., which equal git rev-parse HEAD:spec HEAD:code in the root.

Under UTF-8 and ASCII the same manifest gives branch tb\udcffx created at <pin> and, on the next run, on tb\udcffx at <pin> (branch tip == pin). The row passes in both.

The code at fault (templates/assembly-root/scripts/bootstrap.py, at main 42308f26b; on 2fde6c3d0 the same lines are :841, :857, :922, :1505 and :1755):

  • _head_of (:782) returns HEAD's ref as os.fsdecode(ref.rstrip(b"\r\n")) (:798). Its docstring says such a name "reads back as the refs/heads/<branch> built from the same name". That holds only where os.fsdecode(os.fsencode(name)) == name.
  • Under Latin-1, os.fsencode("tb\udcffx") is b"tb\xffx" (surrogateescape), which is what git is handed. os.fsdecode(b"tb\xffx") is "tb\xffx" (U+00FF), not "tb\udcffx".
  • So the text comparisons of (pin, f"refs/heads/{branch}") with _head_of(sub) fail with HEAD on the branch:
    • the creation step, if _head_of(sub) != (pin, f"refs/heads/{branch}") (:1696), which prints could not create branch (:1698);
    • _check_out, if _head_of(sub) == (pin, f"refs/heads/{branch}") (:863), which returns "git checkout exited 0, and HEAD is not on the branch at the pin" (:866), and its caller prints "git refused to check it out" (:1446).

Runs

The commands, the environment and the logs are W1259's. Pytest is /usr/bin/python3 -m pytest -p no:cacheprovider on Python 3.12.3. The environment for every run:

  • a stub gh first on PATH, GH_TOKEN=bogus, an empty GH_CONFIG_DIR;
  • GIT_CONFIG_GLOBAL an empty file, GIT_CONFIG_NOSYSTEM=1, the test identity, EMAIL set;
  • GIT_ALLOW_PROTOCOL, GIT_SSH_COMMAND and LANES_* unset;
  • git-filter-repo 2.47.0 (a40bce548d2c, pip launcher) first on PATH.

The locales:

The gate: 22 test files, on main 42308f26b and on this head. They are:

The 71 other test files that import from one of the three changed files were collected in each locale, on main and on the head. Each run collects 3782 tests with no error, and the per-file counts are identical.

Run main 42308f26b this head
22 files, Latin-1 35 failed, 1144 passed, 87 skipped 23 failed, 1145 passed, 98 skipped
22 files, UTF-8 1265 passed, 1 skipped 1265 passed, 1 skipped
22 files, ASCII 52 failed, 1120 passed, 94 skipped 41 failed, 1121 passed, 104 skipped
the three files, Latin-1 13 failed, 394 passed 1 failed (row 13), 395 passed, 11 skipped
the three files, UTF-8 407 passed 407 passed
the three files, ASCII 27 failed, 380 passed 16 failed, 381 passed, 10 skipped

By test id, from main to the head:

#1259's "Done when", on a scratch merge. The merges are main 42308f26b with #1209's head 13a2c58cb (bad3de928), then with this head (20fcb11e1). Both are local, never pushed, and both merged clean.

Run main + #1209 main + #1209 + this head
test_pinned_copy_text.py and test_family.py, Latin-1 8 failed, 192 passed 0 failed, 193 passed, 7 skipped
the same two, UTF-8 200 passed 200 passed
the same two, ASCII 23 failed, 177 passed 16 failed, 178 passed, 6 skipped
with test_bootstrap_spelling.py, Latin-1 13 failed, 394 passed 1 failed (row 13), 395 passed, 11 skipped
with test_bootstrap_spelling.py, UTF-8 407 passed 407 passed
with test_bootstrap_spelling.py, ASCII 27 failed, 380 passed 16 failed, 381 passed, 10 skipped

By test id on the merges: UTF-8 changes nothing; Latin-1 and ASCII change exactly the rows above. The 16 ASCII failures are not among the 13, and fail on main + #1209 as well (see "Left").

Main moved after these runs, to 2fde6c3d0. That commit makes both roots' bootstrap.py, validate-family.py and siblings.py refuse git-repo-unreadable where the root's .git cannot be read, and changes tests/test_validate_family_unreadable.py (one of the 71 files collected above) and adds tests/test_pinned_root_git_unreadable.py. It touches none of this PR's three files, and git merge-tree of this head with it is clean. The runs above were not repeated on it. Main then moved again, to 674077657 (#1120, adopt-project.py). RV1278 re-ran a 20-file gate (the three files, #1258's other 14 test files, test_adopt_one_byte_locale.py and #1172's two test files) on a scratch merge of this head with 674077657: Latin-1 20 failed, 1142 passed, 84 skipped (main: 32 failed, 1141 passed, 73 skipped); UTF-8 1245 passed, 1 skipped on both; ASCII 41 failed, 1124 passed, 81 skipped (main: 52 failed, 1123 passed, 71 skipped). By test id only the rows above change, and every remaining failure fails on main too.

Mutants

Each mutant was applied in a scratch worktree at the head, inside the one test function named. Its row ran under Latin-1 and ASCII. The file was then restored from HEAD and its sha256 checked equal; all 14 were.

Mutant Row Latin-1 ASCII
M1: the PRINTED_AS_ITSELF guard dropped 1 1 failed 1 failed
M2: the same 2, 3 2 failed 2 failed
M3: the same 4 1 failed 1 failed
M4: the same 5 1 failed 1 failed
M5: the same 6 1 failed 1 failed
M6: the A_BYTE_READ_AS_A_SURROGATE guard dropped 8 1 failed 1 passed: ASCII reads 0xE9 as U+DCE9, so the guard does not skip there and the row judges
M7: AGENTS.md read in the locale's codec again 7 1 failed 1 failed
M8: the first read of AGENTS-shape.md in the locale's codec 7 1 passed 1 failed (UnicodeDecodeError)
M9: the second read of AGENTS-shape.md the same 7 1 passed 1 failed
M10: the read of CLAUDE.md the same 7 1 passed 1 passed
M11: the skip_where_the_environment_cannot_carry guard dropped 9 1 failed 1 failed
M12: the same 10 1 failed 1 failed
M13: the same 11 1 failed 1 failed
M14: the same 12 1 failed 1 failed

Merge-trees

git merge-tree --write-tree of this head is clean against:

Neither of those two changes a row this PR touches. #1201's hunks are at an import and test_add_refuses_a_spelling_of_a_member_the_family_already_pins; #1171's are at PINNED_IMPORTERS.

Left, and outside this issue

🤖 Generated with Claude Code
Lane: openreposhape-4 (openRepoShape-4)

Summary by Sourcery

Make locale-sensitive tests accurately distinguish unsupported environment premises from genuine tool failures.

Bug Fixes:

  • Fix the family test to read generated UTF-8 instruction files correctly under non-UTF-8 locales.

Enhancements:

  • Classify locale-dependent test cases with premise-specific skips when the environment cannot represent required characters or output.
  • Preserve validation of locale-independent assertions while skipping only checks that require UTF-8 spelling.

Tests:

  • Update pinned-copy, family, and bootstrap spelling tests to behave deterministically across Latin-1, ASCII, and UTF-8 locales while retaining coverage for the known bootstrap defect.

…r 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)

#1259 counts 8 rows of test_pinned_copy_text.py and test_family.py, and
its comment 5 of test_bootstrap_spelling.py, that fail under Latin-1
(`localedef -c`, `LC_ALL=en_US.ISO-8859-1`, `PYTHONUTF8=0`) and pass
under UTF-8. Each is measured and classified here.

Cannot judge under a one-byte locale (11 rows), each guarded just before
the first line that needs its premise:
- test_pinned_copy_text.py, 6 rows: the scaffold
  (`escape_what_stdout_cannot_encode`, #214) and the root's
  validate-pins.py (`_emit_report`'s own `backslashreplace`, #295) print
  U+2192 and U+2014 escaped on a Latin-1 stdout, as designed, exit 0.
  `PRINTED_AS_ITSELF`, after the asserts that still judge there.
- test_family.py's test_commit_one_refuses_a_trailer_that_is_no_text_
  before_it_stages: Latin-1 reads the byte 0xE9 as U+00E9, and
  `_commit_one` commits `Co-Authored-By: Jos\xc3\xa9`, the text a Latin-1
  terminal typed, where UTF-8 reads U+DCE9 and refuses
  `trailer-not-utf8`. `A_BYTE_READ_AS_A_SURROGATE`.
- test_bootstrap_spelling.py, 4 rows: the test itself cannot make the
  U+2028 name (`os.mkdir`, `os.rename`, `open` raise UnicodeEncodeError
  before any tool runs). `skip_where_the_environment_cannot_carry`, which
  the helper's docstring names for a name the test cannot make. Run on
  the manifests those rows had written, both roots' `bootstrap.py`
  spell the U+2028 values under Latin-1 with no traceback.

Reads wrongly (1 row): test_init_writes_the_holders_agent_files read the
UTF-8 files `init` writes (AGENTS.md holds E2 80 94) in the locale's
encoding. Its four reads now say `encoding="utf-8"`, so it runs and
passes under Latin-1 and ASCII as under UTF-8.

A tool defect, left untouched (1 row):
test_a_branch_name_is_spelled_in_every_line_that_names_it. Under Latin-1
the assembly root's bootstrap.py makes the branch the manifest names
(`tb\udcffx`, the byte 0xFF), with HEAD on it at the pin, and says
"could not create branch ... leaving detached"; every later run says
"git refused to check it out". `_head_of` reads HEAD's ref back through
`os.fsdecode`, which under Latin-1 gives U+00FF for that byte, and
`_check_out` and the creation step compare it as text with the
manifest's U+DCFF. See #1259.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Tests

Read the family test’s explicit UTF-8 reads together with the locale guard for the trailer premise, which separates a test decoding error from behavior that Latin-1 cannot judge.

  • tests/test_family.py L35-38 (+5 small edits)

Review the pinned-copy locale guards alongside the assertions they protect, distinguishing output that is deliberately escaped from output the test expects to read literally.

  • tests/test_pinned_copy_text.py L46-49 (+5 small edits)

Review the filename-encoding skips at each bootstrap spelling test’s premise, while confirming the branch-spelling tool-defect test remains unchanged and exposed.

  • tests/test_bootstrap_spelling.py L62-692 (5 small edits)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

brettheap pushed a commit that referenced this pull request Nov 9, 2026
… so this PR merges with #1278, which changes the `conftest` import, without a conflict (#1205)

The fix round's commit added `scalar_lines_not_refused` to the
`from conftest import (...)` statement, which PR #1278 rewrites too:
`git merge-tree` of the two heads stopped in conflict there. The name is
imported on its own line after the `test_update_shape` import, clear of
#1278's lines and of #1201's (`from repo_shape import`).

Lane: openreposhape-3 (openRepoShape-3)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

RV1278: independent review of #1278 at 31f94270: READY AFTER FIXES

(lane openRepoShape-4, 2026-11-09) I wrote none of #1278. The code needs no change and nothing here is a MUST. Two body sentences are stale and should be replaced before landing (SHOULD-1 and SHOULD-2, exact text below). Four NITs follow them.

What I measured

Run main 674077657 merge f0db5bc2d
20 files, Latin-1 32 failed, 1141 passed, 73 skipped 20 failed, 1142 passed, 84 skipped
20 files, UTF-8 1245 passed, 1 skipped 1245 passed, 1 skipped
20 files, ASCII 52 failed, 1123 passed, 71 skipped 41 failed, 1124 passed, 81 skipped
the three files, Latin-1 13 failed, 394 passed 1 failed (row 13), 395 passed, 11 skipped
the three files, UTF-8 407 passed 407 passed
the three files, ASCII 27 failed, 380 passed 16 failed, 381 passed, 10 skipped

By test id, from main to the merge (junit compared):

  • Latin-1: exactly 12 ids change. Rows 1 to 6 and 8 to 12 go from failed to skipped, and row 7 from failed to passed. No id goes from passed to failed or to skipped.

  • UTF-8: nothing changes. No row of the 13 skips or fails. The one skip is test_stdout_encoding.py:289 (the Windows default), on both trees.

  • ASCII: exactly 11 ids change. Rows 1 to 6 and 9 to 12 go from failed to skipped, and row 7 from failed to passed. Rows 8 and 13 pass on both trees.

  • The merge's 20 Latin-1 failures. One is row 13. The other 19 are in other files, and every one of them fails on main too:

    • 12 rows of test_clone_url_bytes.py;
    • 2 rows of test_family_member_branch_not_utf8.py;
    • 2 rows of test_stdout_encoding.py;
    • 1 row each of test_adopt_pins.py ([not-utf-8]), test_adopt_template_values.py and test_bootstrap_leg_moves.py.

    They are the body's 22, less the 3 rows in two files outside my set (test_non_utf8_git_reads.py and test_adopt_git_reads.py).

  • The ASCII failures in the three files are the 16 the body names under "Left": 15 rows of test_family.py, each ending in UnicodeDecodeError, and test_pinned_copy_text.py::...not_a_repository_is_named_as_typed[caf\xe9].

Other checks:

  • Collection. The 73 test files that import from the three changed files collect 3814 tests in each locale, on main and on the merge. There is no error, and the per-file counts are identical.
  • pyflakes. The three files give the same 10 messages on main and on the merge (the pinned fixture import), moved down two lines.
  • CI on the head. tests, tests-git-bash, package and SonarCloud pass.

The 13 rows: I agree with every kind

Merge-trees

Every open PR that touches the three files or tests/conftest.py merges cleanly with the head and with my merge:

Mutants (mine)

Each mutant ran in a scratch worktree at the merge. The file was then restored with git checkout, and its sha256 checked equal: all 7 were.

Mutant Row Latin-1 UTF-8 ASCII
MX1: AGENTS.md read with encoding="latin-1" 7 failed failed failed
MX2: row 8's guard swapped for skip_where_the_environment_cannot_carry 8 failed (DID NOT RAISE) passed passed
MX3: row 8's guard asked of Jos\xe9 (U+00E9), not of the surrogate 8 skipped passed skipped (was passed)
MX4: in the tool, utf8_writable encodes with surrogateescape 8 skipped failed failed
MX5: in the tool, validate-pins.py _shown returns the value raw 2, 3 2 failed, at the ESC assert before the guard 2 failed 2 failed
MX6: row 10's guard moved after shutil.move 10 failed (UnicodeEncodeError in os.rename) passed failed
MX7: row 9's guard swapped for skip_where_the_locale_does_not_spell_it_as_utf_8 9 skipped passed skipped

What each one shows:

  • MX2: under Latin-1 the surrogate passes os.fsencode, so only the locale helper skips row 8.
  • MX3: the guard must be asked of the surrogate. Asked of U+00E9, it skips ASCII, where the row judges.
  • MX4: where the guard lets row 8 run, the row judges the tool.
  • MX5: the asserts before a guard still judge under Latin-1.
  • MX6: the guard must come before the test's own rename.
  • MX7 survives by design: both helpers skip a U+2028 name under Latin-1 and ASCII. The choice decides only which premise the reason states.

Findings

SHOULD-1: the "Left, and outside this issue" section, first bullet. It still says the issue will be filed, while line 1 says it is #1283. Replace the whole bullet:

- **Row 13's tool defect**, above. It needs an issue of its own, which lane 4 files. Once the defect is mended, the row passes under Latin-1 as it is written.

with:

- **Row 13's tool defect**, above. It is #1283, the issue of its own that lane 4 filed for it. Once #1283 is mended, the row passes under Latin-1 as it is written.

SHOULD-2: the section "The tool defect (row 13, kind c): not fixed here" does not name #1283. Insert this paragraph, followed by a blank line, between that heading and the paragraph that begins **What a Latin-1 user meets.**:

**This defect is #1283.** Lane 4 filed it from the evidence below, as #1259's first "Done when" box asks. This PR changes no tool, and row 13 stays failing and untouched until #1283 is mended.

NIT-1 (row 8, a follow-up): the row could judge under Latin-1 too.

NIT-2 (tracking, a follow-up): file an issue for the 16 ASCII rows.

NIT-3 (body, "Main moved after these runs"): the paragraph is stale. It names 2fde6c3d0, and main is now 674077657. Add this after its last sentence:

Main then moved again, to `674077657` (#1120, `adopt-project.py`). RV1278 re-ran a 20-file gate (the three files, #1258's other 14 test files, `test_adopt_one_byte_locale.py` and #1172's two test files) on a scratch merge of this head with `674077657`: Latin-1 20 failed, 1142 passed, 84 skipped (main: 32 failed, 1141 passed, 73 skipped); UTF-8 1245 passed, 1 skipped on both; ASCII 41 failed, 1124 passed, 81 skipped (main: 52 failed, 1123 passed, 71 skipped). By test id only the rows above change, and every remaining failure fails on main too.

Under "Merge-trees", add #1282 f71c28978: it is clean.

NIT-4 (the squash message): name #1283. The commit message names #1259 ("See #1259.") but not #1283. The squash message should name #1283 for row 13.

Lane: openreposhape-4 (openRepoShape-4)

This was referenced Nov 9, 2026
@brettheap
brettheap marked this pull request as ready for review November 10, 2026 09:47
@sourcery-ai

sourcery-ai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 11 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant