Repository navigation
migrate_diff: the migration differential; the 97 fallback discards partial outputs (#2230) - #2234
Merged
Merged
Conversation
added 2 commits
October 6, 2026 19:15
…wer differently between two migrations (#2230) Lays each migration out as the cohesive lib layout, checks the main module with --dump-mir, splits per function and compares statements with every positional id normalized (symN, _N, bbN, tyN, .fN), printing the statements present on one side only. On #2214's pcre2 it names four functions, each with exactly the zeroed rewrite — the answer a file-by-file bisect of six files and three bundle rebuilds could not give. The deep-debugging-tools route uses it as step 2. Naming the migrator rule behind each site stays open on #2230; a regex literal opening a statement is #2233.
…utputs before the evaluator re-runs the action (#2230) The native runner executes an action's With code up to the call that needs the evaluator (Workspace.begin_intercept); every file written before that stayed, and the evaluator's run — and any dependent that ran between — could see a half-written output (pcre2's heap-8 test once ran a pcre2test from such a state and the failure never reproduced). The target's declared outputs are removed first, each named in the log.
Contributor
Author
|
Battery GREEN on 8c4b8e1 (seed-driven): gate rc=0 553s, uat rc=0 27s, battery-checks rc=0 827s. |
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.
Part 2 of #2230:
tools/migrate_diff.wlays two migrations out as the cohesive lib layout, checks the main module with--dump-mir, and compares statements per function with every positional id normalized — on #2214's pcre2 it names the four touched functions with exactly the zeroed rewrite. The build runner's 97 fallback now removes the target's declared outputs before the evaluator re-runs the action, naming each (the native attempt's partial files were the likely source of the never-reproduced heap-8 failure). Doc route updated. A regex literal opening a statement is #2233.Draft until its battery is green.