Skip to content

[cli-tools-test] [compile] Strict dry-run reports invalid batches for trusted workflows #75613

Done

Description

@github-actions

Warning

Threat detection engine error

Threat detection could not complete its analysis due to a tooling error. This is not a security finding.

What happened

The threat detection results could not be parsed.

Review the workflow run logs to troubleshoot the error.

Overview

Bounded exploratory testing of the agenticworkflows compile tool on 2026-11-07 found two compile-path problems in trusted repository workflows. No raw logs, credentials, or private artifacts are included.

Findings

1. Dry-run strict compilation rejects a trusted steps/MCP-heavy workflow

  • Tool: compile
  • Invocation: agenticworkflows compile {"workflows":["smoke-copilot"],"dry_run":true,"strict":true}
  • Observed: The workflow result was valid: false; no lock file was emitted.
  • Diagnostic: failed to generate YAML: workflow compilation requires valid jobs and dependencies; check job definitions and needs references: --dry-run cannot safely execute steps, pre-agent-steps, post-steps, custom MCP servers, mcp-scripts: remove these declarations and their imports from the diagnostic workflow; staging does not isolate host scripts, external MCP effects, or cloud credentials
  • Expected: The mandated trusted-workflow dry-run/strict compile should either compile this representative workflow or provide a documented, non-destructive validation path for workflows containing these supported declarations.

2. Strict batch result is invalid even though a workflow-call lock is emitted

  • Tool: compile
  • Invocation: agenticworkflows compile {"workflows":["smoke-workflow-call"],"dry_run":true,"strict":true}
  • Observed: The per-workflow result was valid: true and emitted .github/workflows/smoke-workflow-call.lock.yml, but the batch result was valid: false.
  • Diagnostic: workflow_dispatch workflow has no concurrency.job-discriminator; the generated conclusion concurrency group is shared by all dispatches of this workflow. Set a discriminator (for example, github.run_id) to give each dispatch its own slot.
  • Expected: The result should clearly classify this as either a warning that does not invalidate a successful compile, or a compile failure that does not emit a seemingly valid lock.

Reproduction

  1. Use the github/gh-aw repository at the test revision.
  2. Run each invocation above through the agenticworkflows MCP bridge with dry_run: true and strict: true.
  3. Inspect the per-workflow result and the scope: batch result.

Environment

  • Repository: github/gh-aw
  • Tester workflow run: §42341764467
  • Date: 2026-11-07
  • Coverage: 3 targeted trusted compiles; 1 passed, 2 produced invalid batch outcomes.

Impact

  • Severity: Medium
  • Frequency: Observed in 2 of 3 targeted workflows
  • Workaround: None validated without weakening the dry-run safety boundary or changing the tested workflow declarations.
Additional diagnostics

The simple target smoke-codex-auto passed strict dry-run compilation and produced a stable lock hash across an identical recompile. The two findings above are therefore specific to the trusted workflow shapes and/or strict batch-result handling, not a complete outage of compile.

References:

Generated by 🧪 Daily Cli Tools Tester · codex · routed: gpt56 max · ~11 AIC · ⌖ ~2 AIC · ⊞ 574 · ◷

  • expires on Nov 13, 2026, 9:26 PM UTC-08:00
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