Skip to content

Developer onboarding script for local#194

Open
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:Developer-Onboarding-Script-for-Local
Open

Developer onboarding script for local#194
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:Developer-Onboarding-Script-for-Local

Conversation

@gloskull

Copy link
Copy Markdown
Contributor

This contribution implements a unified local onboarding script onboard.sh at the repository root and resolves TimescaleDB hypertable unique constraint issues to provide developers with a smooth, automated setup experience.

Key Changes:

Automated setup script ./onboard.sh at the repo root. This script checks system dependencies (docker, cargo), starts TimescaleDB and Soroban RPC standalone dev containers using docker-compose, waits for health checks, and applies database migrations in the correct order.
Structured migration streaming in onboard.sh which streams the project's SQL migrations from src/soroban/sync.sql, src/time_series/compress.sql, and src/settlement/schema.sql cleanly into the TimescaleDB container instead of hardcoding any schemas in the bash script.
Updated Docker Compose configuration to utilize stellar/quickstart for local Soroban RPC development.
Corrected TimescaleDB hypertable schema constraint in src/time_series/compress.sql by composite-including recorded_at in telemetry_events' primary key and unique constraints, preventing database initialization failures.
Confirmed that the setup script runs flawlessly and that the entire Rust backend test suite passes successfully.
Closes #139

google-labs-jules Bot and others added 2 commits July 17, 2026 17:32
… schema constraints

Co-authored-by: gloskull <189399494+gloskull@users.noreply.github.com>
…41272683364285151

Add Developer Onboarding Script for Local Development Setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Developer Onboarding Script for Local Development Setup

1 participant