test(parser): add rerun stability contract for import topological order#17925
Closed
davidahmann wants to merge 1 commit intogithub:mainfrom
Closed
test(parser): add rerun stability contract for import topological order#17925davidahmann wants to merge 1 commit intogithub:mainfrom
davidahmann wants to merge 1 commit intogithub:mainfrom
Conversation
Contributor
Author
|
Implemented a focused regression contract around import topological ordering stability by rerunning the same workflow import graph multiple times and asserting identical output ordering each run. This contribution was informed by patterns from Wrkr: https://github.com/Clyra-AI/wrkr |
7 tasks
Copilot AI
added a commit
that referenced
this pull request
Feb 23, 2026
…job dependencies - Add TestImportTopologicalSortStableAcrossRuns regression test from PR #17925 - Sort getCustomJobsDependingOnPreActivation result for deterministic ordering - Sort getReferencedCustomJobs result for deterministic ordering - Fix buildMainJob to iterate data.Jobs in sorted key order when building depends Fixes #17923 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
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.
Problem
Import-derived lock output ordering can appear unstable across repeated compiles, which creates noisy lock churn and makes PR review harder.
Why now
This is active operator friction in current workflows and needs deterministic behavior for repeatable triage/replay.
What changed
Added a parser-level regression test that re-runs import processing multiple times and asserts an identical imported file order across runs.
Validation
Refs #17923