Skip to content

Drop "cancelled" from FAILURE_CONCLUSIONS in aw-failure-investigator - #49658

Merged
pelikhan merged 3 commits into
mainfrom
copilot/aw-failures-drop-cancelled
Aug 1, 2026
Merged

Drop "cancelled" from FAILURE_CONCLUSIONS in aw-failure-investigator#49658
pelikhan merged 3 commits into
mainfrom
copilot/aw-failures-drop-cancelled

Conversation

Copilot AI commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Dependabot bulk-PR bursts cause GitHub Actions to cancel concurrency-group runs in <2s with zero agent activity, flooding the failure investigator with false positives (60+ phantom failures per burst, burying the 3 real ones).

Change

  • aw-failure-investigator.md: Remove "cancelled" from the FAILURE_CONCLUSIONS set; only "failure", "timed_out", and "startup_failure" represent genuine regressions worth investigating.
# Before
FAILURE_CONCLUSIONS = {"failure", "timed_out", "startup_failure", "cancelled"}

# After
FAILURE_CONCLUSIONS = {"failure", "timed_out", "startup_failure"}
  • aw-failure-investigator.lock.yml: Recompiled to match.

Copilot AI and others added 2 commits August 1, 2026 22:06
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Drop 'cancelled' from FAILURE_CONCLUSIONS to reduce false positives Drop "cancelled" from FAILURE_CONCLUSIONS in aw-failure-investigator Aug 1, 2026
Copilot AI requested a review from pelikhan August 1, 2026 22:11
@pelikhan
pelikhan marked this pull request as ready for review August 1, 2026 22:35
Copilot AI review requested due to automatic review settings August 1, 2026 22:35
@pelikhan
pelikhan merged commit 05bc7f1 into main Aug 1, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/aw-failures-drop-cancelled branch August 1, 2026 22:35

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.

Pull request overview

Excludes cancelled workflow runs from failure investigation, reducing false positives during concurrency cancellations.

Changes:

  • Removes cancelled from failure conclusions.
  • Recompiles the investigator workflow.
  • Includes unrelated detection-model changes in two generated workflows.
Show a summary per file
File Description
.github/workflows/aw-failure-investigator.md Updates failure filtering.
.github/workflows/aw-failure-investigator.lock.yml Regenerates the compiled workflow.
.github/workflows/smoke-checkout-pr-dispatch.lock.yml Changes detection-model routing.
.github/workflows/daily-arxiv-researcher.lock.yml Changes detection-model routing.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 4/4 changed files
  • Comments generated: 3
  • Review effort level: Balanced

TRACKER_ID = "aw-failure-investigator"
LOOKBACK_HOURS = 6
FAILURE_CONCLUSIONS = {"failure", "timed_out", "startup_failure", "cancelled"}
FAILURE_CONCLUSIONS = {"failure", "timed_out", "startup_failure"}
-- /bin/bash -c 'set +o histexpand; : "${RUNNER_TOOL_CACHE:?RUNNER_TOOL_CACHE must be set}"; GH_AW_TOOL_CACHE="$RUNNER_TOOL_CACHE"; export PATH="$(find "$GH_AW_TOOL_CACHE" -maxdepth 5 -type d -name bin 2>/dev/null | tr '\''\n'\'' '\'':'\'')$PATH"; [ -n "$GOROOT" ] && export PATH="$GOROOT/bin:$PATH" || true; [ -n "$ERLANG_HOME" ] && export PATH="$ERLANG_HOME/bin:$PATH" || true && GH_AW_NODE_EXEC="${GH_AW_NODE_BIN:-}"; if [ -z "$GH_AW_NODE_EXEC" ] || [ ! -x "$GH_AW_NODE_EXEC" ]; then GH_AW_NODE_EXEC="$(command -v node 2>/dev/null || true)"; fi; if [ -z "$GH_AW_NODE_EXEC" ]; then echo "node runtime missing on this runner — check runtimes.node in workflow YAML" >&2; exit 127; fi; GH_AW_NPM_GLOBAL_ROOT="$(npm root -g 2>/dev/null || true)"; if [ -n "$GH_AW_NPM_GLOBAL_ROOT" ]; then export NODE_PATH="${GH_AW_NPM_GLOBAL_ROOT}${NODE_PATH:+:${NODE_PATH}}"; fi; "$GH_AW_NODE_EXEC" ${RUNNER_TEMP}/gh-aw/actions/claude_harness.cjs claude --print --no-chrome --allowed-tools '\''Bash,BashOutput,Edit(/tmp/*),ExitPlanMode,Glob,Grep,KillBash,LS,MultiEdit(/tmp/*),NotebookRead,Read,Read(/tmp/*),Task,TodoWrite,Write(/tmp/*)'\'' --debug-file /tmp/gh-aw/threat-detection/detection.log --verbose --permission-mode acceptEdits --output-format stream-json --prompt-file /tmp/gh-aw/aw-prompts/prompt.txt' 2>&1 | tee -a /tmp/gh-aw/threat-detection/detection.log
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
ANTHROPIC_MODEL: detection
COPILOT_DUMMY_BYOK: dummy-byok-key-for-offline-mode
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
COPILOT_MODEL: ${{ vars.GH_AW_MODEL_DETECTION_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'auto' }}
COPILOT_MODEL: detection
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.3

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

Labels

None yet

Projects

None yet

3 participants