Skip to content

Commit d1cc34d

Browse files
committed
fix: seed 0box providers in redeploy and remove seed-explorer command
- Add seed_0box_providers() call in Phase 9b of redeploy flow so Blimp/ Explorer see blobbers immediately without waiting 90min for Kafka health checks - Remove seed-explorer command (now handled automatically by redeploy)
1 parent 0fce6ed commit d1cc34d

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

scripts/deploy_local.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11694,6 +11694,11 @@ main() {
1169411694
# Phase 9: Update nginx with full service routes, logs, and configs
1169511695
setup_nginx || print_warning "Nginx setup had issues (non-critical)"
1169611696

11697+
# Phase 9b: Seed 0box provider tables so Blimp/Explorer see blobbers immediately.
11698+
# Kafka health-check events take ~90 min to populate these tables organically.
11699+
# This bootstraps them from the sharder events_db so apps work right after deploy.
11700+
seed_0box_providers || print_warning "0box provider seeding had issues (non-critical)"
11701+
1169711702
# Phase 10: Test setup — wallets, configs, funding, tools
1169811703
clean_service_databases
1169911704
cleanup_stale_test_artifacts
@@ -12042,12 +12047,6 @@ EOF
1204212047

1204312048
print_status "Kafka pipeline fix complete. Verify at /test/results or Explorer."
1204412049
;;
12045-
seed-explorer)
12046-
# Seed 0box provider tables from sharder events_db for Explorer
12047-
seed_0box_providers
12048-
# Patch snapshot aggregates (unique_addresses, challenges, rewards stuck at 0)
12049-
fix_snapshot_aggregates
12050-
;;
1205112050
fix-snapshots)
1205212051
# Patch 0box snapshot aggregates with real data from events_db.
1205312052
# Fixes unique_addresses=0, total_challenges=0, total_rewards=0 on Explorer.

0 commit comments

Comments
 (0)