Skip to content

Adding SDK Ergonomics Query link - #825

Open
Evanthx wants to merge 18 commits into
mainfrom
nexus-query
Open

Adding SDK Ergonomics Query link#825
Evanthx wants to merge 18 commits into
mainfrom
nexus-query

Conversation

@Evanthx

@Evanthx Evanthx commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Queries now have a backlink.

@Evanthx
Evanthx requested a review from a team as a code owner August 12, 2026 00:24
@Evanthx
Evanthx force-pushed the nexus-query branch 2 times, most recently from 119c340 to e9b047f Compare August 14, 2026 16:19

@jmaeagle99 jmaeagle99 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The PR description says "Queries now have a backlink.", but that's just one of three changes in this PR. There's also the URL format change and the error mapping change. Not sure they really are tied to the support for query backlinks. Might have made it faster to review if they were separate (if they truly are disconnected) so I didn't have to figure out that delineation. This will also make it harder to look back into history to discover which change was responsible for one of these three aspects.

Comment thread src/Temporalio/Worker/NexusWorker.cs Outdated
Comment thread src/Temporalio/Nexus/ProtoLinkExtensions.cs
Comment thread tests/Temporalio.Tests/Nexus/ProtoLinkExtensionsTests.cs
Comment thread tests/Temporalio.Tests/Nexus/ProtoLinkExtensionsTests.cs
Comment thread tests/Temporalio.Tests/Nexus/ProtoLinkExtensionsTests.cs Outdated
@jmaeagle99 jmaeagle99 self-assigned this Aug 14, 2026
@Evanthx
Evanthx requested a review from jmaeagle99 August 17, 2026 21:02
@Evanthx
Evanthx force-pushed the nexus-query branch 2 times, most recently from 25b1053 to 7140f41 Compare August 17, 2026 22:55
jmaeagle99
jmaeagle99 previously approved these changes Aug 18, 2026
@jmaeagle99
jmaeagle99 dismissed their stale review August 18, 2026 17:27

Remove my own review

Comment thread CHANGELOG.md Outdated
Comment thread tests/Temporalio.Tests/Nexus/QueryResponseLinkTests.cs Outdated
@Evanthx
Evanthx requested a review from jmaeagle99 August 21, 2026 20:07
Assert.Equal(HandlerErrorType.NotImplemented, exc3.ErrorType);
Assert.Equal("Intentional failure", exc3.Message);
var chainMessages = new List<string>();
for (Exception? cause = exc; cause != null; cause = cause.InnerException)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looked into this more. The top level exception of exc3 used to be a HandlerException with message "Intentional failure". But now it's a HandlerException with message "" with an inner exception of type HandlerException with message "Intentional failure". I think this needs to be investigated as to why this is happening because that's a behavior change to an existing feature that I believe is now GA.

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