Commit 708979a
Address second round of PR review feedback
- Remove de-duplication of MTPProjects: the old CreateXUnitV3WorkItems
task didn't deduplicate either; defer to MSBuild item semantics and
keep the task minimal.
- Drop the TrxReportFilename defensive validation: MTP itself rejects
values containing path separators, so the redundant pre-check just
added complexity. Filename is still quoted in the emitted command so
spaces are safe.
- Simplify the timeout-parsing block to use 'out timeout' directly with
a default reset on failure (TimeSpan.TryParse zeroes the out var when
it fails).
- Shrink the MTPTrxReportFilename property documentation in the
targets file to a one-liner.
- Update tests: replace InvalidTrxReportFilenameIsRejected with
TrxReportFilenameIsPassedThroughVerbatim and replace
DuplicatesByIdentityAndAdditionalPropertiesAreCollapsed with
DuplicateInputsArePassedThroughAsSeparateWorkItems.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7403aea commit 708979a
3 files changed
Lines changed: 18 additions & 58 deletions
File tree
- src/Microsoft.DotNet.Helix
- Sdk.Tests/Microsoft.DotNet.Helix.Sdk.Tests
- Sdk
- tools/mtp-runner
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
99 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
147 | | - | |
| 150 | + | |
148 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
| |||
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
157 | | - | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 78 | + | |
88 | 79 | | |
89 | 80 | | |
90 | 81 | | |
| |||
113 | 104 | | |
114 | 105 | | |
115 | 106 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 107 | | |
129 | 108 | | |
130 | 109 | | |
131 | 110 | | |
132 | 111 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 112 | + | |
| 113 | + | |
149 | 114 | | |
150 | 115 | | |
151 | 116 | | |
| |||
158 | 123 | | |
159 | 124 | | |
160 | 125 | | |
161 | | - | |
| 126 | + | |
162 | 127 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 128 | + | |
| 129 | + | |
171 | 130 | | |
172 | 131 | | |
173 | 132 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 22 | + | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
| |||
0 commit comments