Skip to content

End to end deployment smoke tests#516

Open
Habibah371 wants to merge 2 commits into
Pulsefy:mainfrom
Habibah371:End-to-End-Deployment-Smoke-Tests
Open

End to end deployment smoke tests#516
Habibah371 wants to merge 2 commits into
Pulsefy:mainfrom
Habibah371:End-to-End-Deployment-Smoke-Tests

Conversation

@Habibah371
Copy link
Copy Markdown

PR: End-to-End Deployment Smoke Tests (API + Soroban + Horizon)

Summary

This PR introduces an automated deployment smoke test suite that validates critical application functionality across the API, Soroban RPC, and Horizon services immediately after deployment. The goal is to detect configuration issues, network connectivity problems, and contract integration failures before they impact users.

The smoke tests provide fast, actionable feedback and are integrated into the deployment pipeline to ensure every release is verified against the active network environment.

Changes Implemented

API Smoke Tests

Added end-to-end validation for critical application endpoints:

  • Health check endpoint
  • Network configuration endpoint
  • Link creation workflow
  • Link retrieval workflow

Each test verifies:

  • Endpoint availability
  • Expected response structure
  • Successful interaction with configured backend services
  • Proper error handling and status codes

Soroban RPC Validation

Added checks for Soroban connectivity and contract interaction capabilities:

  • RPC availability verification
  • Contract simulation validation
  • Transaction preparation flow checks
  • Event retrieval and parsing verification
  • Network configuration consistency checks

These tests ensure deployed services can successfully communicate with the configured Soroban network.

Horizon Connectivity Validation

Added Horizon integration tests to verify:

  • Horizon API availability
  • Ledger access
  • Transaction lookup functionality
  • Event and operation query support
  • Network synchronization status

This provides confidence that blockchain indexing and lookup functionality remains operational after deployment.

Automated Post-Deploy Execution

  • Smoke suite automatically executes after deployment completion
  • Failure immediately marks deployment validation as unsuccessful
  • Prevents unnoticed production misconfigurations
  • Produces clear pass/fail summaries for operators

Reporting & Observability

Added deployment validation reporting including:

  • Test execution summary
  • Service availability status
  • RPC connectivity results
  • Horizon connectivity results
  • Endpoint-level pass/fail indicators
  • Failure diagnostics for rapid troubleshooting

Results are surfaced directly in CI/CD logs for easy review.

Test Coverage

API

  • Health endpoint
  • Network endpoint
  • Link creation
  • Link retrieval

Soroban

  • RPC connectivity
  • Contract simulation
  • Event read paths
  • Network validation

Horizon

  • API connectivity
  • Ledger access
  • Transaction queries
  • Event retrieval

Deployment Pipeline

  • Automatic post-deploy execution
  • CI/CD result reporting
  • Failure propagation

Acceptance Criteria

  • Critical deployment dependencies validated automatically
  • Soroban RPC simulation and event paths verified
  • Horizon connectivity validated
  • Smoke tests run automatically after deployment
  • Deployments fail fast when misconfigured
  • Results clearly visible in CI logs
  • No additional secrets required beyond standard deployment credentials

Benefits

  • Detects deployment issues before user traffic is affected
  • Validates blockchain integrations in real deployment environments
  • Reduces mean time to detect configuration errors
  • Provides confidence in API, Soroban, and Horizon connectivity
  • Creates a repeatable deployment verification process across environments
    Closes BE-42: End-to-End Deployment Smoke Tests (API + Soroban + Horizon) #428

Contract-Deployment-Change-Notifications
End-to-End Deployment Smoke Tests
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@Habibah371 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

BE-42: End-to-End Deployment Smoke Tests (API + Soroban + Horizon)

1 participant