SurfSense/surfsense_backend/app/automations
CREDO23 c0232fdcfe refactor(automations): park manual trigger pending Run-now redesign
Manual-as-a-standalone-trigger conflates "user clicks Run now" with the
trigger model and forces ad-hoc input plumbing on the caller. Remove the
unreachable surface so the tree reflects reality (schedule is the only
v1 trigger).

- Unregister `manual`: drop import from triggers/__init__.py
- Delete `app/automations/triggers/manual/`
- Drop `RunService.dispatch_manual` (RunService is now read-only)
- Drop `POST /automations/{id}/run` and `RunDispatched` schema
- Keep `TriggerType.MANUAL` Python + PG enum value (reserved, documented)
  to avoid an Alembic round-trip when Run-now is redesigned
2026-05-27 22:29:51 +02:00
..
actions feat(automations): static_inputs on triggers + vertical-slice api/services 2026-05-27 21:21:43 +02:00
api refactor(automations): park manual trigger pending Run-now redesign 2026-05-27 22:29:51 +02:00
dispatch feat(automations): static_inputs on triggers + vertical-slice api/services 2026-05-27 21:21:43 +02:00
persistence refactor(automations): park manual trigger pending Run-now redesign 2026-05-27 22:29:51 +02:00
runtime feat(automations): static_inputs on triggers + vertical-slice api/services 2026-05-27 21:21:43 +02:00
schemas refactor(automations): park manual trigger pending Run-now redesign 2026-05-27 22:29:51 +02:00
services refactor(automations): park manual trigger pending Run-now redesign 2026-05-27 22:29:51 +02:00
tasks feat(automations): static_inputs on triggers + vertical-slice api/services 2026-05-27 21:21:43 +02:00
templating feat(automations): static_inputs on triggers + vertical-slice api/services 2026-05-27 21:21:43 +02:00
triggers refactor(automations): park manual trigger pending Run-now redesign 2026-05-27 22:29:51 +02:00
__init__.py chore(automation): trim docstrings to intent only 2026-05-26 23:01:22 +02:00