Export Logfire traces from three GLM Agentic Workflows

Merged
DS
2mo ago
+272-57

This pull request was posted by Codex Desktop using gpt-6-luna on behalf of David.

Why we make these changes

Three Z.AI Agentic Workflows omitted shared/otel-logfire.md, so the shim skipped trace instrumentation. This wires the shared Logfire import and its compiled OTLP settings into all three workflows.

New public surface

None.

User-visible behavior

Before: these workflows did not export traces through the shared Logfire configuration.

After: the workflows provide the OTLP environment and firewall access needed to export traces; live export still needs natural-run verification.

Verification

What changes for existing users

Nothing in the Pydantic AI library API.

Security

The shared shim calls logfire.instrument_pydantic_ai(include_content=True, include_binary_content=True), so model prompts and responses are exported to Logfire, matching existing sibling workflows. The shared import passes the Logfire write token LOGFIRE_TOKEN to the agent container; human review should assess that exposure. gh-aw masks the OTLP Authorization header, but this does not prevent content export. The workflows allow the six Pydantic Logfire ingest hosts; action pins, job permissions, and redirects are unchanged.

Checklist

  • No breaking changes in accordance with the version policy.
  • No compatibility impact.
  • PR title is fit for the release changelog.