Commit 1e27a26
authored
Update deploy script for composite sub-flows (#583)
* Update deploy script for composite sub-flows, fix materialize_snapshot FK order
- deploy_huey_flow.py: Deploy 3 sub-flows (profile, preferences,
recommendation) before the main flow, resolve composite_flow_seed_key
references to production UUIDs, add --skip-subflows flag
- flow_snapshot.py: Delete connections before nodes in materialize_snapshot
to respect FK constraints (connections reference nodes)
* Abort deploy when composite seed keys cannot be resolved
Unresolved composite_flow_seed_key references produce broken flows
at runtime. Fail fast instead of deploying silently broken state.1 parent 7ff67e5 commit 1e27a26
2 files changed
+475
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 159 | | |
172 | 160 | | |
173 | 161 | | |
| |||
184 | 172 | | |
185 | 173 | | |
186 | 174 | | |
187 | | - | |
| 175 | + | |
188 | 176 | | |
189 | | - | |
190 | 177 | | |
191 | 178 | | |
192 | 179 | | |
| |||
206 | 193 | | |
207 | 194 | | |
208 | 195 | | |
209 | | - | |
210 | 196 | | |
211 | 197 | | |
212 | 198 | | |
213 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
214 | 211 | | |
215 | 212 | | |
216 | 213 | | |
| |||
0 commit comments