Commit 6088b1b
committed
chore: temporary stack-trace diagnostic for base DATE._stringify
Adds a gated (CADT_DATE_STRINGIFY_DIAG=1) stack-trace logger on the
patched base _stringify, capped at 8 invocations per process so it
can't spam logs or disk. Enabled in the V1 and V2 live-api Start-CADT
steps so one CI run captures the full call stack for whatever
Sequelize internal path is reaching the base serialiser on a mysql
attribute type despite the mysql.DATE subclass being wired up.
Remove this commit after the root cause is understood and the
explanatory comment in src/config/config.js is updated with the
concrete Sequelize call site.1 parent 9571d6e commit 6088b1b
2 files changed
Lines changed: 60 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
317 | 325 | | |
318 | 326 | | |
319 | 327 | | |
320 | 328 | | |
321 | 329 | | |
322 | | - | |
| 330 | + | |
323 | 331 | | |
324 | 332 | | |
325 | 333 | | |
| |||
842 | 850 | | |
843 | 851 | | |
844 | 852 | | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
845 | 861 | | |
846 | 862 | | |
847 | 863 | | |
848 | 864 | | |
849 | 865 | | |
850 | 866 | | |
851 | 867 | | |
852 | | - | |
| 868 | + | |
853 | 869 | | |
854 | 870 | | |
855 | 871 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
35 | 51 | | |
36 | 52 | | |
37 | 53 | | |
38 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
39 | 81 | | |
40 | 82 | | |
41 | 83 | | |
| |||
0 commit comments