Skip to content
Recued
Menu
← Back to recipes

GitHub issue comment closure watcher

by recued-core v1

Scheduled adopter for GitHub issue comment closure rows seeded by comment-github-issue-with-closure. It lists only Recued-originated issue-comment watches, re-reads a bounded batch of GitHub issue, and closes the shared row when GitHub reports that issue closed. It can notify the owner on closure, but it never creates, updates, closes, reopens, deletes, transfers, labels, assigns, locks, comments on, or otherwise mutates GitHub issues.

Complete workflow

Workflow pack for Recued-created GitHub issue comments. It composes the GitHub capability pack with a closure ledger: add one owner-approved Markdown comment to an existing GitHub issue, persist only the connection/repository/issue/comment linkage in data.shared, and let a scheduled watcher re-read that exact issue until GitHub reports it closed. This pack does not replace GitHub issue comments, native notifications, issue state controls, project boards, milestones, webhooks, or general issue reporting; it adds Recued-visible closure state for issue comments Recued created.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

GitHub issue comment closure watcher
This recipe Background automation

Scheduled adopter for GitHub issue comment closure rows seeded by comment-github-issue-with-closure. It lists only Recued-originated issue-comment watches, re-reads a bounded batch of GitHub issue, and closes the shared row when GitHub reports that issue closed. It can notify the owner on closure, but it never creates, updates, closes, reopens, deletes, transfers, labels, assigns, locks, comments on, or otherwise mutates GitHub issues.

githubissuescommentsdeveloper-workflow
by recued-core pinned v1

Workflow origin for the GitHub issue comment closure loop. It reads one GitHub issue and current comments for context, creates exactly one owner-provided Markdown comment through recued-core.github-pack.issue.comment, and when the comment succeeds it seeds durable data.shared closure state for github-issue-comment-closure-watcher. It uses deterministic owner-provided copy rather than AI and does not create, update, close, reopen, delete, transfer, label, assign, lock, or otherwise mutate GitHub issues. It skips pull-request-shaped issue reads so code review remains on GitHub's pull request surfaces.

githubissuescommentsdeveloper-workflow
by recued-core pinned v1

Low-frequency timeout role for recued-core/github-issue-comment-closure. It moves a bounded batch of expired rows from active to timed_out, deletes the active copy only after the durable timeout write succeeds, and notifies the owner once per batch.

githubwatchertimeoutowner-review
by recued-core pinned v1

Owner-visible list/close role for recued-core/github-issue-comment-closure. It lists bounded active, timed-out, and closed rows. Supplying a timed-out or closed key deletes only that exact terminal row; active watches cannot be deleted here.

githubwatcherreviewclose
by recued-core pinned v1
View pack details, dependencies, and permissions →
How it works 83 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Data fetch
shared_issue_watches ?
Process (82 steps)
now date_add
Add 0 days to
watch_rows filter
Filter by condition
watch_rows_for_connection filter
Filter by condition
watch_rows_with_repo filter
Filter by condition
watch_rows_with_issue filter
Filter by condition
never_checked_watch_rows filter
Filter by condition
checked_watch_rows filter
Filter by condition
checked_watch_rows_oldest_first sort
Sort by value.last_checked_at
fair_watch_rows flatten
Flatten nested lists in
candidate_rows slice
Take a subset of
batch_count count
Count items in candidate rows
candidate_count count
Count items in watch rows with issue
has_candidate compare
Check if candidate rows has data
has_connection compare
Check if setting github has data
skip_issue_read any
Check if any of the conditions are true
batch_context_envelopes merge
Combine objects together
batch_contexts map
Extract from each item
issue ?
skip: step.skip_issue_read equal true
issue_live_batch_context pick
Keep only specific fields from
issue_batch_context_envelopes merge
Combine objects together
issue_batch_contexts map
Extract from each item
state default
Apply default
state_live_batch_context pick
Keep only specific fields from
state_batch_context_envelopes merge
Combine objects together
state_batch_contexts map
Extract from each item
has_issue_state compare
Check if item state has data
has_issue_state_live_batch_context pick
Keep only specific fields from
has_issue_state_batch_context_envelopes merge
Combine objects together
has_issue_state_batch_contexts map
Extract from each item
issue_closed compare
Check if item state equals closed
issue_closed_live_batch_context pick
Keep only specific fields from
issue_closed_batch_context_envelopes merge
Combine objects together
issue_closed_batch_contexts map
Extract from each item
closed_at default
Apply default
closed_at_live_batch_context pick
Keep only specific fields from
closed_at_batch_context_envelopes merge
Combine objects together
closed_at_batch_contexts map
Extract from each item
state_reason default
Apply default
state_reason_live_batch_context pick
Keep only specific fields from
state_reason_batch_context_envelopes merge
Combine objects together
state_reason_batch_contexts map
Extract from each item
skip_close any
Check if any of the conditions are true
skip_close_live_batch_context pick
Keep only specific fields from
skip_close_batch_context_envelopes merge
Combine objects together
skip_close_batch_contexts map
Extract from each item
closed_watch_key replace
Replace text in item watch key
closed_watch_key_live_batch_context pick
Keep only specific fields from
closed_watch_key_batch_context_envelopes merge
Combine objects together
closed_watch_key_batch_contexts map
Extract from each item
close_watch ?
skip: item.skip_close equal true
close_watch_live_batch_context pick
Keep only specific fields from
close_watch_batch_context_envelopes merge
Combine objects together
close_watch_batch_contexts map
Extract from each item
delete_closed_active_watch ?
skip: item.close_watch.ok not_equal true
delete_closed_active_watch_live_batch_context pick
Keep only specific fields from
delete_closed_active_watch_batch_context_envelopes merge
Combine objects together
delete_closed_active_watch_batch_contexts map
Extract from each item
notify_enabled compare
Check if setting notify when closed equals true
notify_enabled_live_batch_context pick
Keep only specific fields from
notify_enabled_batch_context_envelopes merge
Combine objects together
notify_enabled_batch_contexts map
Extract from each item
should_notify all
Check if all conditions are true
should_notify_live_batch_context pick
Keep only specific fields from
should_notify_batch_context_envelopes merge
Combine objects together
should_notify_batch_contexts map
Extract from each item
notify_owner ?
skip: item.should_notify not_equal true
notify_owner_live_batch_context pick
Keep only specific fields from
notify_owner_batch_context_envelopes merge
Combine objects together
notify_owner_batch_contexts map
Extract from each item
refreshed_watch_value merge
Combine objects together
skip: item.delete_closed_active_watch.ok equal true
refreshed_watch_value_live_batch_context pick
Keep only specific fields from
refreshed_watch_value_batch_context_envelopes merge
Combine objects together
refreshed_watch_value_batch_contexts map
Extract from each item
refresh_active_watch ?
skip: item.delete_closed_active_watch.ok equal true
refresh_active_watch_live_batch_context pick
Keep only specific fields from
refresh_active_watch_batch_context_envelopes merge
Combine objects together
refresh_active_watch_batch_contexts map
Extract from each item
closed_batch_rows filter
Filter by condition
refreshed_batch_rows filter
Filter by condition
closed_batch_count count
Count items in closed batch rows
refreshed_batch_count count
Count items in refreshed batch rows
summary to_summary
Format results as a summary card
Settings 4 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

github setting =
channels setting = in_app
batch limit setting = 5
notify when closed setting = true

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Send notificationsRead your Github connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

Data it touches

Warehousedata.shared

About

Tags

github githubissuescommentsdeveloper-workflowclosurenotificationclosed-loopstate:github-issue-comment-closure-watcherpack:github-issue-comment-closure

Details

83 steps 4 configurable settings recipe_id: github-issue-comment-closure-watcher