feat: add branch preview environment resolver module#635
Merged
Cedarich merged 8 commits intoJun 29, 2026
Conversation
…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
|
@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! 🚀 |
Cedarich
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #542
Closes #545