A create reconcile gives up after three database errors and leaves the site pending until the next boot #248

Open
opened 2026-10-22 06:46:30 +00:00 by cgalo5758 · 0 comments
Owner

What happens

ReconcileFedWikiSiteCreateWorkflow loads its request and, when the farm holds no site, releases the create's reservation. Both steps run with LocalActivityOptions, which allow three attempts. A database outage longer than that fails the run, and the request stays accepted with its name and slot held; the member's row shows Pending. Startup settles requests at boot and about two minutes later, and after that nothing starts the reconcile again until the next boot.

What should happen

Both steps retry without an attempt limit, as the status reconcile's load does (statusLoadActivityOptions), and keep their non-retryable errors. Replay does not compare retry policies, so the recorded histories replay unchanged.

Where

internal/integrations/fedwiki/workflows/requests.go (ReconcileFedWikiSiteCreateWorkflow), internal/integrations/fedwiki/workflows/workflow.go (LocalActivityOptions)

Why it matters

A member's create waits on a restart nobody schedules.

### What happens `ReconcileFedWikiSiteCreateWorkflow` loads its request and, when the farm holds no site, releases the create's reservation. Both steps run with `LocalActivityOptions`, which allow three attempts. A database outage longer than that fails the run, and the request stays accepted with its name and slot held; the member's row shows Pending. Startup settles requests at boot and about two minutes later, and after that nothing starts the reconcile again until the next boot. ### What should happen Both steps retry without an attempt limit, as the status reconcile's load does (`statusLoadActivityOptions`), and keep their non-retryable errors. Replay does not compare retry policies, so the recorded histories replay unchanged. ### Where `internal/integrations/fedwiki/workflows/requests.go` (`ReconcileFedWikiSiteCreateWorkflow`), `internal/integrations/fedwiki/workflows/workflow.go` (`LocalActivityOptions`) ### Why it matters A member's create waits on a restart nobody schedules.
cgalo5758 added the
kind
bug
area/fedwiki
labels 2026-10-22 06:46:30 +00:00
Sign in to join this conversation.
No labels area/fedwiki
kind
bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wiki-cafe/member-console#248