Stabilize result ordering and streaming evidence

This commit is contained in:
ms2k 2026-07-17 03:36:41 +09:00
commit b2afdfe97a

View file

@ -158,11 +158,20 @@ RUN cargo nextest archive \
--locked \
--archive-file /tmp/remora-result-tests.tar.zst
FROM kind-result-build AS kind-result-verified
RUN cargo clippy \
--package remora-result \
--all-targets \
--all-features \
--locked \
-- -D warnings \
&& cargo test --package remora-result --doc --locked
FROM rust-tools AS kind-result-runner
WORKDIR /workspace
COPY Cargo.toml ./
COPY crates crates
COPY --from=kind-result-build /tmp/remora-result-tests.tar.zst /tests/remora-result-tests.tar.zst
COPY --from=kind-result-verified /tmp/remora-result-tests.tar.zst /tests/remora-result-tests.tar.zst
CMD ["bash", "-ec", "test -s /run/remora-fixture/profile.env && test -n \"$DATABASE_URL\" && test -n \"$REMORA_TARGET_ENDPOINT\" && case $REMORA_TARGET_PROVIDER in garage|versitygw) ;; *) exit 1 ;; esac && export REMORA_RESULT_REQUIRE=1 && cargo-nextest nextest run --archive-file /tests/remora-result-tests.tar.zst --workspace-remap /workspace --test-threads=1"]
FROM ${NODE_IMAGE} AS node-runtime