Commit 3cc149d
committed
fix: integrate AG-UI schema drift into auto-remediation pipeline
drift-report-collector clones canonical ag-ui repo via fs.existsSync,
runs schema drift test, merges into single report; exits 1 if skipped.
test-drift.yml notification distinguishes AG-UI vs HTTP drift; uses jq
for safe JSON. fix-drift.yml clones ag-ui, adds continue-on-error on
autofix with success() guard on PR creation, fixes Slack messaging.
fix-drift.ts: corrected agui-handler.ts references, SDK type in prompt,
flexible changelog title, ENOENT-specific catch, reordered badge checks,
exit code 4 for no-changes, version bump wrapped in try/catch.
Test coverage updated for BUILDER_TO_SKILL_SECTION and SDK type output.1 parent 11658f1 commit 3cc149d
5 files changed
Lines changed: 343 additions & 51 deletions
File tree
- .github/workflows
- scripts
- src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| 90 | + | |
86 | 91 | | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
| |||
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
121 | | - | |
122 | | - | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
149 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
150 | 158 | | |
151 | | - | |
| 159 | + | |
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
| |||
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
160 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
161 | 171 | | |
162 | | - | |
| 172 | + | |
163 | 173 | | |
164 | 174 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
70 | 80 | | |
71 | 81 | | |
72 | | - | |
73 | 82 | | |
74 | | - | |
| 83 | + | |
75 | 84 | | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
80 | | - | |
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
85 | | - | |
86 | | - | |
| 93 | + | |
| 94 | + | |
87 | 95 | | |
88 | | - | |
89 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
90 | 121 | | |
91 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
92 | 127 | | |
93 | | - | |
| 128 | + | |
94 | 129 | | |
95 | | - | |
| 130 | + | |
96 | 131 | | |
97 | 132 | | |
98 | 133 | | |
99 | | - | |
| 134 | + | |
100 | 135 | | |
101 | 136 | | |
102 | 137 | | |
103 | 138 | | |
104 | 139 | | |
105 | | - | |
| 140 | + | |
| 141 | + | |
106 | 142 | | |
107 | | - | |
| 143 | + | |
108 | 144 | | |
109 | 145 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| |||
0 commit comments