Skip to content

Conversation

@bizob2828
Copy link
Contributor

@bizob2828 bizob2828 commented Apr 21, 2025

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #2028 🦕

This PR updates the span kind based on the unary pull example to set span kind to client for modack/ack spans. I also added some missing assertions from #2019

@bizob2828 bizob2828 requested review from a team as code owners April 21, 2025 21:05
@google-cla
Copy link

google-cla bot commented Apr 21, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@feywind
Copy link
Collaborator

feywind commented Apr 30, 2025

@bizob2828 Thanks for the PR! Let me run this by my OTel collaborator here.

feywind
feywind previously approved these changes May 8, 2025
@feywind feywind changed the title fix: Updated span kind to CLIENT for ack and modack rpc spans fix: updated span kind to CLIENT for ack and modack rpc spans May 8, 2025
@feywind
Copy link
Collaborator

feywind commented May 8, 2025

@bizob2828 Hey would you mind running npm run fix in your branch? We can't do that through a bot anymore :S

@bizob2828
Copy link
Contributor Author

@feywind I ran npm run fix

hongalex
hongalex previously approved these changes Sep 9, 2025
feywind
feywind previously approved these changes Sep 9, 2025
@feywind feywind dismissed stale reviews from hongalex and themself via 72e7e2a October 1, 2025 18:52
@feywind feywind added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 1, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 1, 2025
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 1, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 1, 2025
@feywind feywind merged commit 801c1c8 into googleapis:main Oct 1, 2025
16 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the googleapis/nodejs-pubsub API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

modack and ack spans are the incorrect span kind

5 participants