Code of Conduct
AI Policy
Is your feature request related to a problem? Please describe.
I thought read_metadata would allow we to inject metadata into the job like documented in the options for https://oban.hexdocs.pm/Oban.Job.html#new/2
But it just passes the metadata into the trigger action and this would only allow us to manipulate job args which influence uniqueness checks.
Describe the solution you'd like
a way to inject oban metdata options into a job. this also would help job introspection in the oban web dashboard (see screenshot).
Maybe in the same change, rename read_metadata in something else to not confuse the two concepts.
Describe alternatives you've considered
Additional context

Code of Conduct
AI Policy
Is your feature request related to a problem? Please describe.
I thought
read_metadatawould allow we to inject metadata into the job like documented in the options for https://oban.hexdocs.pm/Oban.Job.html#new/2But it just passes the metadata into the trigger action and this would only allow us to manipulate job args which influence uniqueness checks.
Describe the solution you'd like
a way to inject oban metdata options into a job. this also would help job introspection in the oban web dashboard (see screenshot).
Maybe in the same change, rename
read_metadatain something else to not confuse the two concepts.Describe alternatives you've considered
Additional context