Skip to content

C# smoketest for IQuery views#4391

Merged
clockwork-labs-bot merged 4 commits intomasterfrom
joshua/fix/query-builder-cs
Feb 27, 2026
Merged

C# smoketest for IQuery views#4391
clockwork-labs-bot merged 4 commits intomasterfrom
joshua/fix/query-builder-cs

Conversation

@joshua-spacetime
Copy link
Collaborator

@joshua-spacetime joshua-spacetime commented Feb 22, 2026

Description of Changes

Updates Roslyn codegen to handle IQuery return type for views.

IQuery wasn't recognized before this change, which meant .Build() was still required for query builder views.

Note, we currently support the old Query return type which means we still support .Build(). I'm not sure if this was intended when IQuery was originally introduced, so I'm maintaining support for it until I can determine otherwise. cc @cloutiertyler.

This is now a test only change.

This patch introduces scaffolding for defining and running C# module smoketests. It also adds a new C# smoketest for anIQuery view.

API and ABI breaking changes

None

Expected complexity level and risk

2

Testing

A testing only change.

@joshua-spacetime joshua-spacetime added release-2.0 bugfix Fixes something that was expected to work differently labels Feb 22, 2026
@joshua-spacetime joshua-spacetime changed the title Fix IQuery return type for C# views Handle IQuery return type for C# views Feb 22, 2026
@joshua-spacetime
Copy link
Collaborator Author

.Build() is removed entirely in #4393 both in the module and in the client. This patch still is still beneficial though for it's test coverage and smoketest infra.

@joshua-spacetime
Copy link
Collaborator Author

Removing the release-2.0 label given #4393

@joshua-spacetime joshua-spacetime force-pushed the joshua/fix/query-builder-cs branch from 2b49db3 to 119b30d Compare February 26, 2026 17:56
@joshua-spacetime joshua-spacetime changed the title Handle IQuery return type for C# views C# smoketest for IQuery views Feb 26, 2026
@joshua-spacetime joshua-spacetime force-pushed the joshua/fix/query-builder-cs branch from 6e61697 to bdbb95f Compare February 26, 2026 20:32
Copy link
Contributor

@rekhoff rekhoff left a comment

Choose a reason for hiding this comment

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

Looks good to me. I've not ran the test locally, but given that it's a CI test, if it passes there that is sufficient. The test itself seems extremely strait forward.

@clockwork-labs-bot clockwork-labs-bot added this pull request to the merge queue Feb 26, 2026
Merged via the queue into master with commit e8a2d33 Feb 27, 2026
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes something that was expected to work differently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants