Commit aadc3fa
fix(budpipeline): address review feedback from Gemini and Codex
- Fix Decimal serialization: add _DecimalEncoder for json.dumps in publisher
(Gemini medium: Decimal objects not JSON-serializable for step events)
- Propagate subscriber_ids/payload_type to workflow-level events via
update_execution_status and _publish_execution_event
(Codex P1: workflow completed/failed/progress notifications missing dual-publish)
- Remove redundant DB query in update_step_status: pass subscriber_ids/payload_type
as params from caller instead of re-fetching execution per step
(Gemini medium: performance issue with N+1 queries)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fbb6fd7 commit aadc3fa
File tree
3 files changed
+47
-6
lines changed- services/budpipeline/budpipeline
- pipeline
- progress
3 files changed
+47
-6
lines changedLines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
| 245 | + | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| |||
256 | 258 | | |
257 | 259 | | |
258 | 260 | | |
| 261 | + | |
| 262 | + | |
259 | 263 | | |
260 | 264 | | |
261 | 265 | | |
| |||
299 | 303 | | |
300 | 304 | | |
301 | 305 | | |
| 306 | + | |
| 307 | + | |
302 | 308 | | |
303 | 309 | | |
304 | 310 | | |
| |||
330 | 336 | | |
331 | 337 | | |
332 | 338 | | |
| 339 | + | |
| 340 | + | |
333 | 341 | | |
334 | 342 | | |
335 | 343 | | |
| |||
342 | 350 | | |
343 | 351 | | |
344 | 352 | | |
| 353 | + | |
| 354 | + | |
345 | 355 | | |
346 | 356 | | |
347 | 357 | | |
| |||
350 | 360 | | |
351 | 361 | | |
352 | 362 | | |
| 363 | + | |
| 364 | + | |
353 | 365 | | |
354 | 366 | | |
355 | 367 | | |
356 | 368 | | |
357 | 369 | | |
358 | 370 | | |
| 371 | + | |
| 372 | + | |
359 | 373 | | |
360 | 374 | | |
361 | 375 | | |
| |||
382 | 396 | | |
383 | 397 | | |
384 | 398 | | |
| 399 | + | |
| 400 | + | |
385 | 401 | | |
386 | 402 | | |
387 | 403 | | |
| |||
402 | 418 | | |
403 | 419 | | |
404 | 420 | | |
| 421 | + | |
| 422 | + | |
405 | 423 | | |
406 | 424 | | |
407 | 425 | | |
| |||
433 | 451 | | |
434 | 452 | | |
435 | 453 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | 454 | | |
440 | 455 | | |
441 | 456 | | |
| |||
445 | 460 | | |
446 | 461 | | |
447 | 462 | | |
448 | | - | |
449 | | - | |
| 463 | + | |
| 464 | + | |
450 | 465 | | |
451 | 466 | | |
452 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
| 782 | + | |
| 783 | + | |
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
| |||
867 | 869 | | |
868 | 870 | | |
869 | 871 | | |
| 872 | + | |
| 873 | + | |
870 | 874 | | |
871 | 875 | | |
872 | 876 | | |
| |||
902 | 906 | | |
903 | 907 | | |
904 | 908 | | |
| 909 | + | |
| 910 | + | |
905 | 911 | | |
906 | 912 | | |
907 | 913 | | |
| |||
1066 | 1072 | | |
1067 | 1073 | | |
1068 | 1074 | | |
| 1075 | + | |
| 1076 | + | |
1069 | 1077 | | |
1070 | 1078 | | |
1071 | 1079 | | |
| |||
1129 | 1137 | | |
1130 | 1138 | | |
1131 | 1139 | | |
| 1140 | + | |
| 1141 | + | |
1132 | 1142 | | |
1133 | 1143 | | |
1134 | 1144 | | |
| |||
1196 | 1206 | | |
1197 | 1207 | | |
1198 | 1208 | | |
| 1209 | + | |
| 1210 | + | |
1199 | 1211 | | |
1200 | 1212 | | |
1201 | 1213 | | |
| |||
1236 | 1248 | | |
1237 | 1249 | | |
1238 | 1250 | | |
| 1251 | + | |
| 1252 | + | |
1239 | 1253 | | |
1240 | 1254 | | |
1241 | 1255 | | |
| |||
1255 | 1269 | | |
1256 | 1270 | | |
1257 | 1271 | | |
| 1272 | + | |
| 1273 | + | |
1258 | 1274 | | |
1259 | 1275 | | |
1260 | 1276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
353 | 363 | | |
354 | 364 | | |
355 | 365 | | |
356 | | - | |
| 366 | + | |
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| |||
0 commit comments