Skip to content

fix checkstyle failure in merge queue - #32131

Closed
anuj-kumary wants to merge 2 commits into
mainfrom
lint-fix
Closed

anuj-kumary wants to merge 2 commits into
mainfrom
lint-fix

Conversation

@anuj-kumary

@anuj-kumary anuj-kumary commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

fix: prettier formatting for natsConnection.json

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

High-level design:

N/A — small change.

Tests:

Use cases covered

Unit tests

Backend integration tests

Ingestion integration tests

Playwright (UI) tests

Manual testing performed

UI screen recording / screenshots:

Not applicable.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.
  • For UI changes: I attached a screen recording and/or screenshots above.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

Greptile Summary

This PR reformats the NATS connection JSON schema to satisfy UI formatting checks.

  • Expands inline JSON arrays into Prettier-style multiline arrays.
  • Does not alter schema values, validation constraints, or runtime behavior.
  • Accidentally removes the file’s terminal newline, so the formatting check will still rewrite it and fail.

Confidence Score: 4/5

The PR should not merge until the terminal newline is restored, because the merge-queue formatting check will rewrite the file and fail.

The JSON content is semantically unchanged, but its missing terminal newline makes the committed file differ from Prettier output and leaves the UI Checkstyle working tree dirty.

Files Needing Attention: openmetadata-ui/src/main/resources/ui/src/jsons/connectionSchemas/connections/messaging/natsConnection.json

Important Files Changed

Filename Overview
openmetadata-ui/src/main/resources/ui/src/jsons/connectionSchemas/connections/messaging/natsConnection.json Schema semantics remain unchanged, but the missing terminal newline prevents the file from matching canonical Prettier output.

Reviews (1): Last reviewed commit: "fix checkstyle failure in merge queue" | Re-trigger Greptile

Greptile also left 1 inline comment on this PR.

@anuj-kumary anuj-kumary self-assigned this Aug 27, 2026
@anuj-kumary anuj-kumary added the UI UI specific issues label Aug 27, 2026
@anuj-kumary anuj-kumary added safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Aug 27, 2026
@anuj-kumary
anuj-kumary enabled auto-merge August 27, 2026 02:15
@github-actions

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 67%
67.16% (80195/119395) 51.65% (48803/94478) 52.67% (14719/27943)

@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot

gitar-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 1 resolved / 1 findings

Reformatted natsConnection.json to satisfy UI formatting checks. No issues found.

✅ 1 resolved
✅ Quality: natsConnection.json no longer ends with a trailing newline

📄 openmetadata-ui/src/main/resources/ui/src/jsons/connectionSchemas/connections/messaging/natsConnection.json:274
The new version of the file ends without a trailing newline (\ No newline at end of file). Since this PR's purpose is to satisfy prettier formatting in the merge queue, and prettier enforces a final newline by default, this may re-trigger the same lint/checkstyle failure the PR is trying to fix. Add a trailing newline at end of file.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@anuj-kumary

Copy link
Copy Markdown
Member Author

this is not the proper fix so closing this

auto-merge was automatically disabled August 27, 2026 02:44

Pull request was closed

This branch was previously deployed

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

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant