Skip to content

Conversation

stmontgomery
Copy link
Contributor

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:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

Fixes rdar://146284519

…ot to avoid decoding error in clients

Fixes rdar://146284519
@stmontgomery stmontgomery added bug 🪲 Something isn't working tools integration 🛠️ Integration of swift-testing into tools/IDEs workaround Workaround for an issue in another component (may need to revert later) labels Mar 13, 2025
@stmontgomery stmontgomery added this to the Swift 6.2 milestone Mar 13, 2025
@stmontgomery stmontgomery self-assigned this Mar 13, 2025
@stmontgomery
Copy link
Contributor Author

@swift-ci please test

@stmontgomery stmontgomery merged commit cabf4d4 into swiftlang:main Mar 13, 2025
3 checks passed
@stmontgomery stmontgomery deleted the plan-run-options-coding branch March 13, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working tools integration 🛠️ Integration of swift-testing into tools/IDEs workaround Workaround for an issue in another component (may need to revert later)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants