Repository navigation
fix(executor): keep empty fields in compound field-split transport - #762
Merged
Merged
Conversation
…nNon-whitespace IFS drops empty fields in A=($1): the transport emitted\na synthetic tag+space separator for empty fields, which the re-splitter\nonly honors under whitespace IFS — off it the quoted empty glued to its\nneighbor (a.b..b with IFS=. stored b" "). Hold empty bodies for the\nnext located gap and distribute its real separators in order; whitespace\nruns still collapse to one boundary. a::b/a.b..b/:a: all match GNU now.\n\nissue298 file 12/12 (was 11/12); executor_tests 1540/10 unchanged.
caomengxuan666
force-pushed
the
fix/compound-transport-empty-fields
branch
from
October 17, 2026 06:27
f29b843 to
685b5b5
Compare
Member
Author
|
Verification status at merge: GitHub CI fully green (Rust linux/macOS, goldens+canaries, cross-target linux/darwin/android, shell functionality). Local: branch-leg full serial suite complete (271 targets, only the 10 known environment failures — signal tables/ulimit/CWD/part_080, none field-split); issue298 file 12/12; GNU probes for a.b..b/a::b/:a:/$1$1 all match. Local master-leg failure-set diff + niubash product A/B deferred: the Android tablet running the gates entered a kill loop (ZUI MemoryCleaner SwapFreeLow culls + thermal load, documented in the handoff issue) and could not complete the 28-test regression target locally. CI on healthy runners is the backstop. |
caomengxuan666
added a commit
that referenced
this pull request
Oct 17, 2026
… and issue358 sandbox (#766)
This was referenced Oct 17, 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.
fix(executor): keep empty fields in compound field-split transport
What
set -- a.b..b; IFS=.; A=($1)stored 3 elements withb" "where GNUstores 4
[a][b][][b]:compound_field_split_transportemitted asynthetic tag+space separator for empty fields, which the indexed
re-splitter only honors as a boundary under whitespace IFS. Off it,
the quoted empty glued to its neighbor.
Fix (
src/executor/assignment_helpers.rsonly)Hold empty-field
""bodies for the next located field's gap, whichcarries every separator surrounding them, and distribute the gap's
real separators in order (held empties first, this field's boundary
takes the rest — a whitespace run still collapses to one boundary as
before). Degraded-location paths keep the historical synthetic
fallback. Consumer untouched: boundaries separated by
""bodieseach delimit a field; consecutive tag runs still collapse.
Verification
a.b..b(IFS=.) → 4;a::b(IFS=:) → 3;:a:→ 2(leading/trailing empties);
$1 $1→ 8; default-IFS anda.b.cunchanged. All match GNU.
issue298_299file 12/12 (was 11/12);issue37712/12;executor_testsserial 1540/10 (the 10 are the knownenvironment/signal/CWD set, none field-split).