Sync-created tasks should be added to the watch list automatically #19

Closed
opened 2026-06-07 19:39:53 +00:00 by victor · 0 comments
Owner

When next-forgejo sync creates a task from a Forgejo issue, the task is not added to the plugin watch list. This means the hook is never fired when the task changes, so closing a task does not immediately close the corresponding Forgejo issue — it only happens on the next periodic sync.

Expected behaviour

Tasks created by next-forgejo sync should be automatically watched by the next-forgejo plugin, so that the hook fires immediately when the task is updated (e.g. marked done) and the change is pushed to Forgejo without waiting for the next sync cycle.

Current behaviour

Sync-created tasks are not watched. The only way to propagate a status change back to Forgejo is to run next-forgejo sync manually or wait for the periodic sync.

When `next-forgejo sync` creates a task from a Forgejo issue, the task is not added to the plugin watch list. This means the hook is never fired when the task changes, so closing a task does not immediately close the corresponding Forgejo issue — it only happens on the next periodic sync. ## Expected behaviour Tasks created by `next-forgejo sync` should be automatically watched by the `next-forgejo` plugin, so that the hook fires immediately when the task is updated (e.g. marked done) and the change is pushed to Forgejo without waiting for the next sync cycle. ## Current behaviour Sync-created tasks are not watched. The only way to propagate a status change back to Forgejo is to run `next-forgejo sync` manually or wait for the periodic sync.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
victor/task-manager#19
No description provided.