Repository navigation
Commit 33069ac
committed
fix: align validate endpoint and list filters with unrendered templates
- Make /controls/validate mirror create: incomplete template values
validate structure only (returns 200) instead of forcing a full render
that rejects missing params. Use the render preview endpoint to check
renderability.
- Exclude unrendered templates from list filters that reference
rendered-only fields (execution, step_type, stage, tag). Unrendered
templates still appear in unfiltered listings and template_backed
filter.
- Update validate test to expect 200 for incomplete values
- Add test: validate rejects structurally invalid unrendered templates
- Add test: unrendered templates excluded from rendered-field filters
but included in unfiltered listings1 parent 52604c8 commit 33069ac
2 files changed
Lines changed: 67 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
692 | 689 | | |
693 | 690 | | |
694 | 691 | | |
| |||
769 | 766 | | |
770 | 767 | | |
771 | 768 | | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
772 | 775 | | |
773 | 776 | | |
774 | 777 | | |
| |||
817 | 820 | | |
818 | 821 | | |
819 | 822 | | |
| 823 | + | |
| 824 | + | |
820 | 825 | | |
821 | 826 | | |
822 | 827 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
998 | | - | |
999 | | - | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
1000 | 1017 | | |
1001 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1002 | 1022 | | |
1003 | | - | |
| 1023 | + | |
1004 | 1024 | | |
1005 | 1025 | | |
1006 | | - | |
| 1026 | + | |
1007 | 1027 | | |
1008 | 1028 | | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
| 1029 | + | |
1015 | 1030 | | |
1016 | 1031 | | |
1017 | 1032 | | |
| |||
1738 | 1753 | | |
1739 | 1754 | | |
1740 | 1755 | | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
1741 | 1787 | | |
1742 | 1788 | | |
1743 | 1789 | | |
| |||
0 commit comments