You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: emit OTLP headers deprecation warning once via WorkflowData.OTLPHeaders
- extractOTLPConfigFromRaw now returns a deprecated bool flag instead
of printing the warning inline (pure helper, no side-effects)
- injectOTLPConfig collects the deprecated flag from both extraction paths
(raw frontmatter and ParsedFrontmatter fallback) and emits the warning
exactly once
- Add WorkflowData.OTLPHeaders field; injectOTLPConfig sets it alongside
OTLPEndpoint so downstream code has a single source of truth
- buildMCPGatewayConfig now reads workflowData.OTLPHeaders directly,
eliminating the second call to extractOTLPConfigFromRaw and the
duplicate deprecation warning it caused
- Update tests: extend TestExtractOTLPConfigFromRaw to assert the
deprecated return value; add TestInjectOTLPConfig_OTLPHeadersField
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/9d7b90fb-97a7-4d37-81ea-71daf6c9e0e5
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
RawFrontmattermap[string]any// raw parsed frontmatter map (for passing to hash functions without re-parsing)
493
493
OTLPEndpointstring// resolved OTLP endpoint (from observability.otlp.endpoint, including imports; set by injectOTLPConfig)
494
+
OTLPHeadersstring// normalized OTLP headers in key=value,key=value format (from observability.otlp.headers, including imports; set by injectOTLPConfig)
494
495
ResolvedMCPServersmap[string]any// fully merged mcp-servers from main workflow and all imports (for mcp inspect)
495
496
ActionPinWarningsmap[string]bool// cache of already-warned action pin failures (key: "repo@version")
496
497
ActionModeActionMode// action mode for workflow compilation (dev, release, script)
0 commit comments