Skip to content

fix(publisher): putting a lost clip back is not announced to Discord - #48

Merged
DarrellVS merged 1 commit into
devfrom
fix-restore-uploads-silent
Sep 23, 2026
Merged

DarrellVS merged 1 commit into
devfrom
fix-restore-uploads-silent

Conversation

@DarrellVS

Copy link
Copy Markdown
Owner

At every boot the desktop re-uploads any clip marked published that the publisher lacks. On a fresh or moved container that is the whole library, and each upload was announced to Discord as new. Restore uploads now send announce=0 and the publisher stays quiet for them. Older publishers ignore the field.

Found: 12 uploads in the first seconds of booting against a fresh local publisher.

Gates: discord-webhook-check.mjs 18 checks (new: a restore posts nothing); npm run check 849.

🤖 Generated with Claude Code

At every boot the desktop re-uploads any clip it holds as published that
the publisher does not have (`SyncPublisherAction`). On a fresh or moved
container that is the whole library at once, and every one of those
arrived as a first publish, so a Discord channel got a post per clip.
Found while standing up a local publisher for the hand test: twelve
uploads in the first seconds of boot.

The restore upload now carries `announce=0` and the publisher skips the
card for it. A normal publish sends nothing new; a publisher older than
this ignores the field.

`discord-webhook-check.mjs` gained the case: a restore with its poster
puts nothing in the channel. 18 checks, exit 0. `npm run check` 849.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@DarrellVS DarrellVS added this to the 3.5.0 milestone Sep 23, 2026
@DarrellVS DarrellVS added bug Something isn't working publisher The Express half, in Docker labels Sep 23, 2026
@DarrellVS DarrellVS self-assigned this Sep 23, 2026
@DarrellVS
DarrellVS merged commit 370d045 into dev Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working publisher The Express half, in Docker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant