Skip to content

[#771] fix: run triggers for missed txs#1025

Merged
Klakurka merged 1 commit into
masterfrom
fix/send-triggers-after-downtime
Jul 26, 2025
Merged

[#771] fix: run triggers for missed txs#1025
Klakurka merged 1 commit into
masterfrom
fix/send-triggers-after-downtime

Conversation

@chedieck
Copy link
Copy Markdown
Collaborator

Related to #

Description

Solves #771.

Test plan

  1. Checkout the branch
  2. Create some trigger in the UI (email or POST, doesn't matter)
  3. docker stop paybutton-dev
  4. Make a tx to the address with the trigger
  5. docker start paybutton-dev
  6. Refresh localhost:3000, just to initiate the startup sequence and make sure container is already up
  7. Trigger should be activated (email / post request should arrive)

@Klakurka Klakurka requested review from Klakurka and Copilot July 22, 2025 17:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds trigger execution functionality for missed transactions during synchronization. When the system catches up on transactions that occurred while the service was down, triggers (like email notifications or POST requests) will now properly execute.

  • Adds a runTriggers parameter to sync methods to control trigger execution
  • Enables trigger execution specifically for missed transaction synchronization
  • Maintains backward compatibility by defaulting trigger execution to false for normal sync operations

Comment thread services/chronikService.ts
@Klakurka Klakurka merged commit 0d24815 into master Jul 26, 2025
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.

4 participants