Open Bug 2009456 Opened 1 day ago Updated 1 day ago

Propagate client-side flow_id to MLPA requests

Categories

(Core :: Machine Learning: General, task)

task

Tracking

()

People

(Reporter: thasan, Unassigned)

References

Details

(Whiteboard: [genai])

Currently, the unique flow_id is correctly generated and recorded in Glean telemetry, but it is not being forwarded in requests to the MLPA backend. This prevents correlation between client-side user flows and backend logs.

Generation : flow_id is initialized in MLTelemetry.sys.mjs: https://searchfox.org/firefox-main/rev/974b0546f470bf87a34d636a03607d788ba9305f/toolkit/components/ml/MLTelemetry.sys.mjs#50

Integration Point: The ID needs to be injected into the request headers in OpenAIPipeline.mjs: https://searchfox.org/firefox-main/source/toolkit/components/ml/content/backends/OpenAIPipeline.mjs

Whiteboard: [gen → [genai]
You need to log in before you can comment on or make changes to this bug.