Skip to content

[Infrastructure] Use inline threat detection for agentic workflows - #69419

Merged
wtgodbe merged 2 commits into
dotnet:mainfrom
wtgodbe:infrastructure/inline-threat-detection-workaround
Sep 21, 2026
Merged

wtgodbe merged 2 commits into
dotnet:mainfrom
wtgodbe:infrastructure/inline-threat-detection-workaround

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • temporarily select gh-aw's legacy inline threat detector for all six agentic workflows
  • keep threat detection enabled while preserving each workflow's existing enforcement mode
  • regenerate each lockfile with its existing compiler version: gh-aw v0.88.2, except pr-attention-pulse on v0.88.7

The affected workflows are:

  • browsertesting-deps-update
  • community-pr-issue-check
  • cswin32-update
  • issue-triage-agent
  • pr-attention-pulse
  • test-quarantine

All six generated workflows otherwise use the external threat-detect v0.5.1 path and are susceptible to its result-sink failure. The defect was confirmed in these scheduled test-quarantine runs, where it prevented safe outputs from publishing the generated quarantine PRs:

test-quarantine and pr-attention-pulse retain fail-closed detection. The other four workflows retain their existing continue-on-error behavior; using the inline detector avoids silently tolerating the known external-detector failure.

This is a temporary workaround until github/gh-aw#61857 is available in a gh-aw release.

Validation

  • compiled all six workflows with --strict using their existing gh-aw compiler versions
  • verified a second compilation produced an identical diff
  • verified every generated lockfile uses the inline result parser and no longer installs the external detector
  • verified the existing GH_AW_DETECTION_CONTINUE_ON_ERROR values are preserved
  • git diff --check

Follow-up: #69420

@wtgodbe
wtgodbe requested a review from a team as a code owner September 21, 2026 18:09
Copilot AI lite review requested due to automatic review settings September 21, 2026 18:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Security-sensitive workflow changes warrant final human review.

Review effort: Lite
Findings: None

What changed in this PR

Temporarily switches test quarantine to gh-aw’s legacy inline threat detector while preserving fail-closed safe-output gating.

Changes:

  • Adds the gh-aw-detection: false override.
  • Regenerates the lock file with inline detection.
  • Retains threat-detection failure blocking.
File Description
.github/​workflows/​test-quarantine.md Selects the legacy detector.
.github/​workflows/​test-quarantine.lock.yml Regenerated inline detection workflow.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@wtgodbe wtgodbe changed the title [Infrastructure] Use inline threat detection for test quarantine [Infrastructure] Use inline threat detection for agentic workflows Sep 21, 2026
@wtgodbe
wtgodbe merged commit 8d321a8 into dotnet:main Sep 21, 2026
11 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants