Skip to content

fix: create-flow scheduling race — AS action never registered#870

Merged
chubes4 merged 1 commit intomainfrom
fix/create-flow-scheduling-race
Mar 18, 2026
Merged

fix: create-flow scheduling race — AS action never registered#870
chubes4 merged 1 commit intomainfrom
fix/create-flow-scheduling-race

Conversation

@chubes4
Copy link
Member

@chubes4 chubes4 commented Mar 18, 2026

Bug

create-flow saved scheduling_config to DB first, then called handle_scheduling_update(). But that function reads the flow back, sees the interval is already set, and returns early ("nothing changed"). The AS recurring action was never created.

Fix

Create the flow with interval=manual, then let handle_scheduling_update() see the transition from manualdaily and register the AS action.

Impact

All 68 venue scraper flows created via extrachill/add-venue had no schedule until manually fixed. Closes #869.

The flow was created with scheduling_config already set (e.g. daily),
then handle_scheduling_update() was called to register the AS action.
But handle_scheduling_update reads the flow back from DB, sees the
interval is already 'daily', and returns early ('nothing changed').
Result: config saved but no AS recurring action created.

Fix: create the flow with interval=manual, then let
handle_scheduling_update() see the change from manual→daily and
properly register the AS action.
@chubes4 chubes4 merged commit 4dbdeb1 into main Mar 18, 2026
3 checks passed
@chubes4 chubes4 deleted the fix/create-flow-scheduling-race branch March 18, 2026 21:26
@github-actions
Copy link

github-actions bot commented Mar 18, 2026

Homeboy Results — data-machine

Lint

⚡ Scope: changed files only

lint (changed files only)

Test

⚡ Scope: changed files only

test (changed files only)

Audit

⚡ Scope: changed files only

audit (changed files only)

Tooling versions
  • Homeboy CLI: homeboy 0.81.1+e758b3b3
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: unknown
  • Action: Extra-Chill/homeboy-action@v1

Homeboy Action v1

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.

create-flow: scheduling_config saved but AS recurring action may not be created

1 participant