Commit cabf4d4
authored
Continue encoding value for deprecated property in runner plan snapshot to avoid decoding error in clients (#1023)
This fixes a regression in the encoding of the `Runner.Plan` snapshot
types, which can manifest when using Xcode 16.
### Motivation:
The `isParallelizationEnabled` property was deprecated and changed from
a stored property to a derived one in #901. That caused the value to no
longer be encoded in `Runner.Plan.Action.RunOptions`, which can cause
decoding errors in versions of Xcode which expect it to still be
present.
### Modifications:
- Manually implement `Codable` conformance for the affected type to
begin including a hardcoded value.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
Fixes rdar://1462845191 parent db50ace commit cabf4d4
1 file changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
350 | 373 | | |
351 | 374 | | |
352 | 375 | | |
| |||
0 commit comments