Commit 01e124d
authored
The `notify` executor tolerated a second spelling of its click-through target with
a bare `cfg.sourceObject ?? src?.object`. Its own doc comment named
`sourceObject`/`sourceId` canonical (they mirror the `sys_notification.source_object`
/`source_id` columns), so the nested `source: { object, id }` form was an alias held
up by exactly the mechanism Prime Directive #12 calls debt — and the one alias on
this executor that #3796 missed.
Graduated like `filters` → `filter` (#2645) and `object` → `objectName` (#3796):
lifted onto the canonical pair at load, including the registerFlow rehydration seam,
and the executor fallback deleted.
Unlike the four renames this is a 1→2 destructuring, so it is a small custom
transform on the existing entry (same window — retires at 18). It mirrors the old
`??` precedence: a canonical key already present WINS and its nested counterpart is
left shadowed; `source` is dropped once at least one part is lifted; a non-dict
`source`, or one carrying neither key, is left untouched.
The pre-existing nested-source executor test now proves the CONVERSION rather than
executor tolerance — verified by disabling the lift, which makes it fail.
1 parent 3eb776a commit 01e124d
6 files changed
Lines changed: 132 additions & 17 deletions
File tree
- .changeset
- docs
- packages
- services/service-automation/src/builtin
- spec
- src/conversions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 99 | + | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
962 | | - | |
| 962 | + | |
| 963 | + | |
963 | 964 | | |
964 | | - | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
965 | 1003 | | |
966 | 1004 | | |
967 | | - | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
968 | 1008 | | |
969 | 1009 | | |
970 | 1010 | | |
| |||
980 | 1020 | | |
981 | 1021 | | |
982 | 1022 | | |
983 | | - | |
| 1023 | + | |
| 1024 | + | |
984 | 1025 | | |
985 | | - | |
| 1026 | + | |
986 | 1027 | | |
987 | 1028 | | |
988 | 1029 | | |
| |||
993 | 1034 | | |
994 | 1035 | | |
995 | 1036 | | |
| 1037 | + | |
996 | 1038 | | |
997 | 1039 | | |
998 | 1040 | | |
| |||
1010 | 1052 | | |
1011 | 1053 | | |
1012 | 1054 | | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1013 | 1068 | | |
1014 | 1069 | | |
1015 | 1070 | | |
| |||
1031 | 1086 | | |
1032 | 1087 | | |
1033 | 1088 | | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1034 | 1100 | | |
1035 | 1101 | | |
1036 | 1102 | | |
1037 | 1103 | | |
1038 | 1104 | | |
1039 | 1105 | | |
1040 | | - | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1041 | 1109 | | |
1042 | 1110 | | |
1043 | 1111 | | |
| |||
0 commit comments