Skip to content

Sync fmsg-webapi DD script with main - #27

Merged
markmnl merged 1 commit into
mainfrom
sync-webapi-dd
Nov 26, 2026
Merged

markmnl merged 1 commit into
mainfrom
sync-webapi-dd

Conversation

@markmnl

@markmnl markmnl commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Summary

scripts/update-dd.sh against current main of fmsgd, fmsgid and fmsg-webapi. Only the fmsg-webapi copy had drifted:

The change is additive: 27 lines, one CREATE OR REPLACE FUNCTION. The fmsgd and fmsgid copies were already up to date.

Testing

  • scripts/update-dd.sh --check reports all three copies up to date.
  • Applied 002-fmsgd-dd.sql and then the new 003-fmsg-webapi-dd.sql (twice, to confirm it stays idempotent) to a fresh PostgreSQL 17 with ON_ERROR_STOP; both load and fmsg_api_delivery_pending can be called.

🤖 Generated with Claude Code

Adds fmsg_api_delivery_pending, which fmsg-webapi has used since its #59
to decide whether a message deleted for good can be removed from the host.
The fmsgd and fmsgid copies were already current.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@markmnl
markmnl merged commit 052073a into main Nov 26, 2026
1 check passed
@markmnl
markmnl deleted the sync-webapi-dd branch November 26, 2026 02:02
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.

1 participant