Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jul 25, 2025

Motivation

While conceptually it is possible for verifier policies to have isolated conformance, in practice the way PolicyBuilder is implemented makes that nearly impossible. Given that the utility of an isolated VerifierPolicy is very limited, let's just disallow it.

Modifications

Require VerifierPolicy to have a SendableMetatype

Result

Easier to build correct compositions over PolicyBuilder

@Lukasa Lukasa added the 🆕 semver/minor Adds new public API. label Jul 25, 2025
Motivation

While conceptually it is possible for verifier policies to
have isolated conformance, in practice the way PolicyBuilder is
implemented makes that nearly impossible. Given that the utility
of an isolated VerifierPolicy is very limited, let's just
disallow it.

Modifications

Require VerifierPolicy to have a SendableMetatype

Result

Easier to build correct compositions over PolicyBuilder
@Lukasa Lukasa force-pushed the cb-sendable-metatype branch from c4a2458 to 75d62cb Compare July 25, 2025 10:14
@Lukasa
Copy link
Contributor Author

Lukasa commented Aug 28, 2025

Merging over the API breakage checker, which is expected and wrong.

@Lukasa Lukasa merged commit 20c451f into apple:main Aug 28, 2025
40 of 41 checks passed
@Lukasa Lukasa deleted the cb-sendable-metatype branch August 28, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants