Skip to content

feat(contract): link interface docs to code with drift check#821

Merged
aji70 merged 1 commit into
MyFanss:mainfrom
Saboleee:feature/link-contract-interfaces-docs
Apr 25, 2026
Merged

feat(contract): link interface docs to code with drift check#821
aji70 merged 1 commit into
MyFanss:mainfrom
Saboleee:feature/link-contract-interfaces-docs

Conversation

@Saboleee
Copy link
Copy Markdown
Contributor

Add check-interface-docs-drift script and npm scripts; wire into release-check. Align docs/interfaces with actual contractimpl entrypoints and fix source paths.

Made-with: Cursor

Summary

Changes

Test Plan

Automated tests added or updated

  • Unit tests (backend/src/**/*.spec.ts) — service/guard/decorator logic in isolation
  • Integration / e2e tests (backend/test/**/*.e2e-spec.ts) — HTTP round-trips with mocked infrastructure
  • Frontend component tests (frontend/src/**/*.test.{ts,tsx}) — React component behaviour
  • Frontend e2e tests (frontend/e2e/**/*.spec.ts) — Playwright browser flows
  • Contract tests (contract/) — Soroban/Rust unit tests via cargo test
  • No new tests required — explain why: ___

How to run the tests locally

# Backend unit tests
cd backend && npm test

# Backend e2e tests (requires no live DB — uses in-memory mocks)
cd backend && npm run test:e2e

# Frontend component tests
cd frontend && npx vitest run

# Frontend e2e tests (requires dev server on :3000 and API on :3001)
cd frontend && npx playwright test

# Contract tests
cd contract && cargo test

closes #614

Add check-interface-docs-drift script and npm scripts; wire into release-check.
Align docs/interfaces with actual contractimpl entrypoints and fix source paths.

Made-with: Cursor
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 25, 2026

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

@aji70 aji70 merged commit bc1ac58 into MyFanss:main Apr 25, 2026
3 of 13 checks passed
aji70 added a commit that referenced this pull request Apr 30, 2026
…s-docs

feat(contract): link interface docs to code with drift check
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.

Contract interface docs drift check

2 participants