Skip to content

[deep-report] Azure DevOps safe-output Target fields use any instead of string, bypassing shared validation #59219

Closed as not planned

Description

@github-actions

Description

All 5 Azure DevOps safe-output config Target fields use any instead of string: pkg/workflow/safe_outputs_azure_devops.go:38,50,55,62,68 (UpdateWorkItemConfig, CommentOnWorkItemConfig, AssignWorkItemConfig, LinkWorkItemsConfig, UploadWorkItemAttachmentConfig), plus helpers addAzureDevOpsTarget(builder, target any) / appendAzureDevOpsTargetConstraint(constraints, target any) at lines 139, 238. Every other safe-output config's Target is a plain string, validated centrally by validateTargetValue(configName, target string) in pkg/workflow/safe_outputs_validation.go:86-224 — the Azure DevOps configs are silently excluded from that shared validation path, and a test already asserts the value is literally the string "42".

Expected Impact

Brings Azure DevOps safe-outputs into the same centralized target validation as every other integration, closing a validation gap with no behavioral downside (the value is always a string in practice).

Suggested Agent

New Agent (general Go refactor)

Estimated Effort

Quick (< 1 hour) — change all 5 struct fields and both helper parameters from any to string.

Data Source

DeepReport Intelligence analysis, 2026-09-07, sourced from [typist] Typist - Go Type Consistency Analysis discussion #59203.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • api.anthropic.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.anthropic.com"

See Network Configuration for more information.

Generated by 🔬 Deep Report · claude · agent · 220.1 AIC · ⌖ 11 AIC · ⊞ 12.8K · ◷

  • expires on Sep 9, 2026, 4:50 AM UTC-08:00

Activity

  1. github-actions commented on Sep 9, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-09-09T12:50:58.894Z.

    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