Skip to content

chore(release): provision Testnet staging and an end-to-end market smoke test #17

Description

@Joaco2603

Pre-flight checks

  • I reviewed deployments, workflows, and open issues across all four repositories.
  • No deployed Backend/UI environment or cross-repository smoke test currently proves the market journey.

Priority

P0 — release evidence and product demos currently depend on local state.

Problem

Backend and UI have no GitHub deployments, the Backend pipeline is red, and no automated environment proves wallet auth -> catalog -> purchase -> ledger confirmation -> encrypted delivery. Unit tests passing in isolation do not prove a product exists.

Proposed solution

Provision one production-like Testnet staging environment with:

  • Backend, PostgreSQL migrations, encrypted object storage/KMS boundary, delivery worker, and health checks.
  • UI configured through environment variables.
  • Fresh verified Testnet contract IDs and funded test identities.
  • A curated private prompt fixture created through the real publication boundary.
  • Automated smoke coverage for an authorized buyer and negative unauthorized/replay cases.
  • Redacted observability, rollback/reconciliation instructions, and secret rotation ownership.

Acceptance criteria

  • A clean deploy applies migrations and starts with DB_SYNCHRONIZE=false.
  • /api/health verifies database and required runtime dependencies, not only process liveness.
  • The deployed UI authenticates a Freighter wallet against the deployed Backend.
  • A buyer completes a real Testnet private-prompt purchase and retrieves an encrypted delivery result.
  • Unauthorized access, duplicate confirmation, pending RPC, and replay cases fail safely.
  • Deployment URLs, contract IDs, artifact hashes, and smoke-test evidence are recorded in a release runbook.
  • No long-lived private key is committed or printed in CI logs.

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignenhancementNew feature or requeststatus:approvedApproved for implementation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions