Skip to content

Commit 923b6ca

Browse files
authored
Merge branch 'main' into feat/parse-emit
2 parents e839321 + 2d79894 commit 923b6ca

File tree

327 files changed

+7855
-3697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

327 files changed

+7855
-3697
lines changed

Cargo.lock

Lines changed: 26 additions & 575 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ description = "Run all streaming e2e tests"
874874
[tasks.slt-batch]
875875
category = "RiseDev - SQLLogicTest"
876876
extend = "slt"
877-
args = ["${@}", "./e2e_test/batch/**/*.slt"]
877+
args = ["${@}", "./e2e_test/batch/*.slt"]
878878
description = "Run all batch e2e tests"
879879

880880
[tasks.slt-generated]

ci/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,12 @@ ENV PATH /root/.cargo/bin/:$PATH
3030
RUN rustup component add rustfmt llvm-tools-preview clippy
3131

3232
# install build tools
33-
RUN cargo install cargo-llvm-cov cargo-nextest cargo-udeps cargo-hakari cargo-sort cargo-make cargo-cache \
33+
RUN cargo install cargo-llvm-cov cargo-nextest cargo-udeps cargo-hakari cargo-sort cargo-make cargo-cache sccache \
3434
&& cargo install --git https://github.com/risinglightdb/sqllogictest-rs --rev dbadddb --bin sqllogictest --locked \
3535
&& cargo cache -a \
3636
&& rm -rf "/root/.cargo/registry/index" \
3737
&& rm -rf "/root/.cargo/registry/cache" \
3838
&& rm -rf "/root/.cargo/git/db"
39+
40+
ENV RUSTC_WRAPPER=sccache
41+
ENV SCCACHE_BUCKET=ci-sccache-bucket

ci/build-ci-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export RUST_TOOLCHAIN=$(cat ../rust-toolchain)
1414
# !!! CHANGE THIS WHEN YOU WANT TO BUMP CI IMAGE !!! #
1515
# AND ALSO docker-compose.yml #
1616
######################################################
17-
export BUILD_ENV_VERSION=v20230207_02
17+
export BUILD_ENV_VERSION=v20230208_05
1818

1919
export BUILD_TAG="public.ecr.aws/x5u3w5h6/rw-build-env:${BUILD_ENV_VERSION}"
2020

ci/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,28 @@ services:
3030
retries: 5
3131

3232
source-test-env:
33-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230207_02
33+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230208_05
3434
depends_on:
3535
- mysql
3636
- db
3737
volumes:
3838
- ..:/risingwave
3939

4040
sink-test-env:
41-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230207_02
41+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230208_05
4242
depends_on:
4343
- mysql
4444
- db
4545
volumes:
4646
- ..:/risingwave
4747

4848
rw-build-env:
49-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230207_02
49+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230208_05
5050
volumes:
5151
- ..:/risingwave
5252

5353
regress-test-env:
54-
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230207_02
54+
image: public.ecr.aws/x5u3w5h6/rw-build-env:v20230208_05
5555
depends_on:
5656
db:
5757
condition: service_healthy

ci/scripts/build-simulation.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ mv target/sim/ci-sim/risingwave_simulation ./risingwave_simulation
1919

2020
artifacts=(risingwave_simulation scale-test.tar.zst)
2121
echo -n "${artifacts[*]}" | parallel -d ' ' "buildkite-agent artifact upload ./{}"
22+
23+
echo "--- Show sccache stats"
24+
sccache --show-stats

ci/scripts/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ ldd target/"$target"/risingwave
5353

5454
echo "--- Upload artifacts"
5555
echo -n "${artifacts[*]}" | parallel -d ' ' "mv target/$target/{} ./{}-$profile && buildkite-agent artifact upload ./{}-$profile"
56+
57+
echo "--- Show sccache stats"
58+
sccache --show-stats

ci/scripts/deterministic-e2e-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo "--- deterministic simulation e2e, ci-3cn-2fe, batch"
3030
seq $TEST_NUM | parallel MADSIM_TEST_SEED={} './risingwave_simulation ./e2e_test/batch/\*\*/\*.slt 2> $LOGDIR/batch-{}.log && rm $LOGDIR/batch-{}.log'
3131

3232
echo "--- deterministic simulation e2e, ci-3cn-2fe, kafka source"
33-
seq $TEST_NUM | parallel MADSIM_TEST_SEED={} './risingwave_simulation --kafka-datadir=./scripts/source/test_data ./e2e_test/source/kafka.slt 2> $LOGDIR/source-{}.log && rm $LOGDIR/source-{}.log'
33+
seq $TEST_NUM | parallel MADSIM_TEST_SEED={} './risingwave_simulation --kafka-datadir=./scripts/source/test_data ./e2e_test/source/basic/kafka\*.slt 2> $LOGDIR/source-{}.log && rm $LOGDIR/source-{}.log'
3434

3535
echo "--- deterministic simulation e2e, ci-3cn-2fe, parallel, streaming"
3636
seq $TEST_NUM | parallel MADSIM_TEST_SEED={} './risingwave_simulation -j 16 ./e2e_test/streaming/\*\*/\*.slt 2> $LOGDIR/parallel-streaming-{}.log && rm $LOGDIR/parallel-streaming-{}.log'

ci/scripts/unit-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ set -euo pipefail
55

66
source ci/scripts/common.env.sh
77
source ci/scripts/run-unit-test.sh
8+
9+
echo "--- Show sccache stats"
10+
sccache --show-stats

clippy.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
disallowed-methods = [
2-
{ path = "std::iter::Iterator::zip", reason = "Please use Itertools::zip_eq instead." },
2+
{ path = "std::iter::Iterator::zip", reason = "Please use `zip_eq_fast` if it's available. Otherwise use `zip_eq_debug`" },
3+
{ path = "itertools::Itertools::zip_eq", reason = "Please use `zip_eq_fast` if it's available. Otherwise use `zip_eq_debug`" },
34
{ path = "futures::stream::select_all", reason = "Please use `risingwave_common::util::select_all` instead." },
45
]
56
doc-valid-idents = [

dashboard/proto/gen/batch_plan.ts

Lines changed: 42 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dashboard/proto/gen/catalog.ts

Lines changed: 52 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dashboard/proto/gen/ddl_service.ts

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)