trypost/tests/Feature/Automation
Paulo Castellano a129b6b5cd Denormalize automation trigger_type into an indexed column
The scheduler command ran every minute and loaded all active automations,
then filtered by trigger_type in PHP because that value lived buried in the
nodes JSON array — effectively a full-table scan plus a JSON decode per row
each minute, discarding every non-schedule automation.

Derive trigger_type into a real, indexed column on save (recomputed in the
existing saving() hook so it can never drift from nodes) and filter on it in
SQL. Applies to both the schedule firer and the post-trigger dispatcher.
2026-06-13 15:26:54 -03:00
..
Automation Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
Command Denormalize automation trigger_type into an indexed column 2026-06-13 15:26:54 -03:00
Node Back fixed-set automation strings with enums and consts 2026-06-13 15:04:24 -03:00
Run Add expression autocomplete, side-panel editor, and richer HTTP fetch 2026-06-12 11:31:58 -03:00
Tree Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
Trigger Dispatch post-trigger automations asynchronously via job 2026-06-10 17:46:46 -03:00
AutomationCrudTest.php Tighten automation conventions: pagination, imports, i18n, enums 2026-06-13 13:59:52 -03:00
AutomationEncryptionTest.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
AutomationModelTest.php Denormalize automation trigger_type into an indexed column 2026-06-13 15:26:54 -03:00
DetailTabsTest.php Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
DryRunTest.php Add Workflow/Invocations/Metrics/Settings tabs to automations 2026-06-12 19:19:46 -03:00
GenerateNodeValidationTest.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
PauseHaltsRunsTest.php Harden automations module: full-post generation, reliable runs, editor UX 2026-06-10 20:45:01 -03:00
VariablesTest.php Enhance automation functionality: Introduce workflow variables and improve node validation 2026-06-11 15:47:29 -03:00