Conversation
WalkthroughThis change propagates the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
concourse/scripts/build_tarball.bash (1)
279-279: Inconsistent variable expansion syntax on line 279.Line 279 uses
$WITH_LOG_STATEwithout braces, while lines 205 and 238 use${WITH_LOG_STATE}with braces. For consistency and to avoid potential issues with adjacent characters, use the braced form throughout.- local cmake_args="-DCMAKE_BUILD_TYPE=$BUILD_TYPE -DWITH_ASAN=$ASAN -DDISABLE_CODE_LINE_IN_LOG=ON -DWITH_LOG_STATE=$WITH_LOG_STATE" + local cmake_args="-DCMAKE_BUILD_TYPE=$BUILD_TYPE -DWITH_ASAN=$ASAN -DDISABLE_CODE_LINE_IN_LOG=ON -DWITH_LOG_STATE=${WITH_LOG_STATE}"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
concourse/scripts/build_tarball.bash(3 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: githubzilla
Repo: eloqdata/eloqsql PR: 127
File: concourse/scripts/build_tarball_open.bash:136-136
Timestamp: 2025-09-25T11:33:33.221Z
Learning: The open log service (OPEN_LOG_SERVICE=ON) in concourse/scripts/build_tarball_open.bash only supports ROCKSDB as its log state and does not use the WITH_LOG_STATE parameter that was introduced to replace USE_ROCKSDB_LOG_STATE in other parts of the codebase.
Learnt from: githubzilla
Repo: eloqdata/eloqsql PR: 127
File: storage/eloq/build_log_service.cmake:97-124
Timestamp: 2025-09-25T11:41:40.111Z
Learning: The `storage/eloq/build_log_service.cmake` file is specifically for the open log service build and only supports ROCKSDB as its log state backend. Unlike the enterprise version in `build_eloq_log_service.cmake`, it does not need to handle cloud-specific variants like ROCKSDB_CLOUD_S3 or ROCKSDB_CLOUD_GCS.
Learnt from: githubzilla
Repo: eloqdata/eloqsql PR: 127
File: concourse/scripts/main.bash:164-165
Timestamp: 2025-09-25T11:40:48.717Z
Learning: The main.bash script in concourse/scripts/main.bash is for open log build, which only supports ROCKSDB as the log state option and does not need cloud-specific variants like ROCKSDB_CLOUD_S3.
📚 Learning: 2025-09-25T11:33:33.221Z
Learnt from: githubzilla
Repo: eloqdata/eloqsql PR: 127
File: concourse/scripts/build_tarball_open.bash:136-136
Timestamp: 2025-09-25T11:33:33.221Z
Learning: The open log service (OPEN_LOG_SERVICE=ON) in concourse/scripts/build_tarball_open.bash only supports ROCKSDB as its log state and does not use the WITH_LOG_STATE parameter that was introduced to replace USE_ROCKSDB_LOG_STATE in other parts of the codebase.
Applied to files:
concourse/scripts/build_tarball.bash
📚 Learning: 2025-09-25T11:41:40.111Z
Learnt from: githubzilla
Repo: eloqdata/eloqsql PR: 127
File: storage/eloq/build_log_service.cmake:97-124
Timestamp: 2025-09-25T11:41:40.111Z
Learning: The `storage/eloq/build_log_service.cmake` file is specifically for the open log service build and only supports ROCKSDB as its log state backend. Unlike the enterprise version in `build_eloq_log_service.cmake`, it does not need to handle cloud-specific variants like ROCKSDB_CLOUD_S3 or ROCKSDB_CLOUD_GCS.
Applied to files:
concourse/scripts/build_tarball.bash
📚 Learning: 2025-09-25T11:40:48.717Z
Learnt from: githubzilla
Repo: eloqdata/eloqsql PR: 127
File: concourse/scripts/main.bash:164-165
Timestamp: 2025-09-25T11:40:48.717Z
Learning: The main.bash script in concourse/scripts/main.bash is for open log build, which only supports ROCKSDB as the log state option and does not need cloud-specific variants like ROCKSDB_CLOUD_S3.
Applied to files:
concourse/scripts/build_tarball.bash
🔇 Additional comments (3)
concourse/scripts/build_tarball.bash (3)
280-281: Conditional cloud storage flag handling looks correct.The
build_upload_log_srvfunction correctly mirrors the main script's approach: onlyELOQDSS_ROCKSDB_CLOUD_S3receives theCLOUD_AZ_INFOflag (lines 280–281), whileELOQDSS_ROCKSDB_CLOUD_GCSdoes not, consistent with the conditional logic at lines 119–123.
205-206: The concern aboutWITH_LOG_STATEbeing undefined is not supported by the codebase. All Concourse pipeline configurations (build_debug_tarball.yml, build_nightly_tarball.yml, build_release_tarball.yml) consistently defineWITH_LOG_STATEas an environment variable before invoking the script—with values such asROCKSDB,ROCKSDB_CLOUD_S3, orROCKSDB_CLOUD_GCS. The script correctly relies on the caller to provide this variable, and all observed calling contexts comply with this requirement.Likely an incorrect or invalid review comment.
228-228: The data store service build correctly does not receive-DWITH_LOG_STATE. This is intentional and correct.WITH_LOG_STATEis specifically for log state configuration (MEMORY, ROCKSDB, ROCKSDB_CLOUD variants), used by the main eloqsql and log service builds. The DSS build uses-DWITH_DATA_STOREinstead, which is the appropriate configuration variable for the data store service. These are separate, purpose-specific parameters for different services with different architectural concerns.Likely an incorrect or invalid review comment.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.