Repository navigation
Enforce the checkstyle when test and compile. - #1128
Merged
Merged
Conversation
Signed-off-by: Zheng Hu <[email protected]>
openinx
force-pushed
the
1085-checkstyle-fix
branch
from
October 23, 2025 21:53
681033c to
6124d25
Compare
Signed-off-by: Zheng Hu <[email protected]>
Signed-off-by: Zheng Hu <[email protected]>
Signed-off-by: Zheng Hu <[email protected]>
Collaborator
Author
|
The unit tests look good, except the MLFlow tests , it failed because of: + ai/dev/start_unitycatalog.sh
Building and starting the Unity Catalog Server
UC server started with PID 2281
Waiting for UC server to be ready...
Waiting for UC server... (1/48)
Waiting for UC server... (2/48)
Waiting for UC server... (3/48)
Waiting for UC server... (4/48)
Waiting for UC server... (5/48)
Waiting for UC server... (6/48)
Waiting for UC server... (7/48)
Waiting for UC server... (8/48)
Waiting for UC server... (9/48)
Waiting for UC server... (10/48)
Waiting for UC server... (11/48)
Waiting for UC server... (12/48)
Waiting for UC server... (13/48)
Waiting for UC server... (14/48)
Waiting for UC server... (15/48)
Waiting for UC server... (16/48)
Waiting for UC server... (17/48)
Waiting for UC server... (18/48)
Waiting for UC server... (19/48)
Waiting for UC server... (20/48)
Waiting for UC server... (21/48)
Waiting for UC server... (22/48)
Waiting for UC server... (23/48)
Waiting for UC server... (24/48)
Waiting for UC server... (25/48)
Waiting for UC server... (26/48)
Waiting for UC server... (27/48)
Waiting for UC server... (28/48)
Waiting for UC server... (29/48)
Waiting for UC server... (30/48)
Waiting for UC server... (31/48)
Waiting for UC server... (32/48)
Waiting for UC server... (33/48)
Waiting for UC server... (34/48)
Waiting for UC server... (35/48)
Waiting for UC server... (36/48)
Waiting for UC server... (37/48)
Waiting for UC server... (38/48)
Waiting for UC server... (39/48)
Waiting for UC server... (40/48)
Waiting for UC server... (41/48)
Waiting for UC server... (42/48)
Waiting for UC server... (43/48)
Waiting for UC server... (44/48)
Waiting for UC server... (45/48)
Waiting for UC server... (46/48)
Waiting for UC server... (47/48)
Waiting for UC server... (48/48)
ai/dev/start_unitycatalog.sh: line 36: kill: (2281) - No such process
UC server failed to start within 240 seconds
Error: Process completed with exit code 1. |
Collaborator
Author
|
Let's try again. |
tdas
reviewed
Oct 24, 2025
| ) | ||
| } | ||
|
|
||
| private def javaCheckstyle(log: Logger, reportFile: File): Unit = { |
Contributor
There was a problem hiding this comment.
docs on each function explaining what it does.
sbt scala code is hard to read and understnd .. so docs is important.
tdas
reviewed
Oct 24, 2025
| private lazy val compileJavastyle = taskKey[Unit]("compileJavastyle") | ||
| private lazy val testJavastyle = taskKey[Unit]("testJavastyle") | ||
|
|
||
| def javaCheckstyleSettings(checkstyleFile: String): Def.SettingsDefinition = { |
tdas
reviewed
Oct 24, 2025
| addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.8.0") | ||
|
|
||
| addSbtPlugin("com.etsy" % "sbt-checkstyle-plugin" % "3.1.1") | ||
| addSbtPlugin("software.purpledragon" % "sbt-checkstyle-plugin" % "4.0.1") |
tdas
approved these changes
Oct 24, 2025
tdas
left a comment
Contributor
There was a problem hiding this comment.
thank you for doing this!!! this was a much needed improvement!
Contributor
|
i am merging it to prevent additional conflicts when other PRs are merged. please do address my comments in follow up PR which will be very small. |
timothyw553
pushed a commit
to timothyw553/unitycatalog
that referenced
this pull request
Oct 24, 2025
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Related issue is here: unitycatalog#1085 --------- Signed-off-by: Zheng Hu <[email protected]> Signed-off-by: TimothyW553 <[email protected]>
This was referenced Oct 29, 2025
Closed
13 tasks done
openinx
added a commit
to openinx/unitycatalog
that referenced
this pull request
Nov 11, 2025
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Related issue is here: unitycatalog#1085 --------- Signed-off-by: Zheng Hu <[email protected]>
4 tasks done
openinx
added a commit
to openinx/unitycatalog
that referenced
this pull request
Nov 11, 2025
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Related issue is here: unitycatalog#1085 --------- Signed-off-by: Zheng Hu <[email protected]>
openinx
added a commit
to openinx/unitycatalog
that referenced
this pull request
Nov 11, 2025
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked to this PR. - [ ] If you've fixed a bug or added code that should be tested, add tests! - [ ] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Related issue is here: unitycatalog#1085 --------- Signed-off-by: Zheng Hu <[email protected]>
tdas
pushed a commit
that referenced
this pull request
Nov 12, 2025
**PR Checklist** - [x] A description of the changes is added to the description of this PR. - [x] If there is a related issue, make sure it is linked to this PR. - [x] If you've fixed a bug or added code that should be tested, add tests! - [x] If you've added or modified a feature, documentation in `docs` is updated **Description of changes** Backport #1128 and #1095 to the branch-0.3 The whole progress of backport is here: #1163 --------- Signed-off-by: Zheng Hu <[email protected]>
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.
PR Checklist
docsis updatedDescription of changes
Related issue is here: #1085