Commit 01034aa
fix: address review comments in PR #25948 integrity-reactions feature
- Move validateIntegrityReactions after MergeFeatures in both
compiler_string_api.go and compiler_orchestrator_workflow.go so
imported feature flags are visible during validation
- Add semverutil.IsValid() guard in mcpgSupportsIntegrityReactions
to safely handle non-semver strings (branch names, etc.)
- Extend min-integrity requirement to all 4 integrity-reactions fields
- Fix error message to show correct YAML multi-line format
- Update tests to reflect new behavior
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/c9ae237b-f229-4918-98e7-7d057c6618ca
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>1 parent 1a75cd6 commit 01034aa
File tree
5 files changed
+47
-25
lines changed- pkg/workflow
5 files changed
+47
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 115 | | |
125 | 116 | | |
126 | 117 | | |
| |||
155 | 146 | | |
156 | 147 | | |
157 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 153 | | |
163 | 154 | | |
164 | 155 | | |
| |||
178 | 169 | | |
179 | 170 | | |
180 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
344 | 349 | | |
345 | 350 | | |
346 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
698 | 714 | | |
699 | 715 | | |
700 | 716 | | |
| |||
878 | 894 | | |
879 | 895 | | |
880 | 896 | | |
881 | | - | |
| 897 | + | |
882 | 898 | | |
883 | 899 | | |
884 | 900 | | |
885 | 901 | | |
886 | 902 | | |
887 | 903 | | |
888 | 904 | | |
889 | | - | |
| 905 | + | |
| 906 | + | |
890 | 907 | | |
891 | 908 | | |
892 | 909 | | |
| |||
0 commit comments