Skip to content
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

fix: setting oban attributes #247

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

yordis
Copy link
Contributor

@yordis yordis commented Dec 12, 2023

  • Should I prefix everything with "oban.*" for these attributes?

@yordis yordis changed the title fix oban attributes WIP fix oban attributes Dec 12, 2023
@yordis yordis force-pushed the fix-oban-attributes branch 2 times, most recently from c8e41ea to 2257987 Compare December 12, 2023 05:35
@yordis
Copy link
Contributor Author

yordis commented Dec 12, 2023

Should I prefix everything with "oban.*" for these attributes thou? I prefer to do

@yordis yordis marked this pull request as ready for review December 12, 2023 05:55
@yordis yordis changed the title WIP fix oban attributes fix: setting oban attributes Dec 12, 2023
@bryannaegele
Copy link
Collaborator

Should I prefix everything with "oban.*" for these attributes thou? I prefer to do

You can add that to this. Might as well get it done since we're touching it.

@yordis
Copy link
Contributor Author

yordis commented Dec 13, 2023

@bryannaegele done!

@yordis
Copy link
Contributor Author

yordis commented Dec 26, 2023

@tsloughter @bryannaegele is there anything I need to do to get this to the finish line?

Copy link
Collaborator

@bryannaegele bryannaegele left a comment

Choose a reason for hiding this comment

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

Looking through this again and I missed a couple of things.

  1. We want to move everything to the oban namespace which includes the attributes currently under messaging.oban.* to just oban.*
  2. We should have all the attributes namespaced to their function, e.g. job attributes under oban.job.* and these new plugin ones under oban.plugins.plugin_name.* so context is provided and there's no risk of collisions between plugins.

@yordis
Copy link
Contributor Author

yordis commented Dec 27, 2023

@bryannaegele done, hopefully I understood the assignment

@yordis
Copy link
Contributor Author

yordis commented Feb 3, 2024

@joaothallis anything else?

I am wondering how to get this to the finish line

@joaothallis
Copy link
Contributor

Should I prefix everything with "oban.*" for these attributes?

Reading the spec it is not specifying that other attributes should start with messasing. But the attributes that are in the spec they can not have the prefix oban.

@yordis yordis force-pushed the fix-oban-attributes branch 3 times, most recently from 7b07b1b to cddf4da Compare February 5, 2024 07:45
@yordis
Copy link
Contributor Author

yordis commented Feb 5, 2024

Added Unit Tests, let me know!

@yordis
Copy link
Contributor Author

yordis commented Feb 6, 2024

@bryannaegele ready to go

@bryannaegele
Copy link
Collaborator

bryannaegele commented Feb 14, 2024

You're going to kill me but would you mind poking at this test that started failing with newer Oban after I bumped it? I think the test just needs to be updated but I'm not an Oban expert

#287

@yordis
Copy link
Contributor Author

yordis commented Feb 14, 2024

@bryannaegele oban-bg/oban#1035 it needs to be fixed in the Oban side, it was removed by mistake

@bryannaegele
Copy link
Collaborator

Awesome! Thanks for following up.

@bryannaegele bryannaegele merged commit b12a464 into open-telemetry:main Feb 14, 2024
21 of 28 checks passed
@bryannaegele bryannaegele added the bug Something isn't working label Feb 14, 2024
@yordis yordis deleted the fix-oban-attributes branch June 20, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants