Repository navigation
docs(canon): batch-shim row stays inside the canon reader's subset (#861) - #883
Merged
Merged
Conversation
…him row (#861) The canon reader behind CanonDescriptionSourceTests refuses a table line that carries an escaped pipe or a '<', so master's Tools.Tests failed on the new Windows divergence row. The row now names those characters in words; its meaning is unchanged.
This was referenced Nov 15, 2026
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.
Refs #861
Fix-forward for master, which #878 turned red.
What broke
The "Batch-shim arguments" row #878 added to the Windows divergence table in
docs/architecture/client-runtime.md(line 835) is outside the subset the canon reader behindCanonDescriptionSourceTestsaccepts, for two reasons:`\|`) inside a table cell;<on a table line (the reader classifies any table line containing<as unsupported).So
Sources_Should_Quote_The_Owning_Canon_Sectionand the fourSources_Should_Prove_Each_Committed_Reconnect_Sourcerows failed inOpenCode.Sdk.Tools.Testson every OS. #878's own CI and master's push skipped those tests because the change was Markdown only.The fix
The cell names those characters in words: "
&,^,%,!,", the pipe character, the less-than or greater-than sign, CR or LF". The refused set is the same ten characters (BatchCommandLine.cs:23-25). No other canon file has an escaped pipe in a table.Local evidence (this Mac, on this branch)
dotnet build --configuration Release: 0 warnings, 0 errors.CanonDescriptionSourceTests: 84 of 84 passed (5 failed before the fix).OpenCode.Sdk.Tools.Testsproject,[Category!=NativeAot]: 2791 of 2791 passed.CI will again skip these tests, because the change is Markdown only.