Skip to content

[QuartzComposer] Replace RSS-related field bindings with manual code that returns null.#25271

Open
rolfbjarne wants to merge 2 commits intomainfrom
dev/rolf/quartzcomposer-removed-fields
Open

[QuartzComposer] Replace RSS-related field bindings with manual code that returns null.#25271
rolfbjarne wants to merge 2 commits intomainfrom
dev/rolf/quartzcomposer-removed-fields

Conversation

@rolfbjarne
Copy link
Copy Markdown
Member

These fields (QCCompositionInputRSSArticleDurationKey,
QCCompositionInputRSSFeedURLKey, QCCompositionProtocolRSSVisualizer) have not
been available at runtime since macOS 10.13 (which we no longer support), so
remove them with manual code (that returns null) and obsolete them.

…that returns null.

These fields (QCCompositionInputRSSArticleDurationKey,
QCCompositionInputRSSFeedURLKey, QCCompositionProtocolRSSVisualizer) have not
been available at runtime since macOS 10.13 (which we no longer support), so
remove them with manual code (that returns null) and obsolete them.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 28, 2026 10:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the QuartzComposer bindings to handle three RSS-related QuartzComposer field constants that are no longer available at runtime on supported macOS versions by moving them to manual bindings that always return null, and updating introspection expectations accordingly.

Changes:

  • Removed the RSS-related [Field] entries from src/quartzcomposer.cs and replaced them with markers indicating manual bindings.
  • Added a new manual partial QCComposition implementation that returns null for the affected fields and obsoletes them.
  • Updated the macOS field introspection skip list (but currently in a way that will likely break the FieldExists test).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tests/introspection/MacApiFieldTest.cs Adjusts which native field symbols are skipped during introspection validation.
src/quartzcomposer.cs Removes the bgen [Field] bindings for the RSS-related constants and indicates manual handling.
src/frameworks.sources Adds the new QuartzComposer manual source file to the build inputs.
src/QuartzComposer/QCComposition.cs Introduces manual, obsolete, always-null properties for the removed RSS-related fields.

Comment on lines +16 to +18
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Field ("QCCompositionInputRSSArticleDurationKey", "QuartzComposer")]
[ObsoletedOSPlatform ("macos10.14", "Use 'Metal' instead.")]
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving the [Field] attribute on these manual properties means the introspection FieldExists test will still try to resolve the native symbol via dlsym. If the symbol is intentionally absent on supported macOS, either remove the [Field] attribute (so it won't be validated as a native field), or keep [Field] and ensure MacApiFieldTest.Skip treats these symbol names as expected-missing.

Copilot uses AI. Check for mistakes.
Comment thread tests/introspection/MacApiFieldTest.cs
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [PR Build #36adb73] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 36adb7313e237e430642fffda31a05a5a8fba39a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [PR Build #36adb73] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 36adb7313e237e430642fffda31a05a5a8fba39a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 36adb7313e237e430642fffda31a05a5a8fba39a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [CI Build #36adb73] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 36adb7313e237e430642fffda31a05a5a8fba39a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

🔥 [CI Build #36adb73] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 2 tests failed, 154 tests passed.

Failures

❌ interdependent-binding-projects tests

2 tests failed, 2 tests passed.

Failed tests

  • interdependent-binding-projects/iOS - simulator/Debug: LaunchTimedOut
  • interdependent-binding-projects/tvOS - simulator/Debug: LaunchTimedOut

Html Report (VSDrops) Download

Successes

✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 12 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 11 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 36adb7313e237e430642fffda31a05a5a8fba39a [PR build]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants