Skip to content

Add Soroban E2E coverage and property filters - #231

Merged
OsagieCynthia merged 1 commit into
Arbitra-Lab:devfrom
Abdulwasiu45:copilot/issue-139-147
Nov 23, 2026
Merged

OsagieCynthia merged 1 commit into
Arbitra-Lab:devfrom
Abdulwasiu45:copilot/issue-139-147

Conversation

@Abdulwasiu45

@Abdulwasiu45 Abdulwasiu45 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

📝 Description

Add a local Soroban/backend E2E workflow for escrow funding/release, dispute raising and arbiter voting, plus PostgreSQL reconciliation checks. Add the responsive property faceted-search page with debounced filtering, URL persistence, and server-side availability filtering.

The current payment contract has no public agreement-registration API required by pay_rent. The suite therefore exercises payment-contract setup/read calls and escrow funding, but does not claim a successful rent-payment lifecycle.

🎯 Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📚 Documentation update
  • ⚡ Performance improvement
  • 🔒 Security fix
  • 🧹 Code cleanup/refactoring

🔗 Related Issues

  • Add a CI workflow that starts local Stellar Quickstart and PostgreSQL, deploys the contracts, and enforces a sub-10-minute E2E test runtime.
  • Add backend Soroban configuration for local RPC/passphrase support and correct transaction confirmation and escrow ID handling.
  • Add responsive property filters for price, amenities, availability, lease mode, and pet policy; debounce updates and persist filter state in query parameters.
  • Filter availability in the public listings query without exposing calendar records; document local contract test setup.

🧪 Testing

  • Unit tests added/updated
  • E2E tests added/updated
  • Manual testing performed
  • All tests pass locally

Test Coverage

  • cd backend && pnpm exec jest --runInBand src/modules/properties/__tests__/properties.pagination.spec.ts src/modules/stellar/services/escrow-contract.service.spec.ts src/modules/stellar/services/dispute-contract.service.spec.ts — passed (44 tests).
  • cd frontend && pnpm exec vitest run lib/__tests__/property-search.test.ts — passed (3 tests).
  • Focused backend ESLint and TypeScript checks — passed; Prettier and git diff --check — passed.
  • The live Soroban suite was not run locally (Cargo/Rust and a local network are unavailable); CI runs it. Frontend build and backend build remain blocked by existing unrelated errors; details are in the PR checks/results.

📊 Checklist

Code Quality

  • Code follows project style guidelines
  • No console errors or warnings
  • TypeScript/Rust types are correct
  • No unused variables or imports
  • Comments added for complex logic

Testing

  • All tests pass (make check / cargo test)
  • New tests added for new functionality
  • Edge cases considered
  • Error scenarios tested

Documentation

  • README updated (if needed)
  • API documentation updated (if needed)
  • Code comments added (if needed)
  • CONTRIBUTING.md updated (if needed)

Database (Backend only)

  • Migrations created (if needed)
  • Migrations tested locally
  • Rollback tested
  • Seed data updated (if needed)

Security

  • No hardcoded secrets
  • Input validation added
  • Authorization checks in place
  • No SQL injection vulnerabilities
  • No XSS vulnerabilities

Performance

  • No performance regressions
  • Database queries optimized
  • Bundle size impact assessed
  • Caching considered

Breaking Changes

  • No breaking changes to APIs
  • No breaking changes to contracts
  • Backward compatibility maintained
  • Migration guide provided (if needed)

📸 Screenshots/Demo

Responsive filters are available at /properties; no screenshots were captured.

🚀 Deployment Notes

No production deployment configuration is required. The Soroban E2E workflow supplies local RPC, Friendbot, PostgreSQL, and ephemeral contract deployments.

📖 Additional Context

The pay_rent end-to-end lifecycle remains blocked by the payment contract's lack of a public agreement-registration API. The CI suite verifies reachable payment-contract configuration/read operations and exercises escrow funding/release and dispute voting/reconciliation.

🔄 Reviewer Checklist

  • Code changes are clear and understandable
  • Tests are comprehensive
  • Documentation is accurate
  • No security concerns
  • No performance issues
  • Follows project conventions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
arbitra Error Error Nov 23, 2026 3:30pm UTC

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@Abdulwasiu45 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

@OsagieCynthia
OsagieCynthia merged commit 2afc940 into Arbitra-Lab:dev Nov 23, 2026
1 of 2 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 1fda14d0 Deployed Nov 23, 2026 by vercel[bot]
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.

2 participants