Skip to content

Commit b575f69

Browse files
committed
chore: add changeset for the flow-trigger-unknown-event lint rule
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018939yJ413zG3irLzcTtqaa
1 parent 6dcf2be commit b575f69

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@objectstack/lint": minor
3+
---
4+
5+
feat(lint): flag never-firing record trigger tokens at authoring time (#3427)
6+
7+
New `flow-trigger-unknown-event` rule in `validateFlowTriggerReadiness`: a flow
8+
start node whose `triggerType` is record-lifecycle-shaped
9+
(`record-before|after-<op>`) but names an op the record-change trigger cannot map
10+
— e.g. a typo like `record-after-updated` — binds to the record-change trigger
11+
yet maps to no ObjectQL hook and never fires, with only a runtime warning. The
12+
rule surfaces that never-fire defect at `os validate` time. Warning severity;
13+
bare `record-<noun>` shapes (e.g. `record-change`) are out of scope.

0 commit comments

Comments
 (0)