Repository navigation
Conversation
tests/test_offload_frozen_module_device.py (unslothai#10034) reads llama.py with the platform default encoding, and the drift test test_source_read_encoding.py pins every checked-in file read to name encoding = "utf-8" so source inspection cannot break on Windows the day the file gains a non-ASCII byte. Backend CI's Repo tests (CPU) leg went red on main with exactly that pin (97c7ef6 and 3d531a8).
Contributor
Author
lonexreb
added a commit
to lonexreb/unsloth
that referenced
this pull request
Sep 16, 2026
…f-closing issue Main has no PR gate for the team, so Backend CI going red on a direct push is routine -- and the cost is never the fix, it is the noticing. A red main sits until someone happens to look, every branch cut meanwhile inherits the failure families into its own PR runs, and the eventual fixer starts by re-deriving which push since the last green broke it. Aug 29-31 ran that cycle three times, once with the same two-line fix built twice in parallel (unslothai#10039/unslothai#10041) because nothing said the break was known. When a Backend CI run on main completes red, look up the last green main run, list the commits between the two heads -- the complete suspect set, usually one or two pushes -- and open ONE labeled issue carrying the range, the failing jobs, and the run link. Repeat reds update the same issue; the first green closes it, so the issue's lifetime IS main's red window. Ships inert per ci-capacity.yml's convention: writes are gated on the MAIN_RED_GUARD_ENABLED repository variable, and until it is set the workflow prints the issue it would have filed to the job summary on every real red, so its output can be judged before it is allowed to speak.
lonexreb
added a commit
to lonexreb/unsloth
that referenced
this pull request
Sep 16, 2026
…f-closing issue Main has no PR gate for the team, so Backend CI going red on a direct push is routine -- and the cost is never the fix, it is the noticing. A red main sits until someone happens to look, every branch cut meanwhile inherits the failure families into its own PR runs, and the eventual fixer starts by re-deriving which push since the last green broke it. Aug 29-31 ran that cycle three times, once with the same two-line fix built twice in parallel (unslothai#10039/unslothai#10041) because nothing said the break was known. When a Backend CI run on main completes red, look up the last green main run, list the commits between the two heads -- the complete suspect set, usually one or two pushes -- and open ONE labeled issue carrying the range, the failing jobs, and the run link. Repeat reds update the same issue; the first green closes it, so the issue's lifetime IS main's red window. Ships inert per ci-capacity.yml's convention: writes are gated on the MAIN_RED_GUARD_ENABLED repository variable, and until it is set the workflow prints the issue it would have filed to the job summary on every real red, so its output can be judged before it is allowed to speak.
lonexreb
added a commit
to lonexreb/unsloth
that referenced
this pull request
Sep 16, 2026
…f-closing issue Main has no PR gate for the team, so Backend CI going red on a direct push is routine -- and the cost is never the fix, it is the noticing. A red main sits until someone happens to look, every branch cut meanwhile inherits the failure families into its own PR runs, and the eventual fixer starts by re-deriving which push since the last green broke it. Aug 29-31 ran that cycle three times, once with the same two-line fix built twice in parallel (unslothai#10039/unslothai#10041) because nothing said the break was known. When a Backend CI run on main completes red, look up the last green main run, list the commits between the two heads -- the complete suspect set, usually one or two pushes -- and open ONE labeled issue carrying the range, the failing jobs, and the run link. Repeat reds update the same issue; the first green closes it, so the issue's lifetime IS main's red window. Ships inert per ci-capacity.yml's convention: writes are gated on the MAIN_RED_GUARD_ENABLED repository variable, and until it is set the workflow prints the issue it would have filed to the job summary on every real red, so its output can be judged before it is allowed to speak.
lonexreb
added a commit
to lonexreb/unsloth
that referenced
this pull request
Sep 16, 2026
…f-closing issue Main has no PR gate for the team, so Backend CI going red on a direct push is routine -- and the cost is never the fix, it is the noticing. A red main sits until someone happens to look, every branch cut meanwhile inherits the failure families into its own PR runs, and the eventual fixer starts by re-deriving which push since the last green broke it. Aug 29-31 ran that cycle three times, once with the same two-line fix built twice in parallel (unslothai#10039/unslothai#10041) because nothing said the break was known. When a Backend CI run on main completes red, look up the last green main run, list the commits between the two heads -- the complete suspect set, usually one or two pushes -- and open ONE labeled issue carrying the range, the failing jobs, and the run link. Repeat reds update the same issue; the first green closes it, so the issue's lifetime IS main's red window. Ships inert per ci-capacity.yml's convention: writes are gated on the MAIN_RED_GUARD_ENABLED repository variable, and until it is set the workflow prints the issue it would have filed to the job summary on every real red, so its output can be judged before it is allowed to speak.
lonexreb
added a commit
to lonexreb/unsloth
that referenced
this pull request
Sep 27, 2026
…f-closing issue Main has no PR gate for the team, so Backend CI going red on a direct push is routine -- and the cost is never the fix, it is the noticing. A red main sits until someone happens to look, every branch cut meanwhile inherits the failure families into its own PR runs, and the eventual fixer starts by re-deriving which push since the last green broke it. Aug 29-31 ran that cycle three times, once with the same two-line fix built twice in parallel (unslothai#10039/unslothai#10041) because nothing said the break was known. When a Backend CI run on main completes red, look up the last green main run, list the commits between the two heads -- the complete suspect set, usually one or two pushes -- and open ONE labeled issue carrying the range, the failing jobs, and the run link. Repeat reds update the same issue; the first green closes it, so the issue's lifetime IS main's red window. Ships inert per ci-capacity.yml's convention: writes are gated on the MAIN_RED_GUARD_ENABLED repository variable, and until it is set the workflow prints the issue it would have filed to the job summary on every real red, so its output can be judged before it is allowed to speak.
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.
What
Main's
Repo tests (CPU)leg went red at 97c7ef6 / 3d531a8: the newtests/test_offload_frozen_module_device.py(#10034) readsunsloth/models/llama.pytwice with the platform default encoding, and the drift testtest_source_read_encoding.py::test_checked_in_file_reads_name_an_encodingpins every checked-in file read to nameencoding = "utf-8"— so source inspection cannot silently break on Windows the day the inspected file gains a non-ASCII byte.How
Adds
encoding = "utf-8"to bothread_text()calls — the two lines the pin names, nothing else.Verification
tests/test_source_read_encoding.pyFAILS with the message above (reproduced locally before the change).tests/test_source_read_encoding.py+ the fulltests/test_offload_frozen_module_device.pysuite → 20 passed, 1 skipped. ruff clean;scripts/run_ruff_format.pymakes no further changes.