Skip to content

Fall back to internal URL standardization - #234

Merged
swhitty merged 2 commits into
mainfrom
huwr/xcode-27-bugfix
Aug 7, 2026
Merged

Fall back to internal URL standardization#234
swhitty merged 2 commits into
mainfrom
huwr/xcode-27-bugfix

Conversation

@huwr

@huwr huwr commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

The tests failed on Xcode 27 because of a change in URL standardisation behaviour. swiftlang/swift-foundation#1942 changed it. Perhaps the new implementation is more correct, but it is inconsistent with the other implementations in FlyingFox which support other OS versions.

For appleOS 27.0 and above, I have changed it to fall back to the internal URL standardization, which itself was taken from FoundationEssentails before they changed it in the above PR.

AFAICT this is the only failing test on macOS 27.0 (so far…………)

Does it break in macOS 26? Hopefully not.

…1942 changed how URL standardization worked in macOS 27.0. Perhaps the new implementation is more correct, but it is inconsistent with the other implementations o_O

For appleOS 27.0 and above, I have changed it to fall back to the internal URL standardization, which itself was taken from FoundationEssentails before they changed it in the above PR.

AFAICT this is the only failing test.
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.00%. Comparing base (a00df7a) to head (6a80583).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
+ Coverage   92.98%   93.00%   +0.02%     
==========================================
  Files          72       72              
  Lines        3748     3748              
==========================================
+ Hits         3485     3486       +1     
+ Misses        263      262       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Using version checks with `anyAppleOS` is not ready in this project since we must also support older Xcode versions, which have it under a feature flag.
@huwr
huwr requested a review from swhitty August 7, 2026 03:23
@swhitty
swhitty merged commit f928410 into main Aug 7, 2026
23 of 24 checks passed
@huwr
huwr deleted the huwr/xcode-27-bugfix branch August 7, 2026 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants