Skip to content

Commit 6c065d4

Browse files
author
Elrond
committed
docs(buzz-db): note unmatched-claim false return on attach
Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
1 parent 612ccc6 commit 6c065d4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎crates/buzz-db/src/store/workflow.rs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,10 @@ pub async fn latest_scheduled_workflow_fire(
590590
/// spawning execution. If run creation fails, leaving `workflow_run_id` NULL is
591591
/// intentional: the schedule instant was claimed and must not duplicate later.
592592
///
593-
/// Returns `false` when the run is missing or belongs to another workflow.
594-
/// Workflow delete removes only its own fires before its runs, and the fire→run
595-
/// FK is NO ACTION, so a cross-workflow link would block that delete.
593+
/// Returns `false` when no unlinked claim matches, or the run is missing or
594+
/// belongs to another workflow. Workflow delete removes only its own fires
595+
/// before its runs, and the fire→run FK is NO ACTION, so a cross-workflow link
596+
/// would block that delete.
596597
pub async fn attach_scheduled_workflow_run(
597598
pool: &PgPool,
598599
community_id: CommunityId,

0 commit comments

Comments
 (0)