Repository navigation
Commit 13bdaae
fix(iris): Leads returned 400 on every board that had leads
Expected string | undefined, got {"source":null} at ["leads"][0]["keywords"]
`keywords` comes back as an OBJECT on some rows. The mapper handled arrays and
scalars and passed everything else through untouched, the response schema
rejected it, and Effect failed the WHOLE request — 50 leads lost to one field on
one row.
MEASURED across all 25 boards: 4 return 400, 21 return 200 with zero leads. The
21 are not working — they are empty. Every board that has leads is broken, and
every board that is fine has nothing to show. That is why nobody caught it: an
empty list and a voided response render the same pane, so the surface looked
healthy everywhere anyone clicked.
anomalyco#679 Richard's Signal · anomalyco#662 KMG · anomalyco#657 ReachR · anomalyco#641 Pathways Engagement
Fixed at the boundary and for all SEVEN string fields, not just the one that was
caught — status, company, email, type, city, country and keywords were passed
through with the same `?? undefined`, and nothing distinguishes keywords except
that someone loaded a board that exercised it.
`{"source": null}` carries no information, so it coerces to undefined rather than
"[object Object]".
After: 679→1, 662→1, 657→2, 641→1, with keywords reading "existing-contact"
rather than failing the request.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01JwiqN8M84qimu1TjZGSsdQ1 parent b32b8cf commit 13bdaae
2 files changed
Lines changed: 87 additions & 8 deletions
| 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 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
671 | 712 | | |
672 | 713 | | |
673 | 714 | | |
| |||
684 | 725 | | |
685 | 726 | | |
686 | 727 | | |
687 | | - | |
688 | | - | |
689 | | - | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
690 | 731 | | |
691 | 732 | | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
696 | 737 | | |
697 | | - | |
| 738 | + | |
698 | 739 | | |
699 | 740 | | |
700 | 741 | | |
| |||
0 commit comments