Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Dec 4, 2025

This PR ensures that the JSON schema version 6.3 is considered "supported" in Swift Testing 6.3. As well, it suppresses a thrown error when the version field of a JSON record is slightly higher than the expected schema. For example, if we ask Swift Testing the ABI version corresponding to VersionNumber(6, 3, 1), we'll get back v6_3, but then if we try to decode a JSON record whose version field equals "6.3.1", we'll throw a version mismatch error. This error is now suppressed unless the versions really do mismatch.

Checklist:

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

…ersion numbers are permitted.

This PR ensures that the JSON schema version 6.3 is considered "supported" in Swift Testing 6.3. As well, it suppresses a thrown error when the `version` field of a JSON record is slightly higher than the expected schema. For example, if we ask Swift Testing the ABI version corresponding to `VersionNumber(6, 3, 1)`, we'll get back `v6_3`, but then if we try to decode a JSON record whose `version` field equals `"6.3.1"`, we'll throw a version mismatch error. This error is now suppressed unless the versions really do mismatch.
@grynspan grynspan added this to the Swift 6.3.0 milestone Dec 4, 2025
@grynspan grynspan self-assigned this Dec 4, 2025
@grynspan grynspan added the bug 🪲 Something isn't working label Dec 4, 2025
@grynspan grynspan requested a review from jerryjrchen as a code owner December 4, 2025 20:58
@grynspan grynspan added the tools integration 🛠️ Integration of swift-testing into tools/IDEs label Dec 4, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants