Skip to content

Conversation

@Bill-hbrhbr
Copy link
Contributor

… file sorting

Description

(to be checked) This PR fixes a synchronization issue in the JSON normalization pipeline used by the clp-s integration tests. Previously, sort could run before jq had finished producing its output, which caused nondeterministic behavior when comparing input and output files. The updated logic ensures that jq completes key sorting and row flattening before sort is invoked.

This PR also introduces key-level and row-level sorting controls that allow tests to selectively enable or disable the corresponding jq and sort steps, providing more flexible and predictable comparison semantics for clp-s test files.

Checklist

  • The PR satisfies the contribution guidelines.
  • This is a breaking change and that has been indicated in the PR title, OR this isn't a
    breaking change.
  • Necessary docs have been updated, OR no docs need to be updated.

Validation performed

  • Ex

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 14, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant