Repository navigation
Conversation
…compose (layout step 9) Move the eval entry points (run_vm_demo.sh, fetch_binaries.sh, build.sh, profile_query_phase.sh) into eval/scripts/ and update every reference. Add pinned ClickHouse and Elasticsearch compose files under eval/baselines/, a Baselines section in eval/README.md, and deployment/Dockerfile (control_plane + data_plane, multi-stage, pinned bases) with a compose file that plans a workload and serves the plan.
…E and compose files The build stage needs make (jemalloc) and cmake, g++, libclang-dev (HiGHS); the runtime stage needs no packages (rustls ships its roots). Baselines table points at the files that pin each version; compose files drop settings that restate defaults.
zzylol
force-pushed
the
refactor/layout-query-adapters
branch
from
November 28, 2026 00:56
2a2b6bb to
1c2d5d1
Compare
zzylol
force-pushed
the
refactor/layout-eval-deploy
branch
from
November 28, 2026 00:56
7862cb6 to
659d53b
Compare
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.
Summary
docs/design/repo-layout.md(docs(design): repository layout and engine boundaries #874):eval/had its entry-point scripts at the top level and no place for compared systems that run as their own service, anddeployment/had only the monitoring stack, with no image of the backend itself.eval/scripts/:run_vm_demo.sh,fetch_binaries.sh,build.shandprofile/profile_query_phase.shmove here (content unchanged except their own paths). Every reference is updated.eval/baselines/{clickhouse,elasticsearch}/docker-compose.yml: pinned single-server ClickHouse (25.8.33.6) and single-node Elasticsearch (9.5.3), localhost only, named volumes. They are the serversdata_plane --clickhouse-url/--elastic-urlforward to (feat: ClickHouse and Elasticsearch query adapters and fallback clients (layout step 8) #883).eval/README.mdgets a Baselines section: every compared system, where its version is pinned, how it runs, which harness arm uses it, and what is not ported yet.deployment/Dockerfile(multi-stage,rust:1.99.0-slim-bookworm→debian:bookworm-20261104-slim, non-root):control_planeanddata_planein one image.deployment/Dockerfile.dockerignorekeeps the context to whatcargo buildneeds.deployment/docker-compose.ymlplans a workload once (WORKLOAD, Example 1 by default) and serves the plan on port 8088.scripts/<name>.shfromeval/.Review guide
refactor/layout-query-adapters(feat: ClickHouse and Elasticsearch query adapters and fallback clients (layout step 8) #883). Stacked draft.deployment/Dockerfileanddeployment/docker-compose.yml.eval/README.md(Baselines section).eval/baselines/*/docker-compose.yml.eval/campaign/*.sh,eval/harness/{README.md,common.py,run.py},deployment/monitoring/*).File moves
eval/run_vm_demo.sheval/scripts/run_vm_demo.sheval/fetch_binaries.sheval/scripts/fetch_binaries.sheval/build.sheval/scripts/build.sheval/profile/profile_query_phase.sheval/scripts/profile_query_phase.sh(eval/profile/removed).gitignoreeval/results/eval/.gitignoreeval/baselines/clickhouse/docker-compose.yml,eval/baselines/elasticsearch/docker-compose.ymldeployment/Dockerfile,deployment/Dockerfile.dockerignore,deployment/docker-compose.ymlReference updates:
$BASE/scripts/...in the moved scripts anddeployment/monitoring/run_binaries.sh;./scripts/run_vm_demo.sh, the harness hash inputs and thepgreppattern ineval/campaign/*.sh;../scripts/...ineval/harness/README.mdandcommon.py; comments inrun.py,make_dashboard.py,deployment/monitoring/.gitignore(which also gains/data/, written byrun_binaries.sh).What was ported, what was not
Ported read-only from ASAPQuery's main: the ClickHouse experiment service template (
asap-tools/experiments/experiment_utils/services/docker-compose.clickhouse.yml.j2), with the image pinned and the Jinja parameters dropped. ASAPQuery has no Elasticsearch compose (only a pointer to Elastic's start-local script), so that file is new. ASAPQuery and ASAPPlanner are unchanged.Not ported (listed in
eval/README.md):eval/harness/run.py(data loading, SQL / Query DSL workloads). The backend forwards every SQL and Query DSL query today, so such an arm would measure only the forward path.fetch_binaries.sh); unchanged by this PR.No results are added.
How verified
--all-targets -D warnings, fullcargo test --workspace,ulimit -nraised): fmt and clippy clean; tests 236 passed, 0 failed, 3 ignored (56 suites), the same as feat: ClickHouse and Elasticsearch query adapters and fallback clients (layout step 8) #883. No Rust file changes in this PR./metricsdump of refactor: split precompute and query crates out of data-plane (layout step 5a) #879–feat: ClickHouse and Elasticsearch query adapters and fallback clients (layout step 8) #883, run on this head and on this PR's head before the whole-stack review fixes (7862cb6): byte-identical (32,469 bytes).docker build -f deployment/Dockerfile .succeeds (BuildKit).data_plane --helpandcontrol_plane --helprun in the image. Building it found two missing build packages (makefor jemalloc;cmake,g++,libclang-devfor HiGHS), which are now installed in the build stage.docker compose configpasses for all three files.deployment/docker-compose.ymlup:planexits 0 (wrote /data/plan.json (2 queries, 8 nodes)),data-planeserves/metrics(200) and forwards an unplanned query (502 with no Prometheus, as expected).SELECT version()with25.8.33.6(timezone UTC), Elasticsearch reports 9.5.3, and_sqlanswers. The image'sdata_plane --clickhouse-url ... --elastic-url ...forwardsPOST /clickhouse/query(SELECT 1 + 1→2) andPOST /_sql(SELECT 2 + 3→5), bothx-asap-execution: forwarded.bash -non every moved and edited script. Dry runs:scripts/fetch_binaries.sh <unknown pin>exits 0,scripts/profile_query_phase.shprints usage,scripts/run_vm_demo.shandscripts/build.shstop on a missingASAPQ_BENCH, andrun_binaries.shprints usage.py_compileon the edited Python files. A repo-wide grep finds no reference to the old paths outsidedocs/design.backend_aloneandasap_forwardadded, compose settings that restate defaults dropped, unused--reportin compose dropped, a staleREADME.mdpointer inbuild.sh, and design doc rows for Elasticsearch andprofile_query_phase.sh.README
This PR adds the
deployment/Dockerfileparagraph to the README's run section and widens the layout table'sdeployment/row to the image and Compose file.Design doc
#874 updated (
docs/repo-layout): Layout tree (eval/{baselines,harness,scripts,demo,campaign},deployment/contents), the results note, the file table rows foreval/scripts/and both baselines, and the step 9 text.