-
Notifications
You must be signed in to change notification settings - Fork 8
[Draft] CI cut over to Bazel #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis PR updates the testing workflow for non-Spark Scala modules by replacing the SBT command for Flink tests with a Bazel command and removing associated SBT memory settings. Additionally, a new Jackson Scala JSON processing dependency is added to the Scala library configuration in the Bazel build file. The Dockerfile is modified to streamline the Bazel installation process. Changes
Possibly related PRs
Suggested reviewers
Poem
Warning Review ran into problems🔥 ProblemsGitHub Actions and Pipeline Checks: Resource not accessible by integration - https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository. Please grant the required permissions to the CodeRabbit GitHub App under the organization or repository settings. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
| maven_artifact("com.github.ben-manes.caffeine:caffeine"), | ||
| maven_artifact("com.fasterxml.jackson.core:jackson-core"), | ||
| maven_artifact("com.fasterxml.jackson.core:jackson-databind"), | ||
| scala_artifact("com.fasterxml.jackson.module:jackson-module-scala"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also have this change here: https://github.com/zipline-ai/chronon/pull/314/files#diff-f522d0c899355e9fc9926756e546e22bd49c3fd46dc82af81220c0327f5357b2R21 but feel free to merge and I'll rebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/test_scala_no_spark.yaml (1)
46-50: Bazel cache mount is solid.
Consider a dynamic key for better cache invalidation.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
📒 Files selected for processing (2)
.github/image/Dockerfile(0 hunks).github/workflows/test_scala_no_spark.yaml(1 hunks)
💤 Files with no reviewable changes (1)
- .github/image/Dockerfile
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: build-and-push
🔇 Additional comments (2)
.github/workflows/test_scala_no_spark.yaml (2)
44-44: Bazelisk setup added; looks good.
57-59: Flink tests now use Bazel; correct update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/test_scala_no_spark.yaml (1)
45-50: Update setup-java version.
The actionactions/setup-java@v3is outdated; consider upgrading to v4.🧰 Tools
🪛 actionlint (1.7.4)
46-46: the runner of "actions/setup-java@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro (Legacy)
📒 Files selected for processing (1)
.github/workflows/test_scala_no_spark.yaml(1 hunks)
🧰 Additional context used
🪛 actionlint (1.7.4)
.github/workflows/test_scala_no_spark.yaml
46-46: the runner of "actions/setup-java@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🔇 Additional comments (3)
.github/workflows/test_scala_no_spark.yaml (3)
51-53: Bazel setup is fine.
Bazel step is added correctly.
54-59: Bazel cache step approved.
Caching Bazel at~/.cache/bazelis correctly set up.
66-66: Flink tests command updated.
Usingbazel test //flink:testmeets the PR objectives.
|
No longer required as Nikhil has another PR out for the CI cut-over |
Summary
Checklist
Summary by CodeRabbit