Skip to content

[Hotfix Main]: feat: add autohooks plugin to sort JSON keys in test ref files#1937

Merged
benflexcompute merged 1 commit intomainfrom
hotfix-main-pr1936
Mar 27, 2026
Merged

[Hotfix Main]: feat: add autohooks plugin to sort JSON keys in test ref files#1937
benflexcompute merged 1 commit intomainfrom
hotfix-main-pr1936

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 27, 2026

Hotfix of PR #1936 (#1936) to the main branch.
Hey @benflexcompute, please review this hotfix PR created from your original PR.


Note

Low Risk
Low risk: dev-tooling-only change that adds an extra pre-commit formatter for tests/**/*.json and updates documentation, with no runtime or production logic impact.

Overview
Adds an autohooks pre-commit step (flow360._autohooks.sort_json) that automatically sorts keys in staged JSON files under tests/ by reusing tools/sort_ref_json.py, then re-stages the updated files.

Updates pyproject.toml to enable the new plugin and refreshes README.md with autohooks activation instructions plus an equivalent manual “check in” command (python tools/sort_ref_json.py).

Written by Cursor Bugbot for commit 62d5562. This will update automatically on new commits. Configure here.

@benflexcompute benflexcompute marked this pull request as ready for review March 27, 2026 18:56
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 62d55620ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@benflexcompute benflexcompute enabled auto-merge (squash) March 27, 2026 19:01
@benflexcompute benflexcompute merged commit 92ac3de into main Mar 27, 2026
18 checks passed
@benflexcompute benflexcompute deleted the hotfix-main-pr1936 branch March 27, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant