Skip to content

[deep-report] Retype Headers any → map[string]string in frontmatter/observability configs #67197

Closed as not planned

Description

@github-actions

Description

Headers any is used for MCP server header config in pkg/workflow/frontmatter_types.go:252,289 and pkg/parser/import_observability.go:18, even though every consumer treats it as a string map: pkg/workflow/tools_parser.go:717 builds the equivalent headers field as make(map[string]string), and tools_types.go/observability_otlp.go consume HTTP headers as map[string]string elsewhere in the same package. The any typing forces a type assertion at every call site for no actual dynamism.

Expected Impact

Removes a pointless any→concrete-type assertion at every consumer, and makes "HTTP headers" a single consistent shape across the whole config surface (frontmatter, observability imports, tools).

Suggested Agent

General Go-focused coding agent (mechanical retype + call-site fix).

Estimated Effort

Quick (< 1 hour)

Data Source

Typist — Go Type Consistency Analysis, discussion #67180 (2026-10-09), Priority 1 item #2. Live-verified via direct source read of all three declaration sites before filing.

Generated by 🔬 Deep Report · claude · agent · 270.5 AIC · ⌖ 8.95 AIC · ⊞ 7.1K · ◷

  • expires on Oct 11, 2026, 4:47 AM UTC-08:00

Activity

  1. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt54 · 17.1 AIC · ⌖ 8.74 AIC · ⊞ 11.9K · ◷

  2. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt54 · 13.2 AIC · ⌖ 8.8 AIC · ⊞ 11.9K · ◷

  3. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt54 · 16.1 AIC · ⌖ 7.84 AIC · ⊞ 11.9K · ◷

  4. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt54 · 13.1 AIC · ⌖ 8.56 AIC · ⊞ 11.9K · ◷

  5. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt54 · 18.7 AIC · ⌖ 10.7 AIC · ⊞ 11.9K · ◷

  6. github-actions commented on Oct 11, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-10-11T12:47:46.741Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions