Skip to content

Fix: Apollo FTv1 tracing doesn't wait for field resolver completion #3639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2025

Conversation

kolia-kaploniuk
Copy link
Contributor

This PR fixes an issue in Apollo Federation Tracing (FTv1) where the EndTime of a field span was recorded too early — before the field resolver had actually completed execution. This resulted in inaccurate tracing data, as the span duration didn't reflect the true time spent resolving the field.

@coveralls
Copy link

coveralls commented Apr 5, 2025

Coverage Status

coverage: 73.346% (-0.02%) from 73.364%
when pulling 0c0a3dd on inigolabs:master
into 8ffc885 on 99designs:master.

Co-authored-by: Steve Coffman <StevenACoffman@users.noreply.github.com>
@daviddavid533
Copy link

can we merge this asap? @StevenACoffman

@StevenACoffman
Copy link
Collaborator

Thanks for the ping! I hadn't noticed you had corrected updated it since the defer comment.

@StevenACoffman StevenACoffman merged commit 15e0332 into 99designs:master Apr 15, 2025
16 of 17 checks passed
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.

4 participants