Skip to content

Conversation

@chewy-zlai
Copy link
Collaborator

@chewy-zlai chewy-zlai commented Jul 1, 2025

Summary

No longer use bazel remote cache as it requires using a secret which isn't available to external collaborators.

Checklist

  • Added Unit Tests
  • Covered by existing CI
  • Integration tested
  • Documentation update

Summary by CodeRabbit

Summary by CodeRabbit

  • Chores
    • Simplified continuous integration workflows by removing remote caching and credential configurations from build and test steps, streamlining the process without affecting user-facing features.

@chewy-zlai chewy-zlai requested a review from piyush-zlai July 1, 2025 17:06
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 1, 2025

Walkthrough

Bazel remote cache and Google credentials flags were removed from all GitHub Actions workflow Bazel build and test commands. Credential setup steps were deleted. Bazel commands now run without remote caching or authentication across all workflows. No build targets or public entities were changed.

Changes

Files Change Summary
.github/workflows/push_to_canary.yaml, test_bazel_config.yaml, test_scala_fmt.yaml Removed Bazel remote cache and credentials flags; deleted credential setup steps.
.github/workflows/test_scala_2_12_non_spark.yaml, test_scala_2_12_spark.yaml Removed Bazel remote cache and credentials flags; deleted credential setup steps in all test jobs.

Possibly related PRs

Suggested reviewers

  • kumar-zlai
  • nikhil-zlai
  • tchow-zlai

Poem

🚀 Bazel builds now run so free,
No creds, no cache, just pure spree.
Workflows lean, no secrets to hide,
CI flows with simpler stride.
Code runs clean, no flags to see! 🎉


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🔭 Outside diff range comments (2)
.github/workflows/test_bazel_config.yaml (1)

43-46: Secrets step will break for fork PRs

GitHub won’t pass ${{ secrets.BAZEL_CACHE_CREDENTIALS }} to forked PRs, so base64 -d may error out before reaching your new guard.
Add a workflow-level condition to skip this step for forked PRs:

- name: Setup Bazel cache credentials
+if: ${{ !github.event.pull_request.head.repo.fork }}
  run: |
    echo "${{ secrets.BAZEL_CACHE_CREDENTIALS }}" | base64 -d > bazel-cache-key.json
.github/workflows/push_to_canary.yaml (1)

33-36: Guard credential creation

Skip this step for fork PRs to avoid secret leakage / build failure.

♻️ Duplicate comments (13)
.github/workflows/test_scala_fmt.yaml (1)

41-44: Skip credentials step for forks

Replicate the conditional guard so forks don’t hit a secret they can’t read (see prior comment for exact snippet).

.github/workflows/test_scala_2_12_non_spark.yaml (7)

84-92: Same duplication comment applies.


113-121: Same duplication comment applies.


142-150: Same duplication comment applies.


171-180: Same duplication comment applies.


201-210: Same duplication comment applies.


231-240: Same duplication comment applies.


261-272: Same duplication comment applies.

.github/workflows/test_scala_2_12_spark.yaml (5)

67-78: Duplication note applies.


100-111: Duplication note applies.


133-144: Duplication note applies.


166-177: Duplication note applies.


199-210: Duplication note applies.

🧹 Nitpick comments (4)
.github/workflows/test_scala_fmt.yaml (1)

47-55: Same condition pitfalls & missing final newline

  1. Prefer the simpler fork flag as noted earlier.
  2. YAML-lint flags the missing newline at EOF; add one to avoid noisy CI.
.github/workflows/test_scala_2_12_non_spark.yaml (1)

55-63: Factor out duplicated fork check

The same if block is repeated in every test job. Extract to a reusable Bash function or a composite action to cut ~70 duplicated lines and future-proof changes.

Example:

run_bazel_test() {
  local target=$1
  if [ "${{ github.event.pull_request.head.repo.fork }}" = "true" ]; then
    bazel test "$target"
  else
    bazel test --remote_cache=... --google_credentials=bazel-cache-key.json "$target"
  fi
}
.github/workflows/test_scala_2_12_spark.yaml (2)

36-46: Inline fork flag & avoid duplicate logic

Use the shorter flag check (github.event.pull_request.head.repo.fork) and consider extracting a helper as noted in non-spark workflow to avoid copy-paste across seven jobs.


232-243: Add final newline to satisfy YAML-lint.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 395efb1 and 039ea3c.

📒 Files selected for processing (5)
  • .github/workflows/push_to_canary.yaml (1 hunks)
  • .github/workflows/test_bazel_config.yaml (1 hunks)
  • .github/workflows/test_scala_2_12_non_spark.yaml (8 hunks)
  • .github/workflows/test_scala_2_12_spark.yaml (7 hunks)
  • .github/workflows/test_scala_fmt.yaml (1 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
.github/workflows/test_bazel_config.yaml (1)
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
.github/workflows/push_to_canary.yaml (2)
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
Learnt from: tchow-zlai
PR: zipline-ai/chronon#393
File: cloud_gcp/BUILD.bazel:99-99
Timestamp: 2025-02-22T20:30:28.381Z
Learning: The jar file "iceberg-bigquery-catalog-1.5.2-1.0.1-beta.jar" in cloud_gcp/BUILD.bazel is a local dependency and should not be replaced with maven_artifact.
.github/workflows/test_scala_2_12_spark.yaml (1)
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
🪛 YAMLlint (1.37.1)
.github/workflows/test_scala_fmt.yaml

[error] 55-55: no new line character at the end of file

(new-line-at-end-of-file)

.github/workflows/push_to_canary.yaml

[error] 101-101: trailing spaces

(trailing-spaces)


[error] 109-109: trailing spaces

(trailing-spaces)


[error] 112-112: trailing spaces

(trailing-spaces)


[error] 115-115: trailing spaces

(trailing-spaces)

.github/workflows/test_scala_2_12_spark.yaml

[error] 243-243: no new line character at the end of file

(new-line-at-end-of-file)

⏰ Context from checks skipped due to timeout of 90000ms (15)
  • GitHub Check: cloud_aws_tests
  • GitHub Check: online_tests
  • GitHub Check: cloud_gcp_tests
  • GitHub Check: service_tests
  • GitHub Check: api_tests
  • GitHub Check: aggregator_tests
  • GitHub Check: join_tests
  • GitHub Check: flink_tests
  • GitHub Check: streaming_tests
  • GitHub Check: service_commons_tests
  • GitHub Check: analyzer_tests
  • GitHub Check: groupby_tests
  • GitHub Check: spark_tests
  • GitHub Check: batch_tests
  • GitHub Check: scala_compile_fmt_fix

Comment on lines 49 to 59
if [ "${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}" = "true" ]; then
bazel build \
--nobuild \
//...
else
bazel build \
--remote_cache=https://storage.googleapis.com/zipline-bazel-cache \
--google_credentials=bazel-cache-key.json \
--nobuild \
//...
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Condition syntax brittle; use direct fork flag

github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork
works, but expands to the literal true/false string at YAML-render time.
You can simplify and avoid the extra test by keying directly off the fork flag:

-if [ "${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}" = "true" ]; then
+if [ "${{ github.event.pull_request.head.repo.fork }}" = "true" ]; then

This removes a redundant comparison and avoids surprises if GitHub ever changes expression precedence.

🤖 Prompt for AI Agents
In .github/workflows/test_bazel_config.yaml around lines 49 to 59, the condition
checking if the event is a pull request from a fork uses a brittle syntax that
expands to literal strings and includes a redundant comparison. Simplify the
condition by directly using the fork flag without comparing it to "true".
Replace the entire condition with a direct check of the fork flag to make the
logic clearer and more robust.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

🔭 Outside diff range comments (1)
.github/workflows/push_to_canary.yaml (1)

33-36: Secrets step still runs for forked PRs – will fail before your new logic can help
When the workflow runs on a fork, ${{ secrets.BAZEL_CACHE_CREDENTIALS }} is empty.
base64 -d then exits 1 and the job never reaches the conditional Bazel block you added.

Add an if: guard (or move the whole step into the remote-cache branch):

-      - name: Setup Bazel cache credentials
-        run: |
-          echo "${{ secrets.BAZEL_CACHE_CREDENTIALS }}" | base64 -d > bazel-cache-key.json
+      - name: Setup Bazel cache credentials
+        if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork != true }}
+        run: |
+          echo "${{ secrets.BAZEL_CACHE_CREDENTIALS }}" | base64 -d > bazel-cache-key.json
🧹 Nitpick comments (3)
.github/workflows/push_to_canary.yaml (3)

100-107: Guard expression is fine, but string-compare is redundant
${{ … }} already yields 'true'/'false'.
The extra [...] = "true" can be dropped:

-if [ "${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}" = "true" ]; then
+if ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork }}; then

Cleaner and one less subshell.


101-126: Five nearly identical Bazel invocations – consider a loop

Reduces copy-paste, avoids future drift:

-bazel build //flink:flink_assembly_deploy.jar 
-...
-bazel build //flink:connectors_pubsub_deploy.jar
+targets=(
+  //flink:flink_assembly_deploy.jar
+  //cloud_gcp:cloud_gcp_lib_deploy.jar
+  //cloud_aws:cloud_aws_lib_deploy.jar
+  //service:service_assembly_deploy.jar
+  //flink:connectors_pubsub_deploy.jar
+)
+for t in "${targets[@]}"; do
+  bazel build $t
+done

Same idea for the remote-cache branch (prepend the two flags once).


101-125: Trailing spaces flagged by YAMLlint
Lines 101, 109, 112, 115, 118, 121, 124 have stray spaces → fail yaml-lint.
Quick fix: delete them.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 039ea3c and fd4acbe.

📒 Files selected for processing (1)
  • .github/workflows/push_to_canary.yaml (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
.github/workflows/push_to_canary.yaml (2)
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
Learnt from: tchow-zlai
PR: zipline-ai/chronon#393
File: cloud_gcp/BUILD.bazel:99-99
Timestamp: 2025-02-22T20:30:28.381Z
Learning: The jar file "iceberg-bigquery-catalog-1.5.2-1.0.1-beta.jar" in cloud_gcp/BUILD.bazel is a local dependency and should not be replaced with maven_artifact.
🪛 YAMLlint (1.37.1)
.github/workflows/push_to_canary.yaml

[error] 101-101: trailing spaces

(trailing-spaces)

⏰ Context from checks skipped due to timeout of 90000ms (16)
  • GitHub Check: streaming_tests
  • GitHub Check: batch_tests
  • GitHub Check: analyzer_tests
  • GitHub Check: fetcher_tests
  • GitHub Check: spark_tests
  • GitHub Check: join_tests
  • GitHub Check: cloud_aws_tests
  • GitHub Check: cloud_gcp_tests
  • GitHub Check: scala_compile_fmt_fix
  • GitHub Check: service_tests
  • GitHub Check: api_tests
  • GitHub Check: service_commons_tests
  • GitHub Check: aggregator_tests
  • GitHub Check: online_tests
  • GitHub Check: flink_tests
  • GitHub Check: enforce_triggered_workflows

Copy link
Contributor

@piyush-zlai piyush-zlai left a comment

Choose a reason for hiding this comment

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

Could just turn off the bazel cache - not sure if its giving us a lot perf wise

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

🔭 Outside diff range comments (1)
.github/workflows/test_bazel_config.yaml (1)

43-46: Dead code: cache-credential step now pointless (and breaks forks)
Remote-cache flags were removed, yet this step still unconditionally decodes the secret. It:

  1. Leaks an unnecessary secret to runners.
  2. Fails on forked PRs (no secret → empty file).

Drop the step or guard it behind a non-fork condition.

-      - name: Setup Bazel cache credentials
-        run: |
-          echo "${{ secrets.BAZEL_CACHE_CREDENTIALS }}" | base64 -d > bazel-cache-key.json
🧹 Nitpick comments (2)
.github/workflows/test_bazel_config.yaml (1)

47-51: Misleading step name + missing newline
Step says “Run bazel sync” but actually runs bazel build --nobuild. Rename for clarity.
Also add a trailing newline to silence YAML-lint.

-      - name: Run bazel sync
+      - name: Verify Bazel config (nobuild)+# (newline)
.github/workflows/test_scala_2_12_non_spark.yaml (1)

182-182: Add EOF newline
Missing final newline triggers YAML-lint new-line-at-end-of-file.

-            //cloud_aws:tests
+\            //cloud_aws:tests
+
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fd4acbe and 85db416.

📒 Files selected for processing (5)
  • .github/workflows/push_to_canary.yaml (1 hunks)
  • .github/workflows/test_bazel_config.yaml (1 hunks)
  • .github/workflows/test_scala_2_12_non_spark.yaml (3 hunks)
  • .github/workflows/test_scala_2_12_spark.yaml (4 hunks)
  • .github/workflows/test_scala_fmt.yaml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • .github/workflows/test_scala_fmt.yaml
  • .github/workflows/test_scala_2_12_spark.yaml
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
.github/workflows/push_to_canary.yaml (2)
Learnt from: chewy-zlai
PR: zipline-ai/chronon#47
File: docker-init/Dockerfile:36-38
Timestamp: 2024-10-17T01:09:24.653Z
Learning: The JAR files `spark-assembly-0.1.0-SNAPSHOT.jar` and `cloud_aws-assembly-0.1.0-SNAPSHOT.jar` are generated by `sbt` and located in the `target` directory after the build.
Learnt from: tchow-zlai
PR: zipline-ai/chronon#393
File: cloud_gcp/BUILD.bazel:99-99
Timestamp: 2025-02-22T20:30:28.381Z
Learning: The jar file "iceberg-bigquery-catalog-1.5.2-1.0.1-beta.jar" in cloud_gcp/BUILD.bazel is a local dependency and should not be replaced with maven_artifact.
.github/workflows/test_scala_2_12_non_spark.yaml (1)
Learnt from: tchow-zlai
PR: zipline-ai/chronon#393
File: cloud_gcp/BUILD.bazel:99-99
Timestamp: 2025-02-22T20:30:28.381Z
Learning: The jar file "iceberg-bigquery-catalog-1.5.2-1.0.1-beta.jar" in cloud_gcp/BUILD.bazel is a local dependency and should not be replaced with maven_artifact.
🪛 YAMLlint (1.37.1)
.github/workflows/push_to_canary.yaml

[error] 100-100: trailing spaces

(trailing-spaces)

.github/workflows/test_bazel_config.yaml

[error] 51-51: no new line character at the end of file

(new-line-at-end-of-file)

.github/workflows/test_scala_2_12_non_spark.yaml

[error] 182-182: no new line character at the end of file

(new-line-at-end-of-file)

⏰ Context from checks skipped due to timeout of 90000ms (17)
  • GitHub Check: cloud_aws_tests
  • GitHub Check: cloud_gcp_tests
  • GitHub Check: service_tests
  • GitHub Check: aggregator_tests
  • GitHub Check: analyzer_tests
  • GitHub Check: join_tests
  • GitHub Check: service_commons_tests
  • GitHub Check: spark_tests
  • GitHub Check: groupby_tests
  • GitHub Check: streaming_tests
  • GitHub Check: api_tests
  • GitHub Check: online_tests
  • GitHub Check: flink_tests
  • GitHub Check: fetcher_tests
  • GitHub Check: batch_tests
  • GitHub Check: scala_compile_fmt_fix
  • GitHub Check: enforce_triggered_workflows
🔇 Additional comments (2)
.github/workflows/push_to_canary.yaml (2)

33-36: Redundant secret decode
Remote cache flags are gone, so the decoded bazel-cache-key.json is unused. Kill the whole block to speed up jobs and avoid secret exposure.

[ suggest_optional_refactor ]


96-104: Trim trailing spaces
Lines 100-104 have trailing blanks; YAML-lint is shouting. Quick cleanup keeps CI green.

[ suggest_nitpick ]

@chewy-zlai chewy-zlai changed the title Fix: Disable Bazel Remote Cache for PRs from a Fork Fix: Disable Bazel Remote Cache Jul 1, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 (2)
.github/workflows/test_scala_2_12_non_spark.yaml (2)

35-178: Consider DRY-ing the 8 almost-identical jobs

The workflow repeats the same container + checkout + bazel test pattern. A matrix strategy (or a reusable composite action) would cut ~150 lines and ease future updates.


181-181: Missing newline at EOF

Add a trailing newline to satisfy YAMLlint.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 85db416 and 2fa347f.

📒 Files selected for processing (2)
  • .github/workflows/test_scala_2_12_non_spark.yaml (1 hunks)
  • .github/workflows/test_scala_2_12_spark.yaml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/test_scala_2_12_spark.yaml
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: ken-zlai
PR: zipline-ai/chronon#185
File: .github/workflows/test_frontend.yaml:41-42
Timestamp: 2025-01-08T18:29:51.176Z
Learning: In GitHub Actions, the `version` parameter in `awalsh128/cache-apt-pkgs-action` is a cache control number used to invalidate and regenerate the cache. It does not specify the package version - the actual package version is determined by the Ubuntu package repositories.
.github/workflows/test_scala_2_12_non_spark.yaml (1)
Learnt from: tchow-zlai
PR: zipline-ai/chronon#393
File: cloud_gcp/BUILD.bazel:99-99
Timestamp: 2025-02-22T20:30:28.381Z
Learning: The jar file "iceberg-bigquery-catalog-1.5.2-1.0.1-beta.jar" in cloud_gcp/BUILD.bazel is a local dependency and should not be replaced with maven_artifact.
🪛 YAMLlint (1.37.1)
.github/workflows/test_scala_2_12_non_spark.yaml

[error] 181-181: no new line character at the end of file

(new-line-at-end-of-file)

⏰ Context from checks skipped due to timeout of 90000ms (17)
  • GitHub Check: analyzer_tests
  • GitHub Check: streaming_tests
  • GitHub Check: groupby_tests
  • GitHub Check: spark_tests
  • GitHub Check: batch_tests
  • GitHub Check: fetcher_tests
  • GitHub Check: join_tests
  • GitHub Check: api_tests
  • GitHub Check: cloud_aws_tests
  • GitHub Check: cloud_gcp_tests
  • GitHub Check: flink_tests
  • GitHub Check: service_commons_tests
  • GitHub Check: aggregator_tests
  • GitHub Check: service_tests
  • GitHub Check: online_tests
  • GitHub Check: scala_compile_fmt_fix
  • GitHub Check: enforce_triggered_workflows
🔇 Additional comments (2)
.github/workflows/test_scala_2_12_non_spark.yaml (2)

49-53: Remote-cache flags successfully stripped

All Bazel invocations now run without --remote_cache/--google_credentials, resolving the secret-exposure issue.

Also applies to: 68-72, 86-89, 104-107, 122-125, 140-143, 158-161, 176-181


178-181: Java 17 flags only on cloud_aws_tests – intentional?

If all modules build with Java 17, add the flags to every job; if only AWS needs them, add a clarifying comment.

@chewy-zlai chewy-zlai merged commit 3066480 into main Jul 1, 2025
33 of 36 checks passed
@chewy-zlai chewy-zlai deleted the chewy/bazel-cache branch July 1, 2025 19:57
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.

3 participants