Skip to content

feat: add branch preview environment resolver module#635

Merged
Cedarich merged 8 commits into
Pulsefy:mainfrom
DevMuhdishaq:feat/be-preview-env-resolver
Jun 29, 2026
Merged

feat: add branch preview environment resolver module#635
Cedarich merged 8 commits into
Pulsefy:mainfrom
DevMuhdishaq:feat/be-preview-env-resolver

Conversation

@DevMuhdishaq

Copy link
Copy Markdown
Contributor

Closes #542

  • Create branch-preview module with LRU cache and TTL support
  • Implement public endpoint GET /preview/:branchName for fetching preview config
  • Add admin endpoints for managing preview mappings
  • Add audit logging for all admin operations
  • Create database migration for branch_preview_environments table
  • Add unit tests for core service functionality
  • Add fallback URL environment variables for unknown branches
  • Integrate module into main application

Closes #545

ykargeee-bit and others added 8 commits June 28, 2026 19:51
…events

- Add filter support to listUnparsedEvents for contractId, schemaVersion, errorType
- Add single event replay endpoint: POST /unparsed-events/:pagingToken/replay
- Add specific batch replay endpoint: POST /unparsed-events/replay/batch
- Implement incrementAttempts to properly track replay attempts
- Add status field to track if event is pending or replayed
- Ensure idempotent replay that prevents duplicate records
- Full auditability with attempts counter, error messages, and timestamps
…ground job system that meets all your requirements:

added comprehensive Dead Letter Queue (DLQ) replay APIs for your background job system that meets all your requirements:
- Add template versioning with active/draft/archived states
- Expose admin API endpoints for template management and preview
- Persist template version ID with all delivered notifications
- Implement draft promotion with automatic archiving of previous active versions
- Add unit tests for core template versioning logic
- Seed existing hardcoded templates into new versioning system

Closes requirements:
- Operators can evolve templates without breaking historical records
- Delivered notifications reference the exact template version used
- Preview rendering matches delivered content
… support

- Add POST /transactions/simulate endpoint with deterministic failure reasons
- Add POST /transactions/submit endpoint for signed transactions with idempotency
- Add canonical memo support to transaction builder (text, id, hash, return types)
- Implement idempotency guarantees for all transaction operations
- Never handle or store private keys - only accept pre-signed transactions
- Simulation errors are consistent, user-actionable and deterministic
- Duplicate submits with same idempotency key return identical outcomes
- Create branch-preview module with LRU cache and TTL support
- Implement public endpoint GET /preview/:branchName for fetching preview config
- Add admin endpoints for managing preview mappings
- Add audit logging for all admin operations
- Create database migration for branch_preview_environments table
- Add unit tests for core service functionality
- Add fallback URL environment variables for unknown branches
- Integrate module into main application
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

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

@Cedarich Cedarich merged commit dc2708c into Pulsefy:main Jun 29, 2026
2 checks passed
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-61: Testnet Wallet Funding Queue BE-58: Branch Preview Environment Resolver API

3 participants