ci: revert running "Vs QuestDB master" against the nightly docker image (#160)#161
ci: revert running "Vs QuestDB master" against the nightly docker image (#160)#161ideoma wants to merge 1 commit into
Conversation
📝 WalkthroughWalkthroughThe PR removes all Docker-backed QuestDB test infrastructure: ChangesDocker Infrastructure Removal and Master Build Replacement
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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.
🧹 Nitpick comments (2)
ci/run_tests_pipeline.yaml (1)
243-259: ⚡ Quick winArchive the egress failover server logs too.
If
test_egress_failover.pyfails, the useful QuestDB logs are underbuild/questdb/server1/logandbuild/questdb/server2/log, but this artifact only capturesbuild/questdb/repo/data/log. Please include the standalone server log directories so failures in the new egress step are diagnosable from CI artifacts.Proposed artifact path adjustment
- rootFolderOrFile: $(Build.SourcesDirectory)/build/questdb/repo/data/log + rootFolderOrFile: $(Build.SourcesDirectory)/build/questdb🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@ci/run_tests_pipeline.yaml` around lines 243 - 259, The ArchiveFiles@2 task is only capturing logs from the main QuestDB server directory (build/questdb/repo/data/log), but when test_egress_failover.py fails, the diagnostic logs are in the failover server directories (build/questdb/server1/log and build/questdb/server2/log). Modify the rootFolderOrFile input in the ArchiveFiles@2 task to include all three log directories, or create additional ArchiveFiles@2 and PublishBuildArtifacts@1 tasks to separately archive and publish the failover server logs (server1 and server2) so that egress failover test failures can be diagnosed from CI artifacts.system_test/failover_clients/src/bin/exhaustion_client.rs (1)
46-151: ⚡ Quick winReminder: Run
cargo fmtandcargo clippybefore committing.As per coding guidelines, please run the following commands before committing Rust changes:
cargo fmt --manifest-path system_test/failover_clients/Cargo.toml cargo clippy --manifest-path system_test/failover_clients/Cargo.toml --tests🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@system_test/failover_clients/src/bin/exhaustion_client.rs` around lines 46 - 151, The code in the main function has not been formatted or linted according to Rust coding guidelines. Before committing this code, run the Rust formatter and linter tools on the failover_clients project to ensure proper code style and catch any potential issues. Use cargo fmt to format the code and cargo clippy to identify and flag any non-idiomatic patterns or common mistakes in the exhaustion_client.rs file and related code.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@ci/run_tests_pipeline.yaml`:
- Around line 243-259: The ArchiveFiles@2 task is only capturing logs from the
main QuestDB server directory (build/questdb/repo/data/log), but when
test_egress_failover.py fails, the diagnostic logs are in the failover server
directories (build/questdb/server1/log and build/questdb/server2/log). Modify
the rootFolderOrFile input in the ArchiveFiles@2 task to include all three log
directories, or create additional ArchiveFiles@2 and PublishBuildArtifacts@1
tasks to separately archive and publish the failover server logs (server1 and
server2) so that egress failover test failures can be diagnosed from CI
artifacts.
In `@system_test/failover_clients/src/bin/exhaustion_client.rs`:
- Around line 46-151: The code in the main function has not been formatted or
linted according to Rust coding guidelines. Before committing this code, run the
Rust formatter and linter tools on the failover_clients project to ensure proper
code style and catch any potential issues. Use cargo fmt to format the code and
cargo clippy to identify and flag any non-idiomatic patterns or common mistakes
in the exhaustion_client.rs file and related code.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: dc53c74f-68e7-45da-a5d6-7ef367760e25
📒 Files selected for processing (5)
ci/run_tests_pipeline.yamlsystem_test/failover_clients/src/bin/exhaustion_client.rssystem_test/fixture.pysystem_test/test.pysystem_test/test_egress_failover.py
💤 Files with no reviewable changes (1)
- system_test/fixture.py
Reverts commit db63120 (the squash-merge of #160, "ci: run "Vs QuestDB master" against the nightly docker image").
This restores the previous from-source "Vs QuestDB master" job on
hetzner-incusand removes the docker-based fixtures and helper changes introduced by #160:ci/run_tests_pipeline.yaml— back to the from-source build +test.py run --repo/test_egress_failover.py run --repo.system_test/fixture.py— removesQuestDbDockerFixture.system_test/test.py/test_egress_failover.py— removes the--dockermode andDockerStandaloneInstance.system_test/failover_clients/src/bin/exhaustion_client.rs— reverts the drain-after-kill change.The diff is the exact inverse of db63120 (5 files, +100 / -540).
Summary by CodeRabbit
Tests
Chores