Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 5 additions & 26 deletions .github/workflows/architecture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
run: exit 1

cell-runtime-rustfs:
name: Server, Cell and LTX RustFS recovery
name: Server Cell RustFS recovery
runs-on: ubuntu-latest
timeout-minutes: 45
env:
Expand All @@ -172,11 +172,6 @@ jobs:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
AWS_EC2_METADATA_DISABLED: true
CRAB_LTX_TEST_BUCKET: crab-cell-runtime
CRAB_LTX_TEST_ENDPOINT: http://127.0.0.1:9000
CRAB_CELL_TEST_BUCKET: crab-cell-runtime
CRAB_CELL_TEST_ENDPOINT: http://127.0.0.1:9000
CRAB_CELL_TEST_PREFIX: cell-${{ github.run_id }}-${{ github.run_attempt }}
CRAB_HTTP_CELL_TEST_BUCKET: crab-cell-runtime
CRAB_HTTP_CELL_TEST_ENDPOINT: http://127.0.0.1:9000
CRAB_HTTP_CELL_TEST_PREFIX: server-${{ github.run_id }}-${{ github.run_attempt }}
Expand Down Expand Up @@ -223,18 +218,18 @@ jobs:
-v "$data_root:/data" \
"$RUSTFS_IMAGE" server /data --address :9000
for _ in $(seq 1 90); do
if aws --endpoint-url "$CRAB_CELL_TEST_ENDPOINT" \
if aws --endpoint-url "$CRAB_HTTP_CELL_TEST_ENDPOINT" \
s3api list-buckets >/dev/null 2>&1; then
aws --endpoint-url "$CRAB_CELL_TEST_ENDPOINT" \
s3api create-bucket --bucket "$CRAB_CELL_TEST_BUCKET"
aws --endpoint-url "$CRAB_HTTP_CELL_TEST_ENDPOINT" \
s3api create-bucket --bucket "$CRAB_HTTP_CELL_TEST_BUCKET"
exit 0
fi
sleep 1
done
docker logs cell-runtime-rustfs >&2 || true
exit 1

- name: Verify canonical LTX and Cell source-loss recovery
- name: Verify server Cell source-loss recovery
run: |
set -euo pipefail
run_test() {
Expand All @@ -248,22 +243,6 @@ jobs:
return 1
fi
}
run_test cargo test -p crab-ltx --locked --features replica --test cell \
cell::roots::lifecycle::exact_root_inventory_verifies_every_remote_dependency \
-- --exact --nocapture
CRAB_CELL_TEST_PREFIX="${CRAB_CELL_TEST_PREFIX}/scheduler-discovery" \
run_test cargo test -p crab-cell-runtime --locked --test fleet \
fleet::takeover::rustfs_scheduler_membership_and_recovery_share_one_fresh_directory_scan \
-- --ignored --exact --nocapture
run_test cargo test -p crab-cell-runtime --locked --test runtime \
runtime::lifecycle::ownership::recovery::rustfs_source_loss_takeover_restores_exact_root_and_continues_publication \
-- --ignored --exact --nocapture
CRAB_CELL_TEST_PREFIX="${CRAB_CELL_TEST_PREFIX}/read-replicas" \
run_test cargo test -p crab-cell-runtime --locked --test runtime read_replica \
-- --include-ignored --test-threads=6 --nocapture
run_test cargo test -p crab-cell-runtime --locked --lib \
recovery::retention::tests::rustfs_maintenance_collection_preserves_live_and_pinned_graphs \
-- --ignored --exact --nocapture
run_test cargo test -p crab-http-server --locked --lib \
server::peer_e2e_tests::rustfs_public_collaboration_reaches_remote_owner_and_publishes_ltx \
-- --ignored --exact --nocapture
Expand Down
99 changes: 0 additions & 99 deletions .github/workflows/cell-coordination-model.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/cell-property-qualification.yml

This file was deleted.

120 changes: 0 additions & 120 deletions .github/workflows/cell-reference-compose.yml

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/cell-runtime-protected-qualification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ jobs:
exit 1
}
test -z "$(git status --porcelain)"
cargo_target_dir="$RUNNER_TEMP/crab-cell-runtime-protected-target"
mkdir -p "$cargo_target_dir"
test -d "$cargo_target_dir"
test -w "$(dirname "$cargo_target_dir")"
test -x "$QUALIFICATION_HARNESS" || {
echo "::error::Protected harness is missing: $QUALIFICATION_HARNESS" >&2
echo "Install the provider/Kubernetes harness on the protected runner; no local or synthetic fallback is accepted." >&2
Expand Down Expand Up @@ -148,15 +144,15 @@ jobs:
"fault-gcs-v1|qualification-matrix-fault-gcs.json"
"fault-azure-v1|qualification-matrix-fault-azure.json"
)
export CARGO_TARGET_DIR="$RUNNER_TEMP/crab-cell-runtime-protected-target"
cellule_source="$(python3 crab/scripts/cellule-qualification.py source-root)"
for requirement in "${required_profiles[@]}"; do
IFS='|' read -r profile_name _matrix_name <<< "$requirement"
profile="$protected_dir/$profile_name.json"
tracked="crates/crab-cell-runtime/qualification/profiles/$profile_name.json"
tracked="$cellule_source/crates/cellule-runtime/qualification/profiles/$profile_name.json"
test -f "$profile" && test ! -L "$profile"
cmp -- "$profile" "$tracked"
done
cargo run --quiet --locked -p crab-cell-runtime --bin qualification_receipt -- \
python3 crab/scripts/cellule-qualification.py run \
verify-protected-bundle "$protected_dir" "$SOURCE_SHA" "$IMAGE_DIGEST" \
"$QUALIFICATION_SIGNER"
printf '%s\n' "$SOURCE_SHA" > "$evidence_root/source-revision"
Expand Down
Loading
Loading