Skip to content

Commit a28bae6

Browse files
ryan-williamsclaude
andcommitted
TEMP: add fail_test dispatch input to validate notify step
One-off scaffolding to push, dispatch with `fail_test=true`, and verify the new `#crash-bot-ci` Slack notification fires end-to-end. Reverted in the next commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent becfb96 commit a28bae6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/daily.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
targets:
1212
type: string
1313
description: "Specific DVX targets to run (space-separated .dvc paths, empty = all)"
14+
fail_test:
15+
type: boolean
16+
description: "TEMP: force a deliberate failure (validates notify-on-failure)"
17+
default: false
1418
concurrency:
1519
group: daily
1620
cancel-in-progress: false
@@ -151,6 +155,11 @@ jobs:
151155
- name: Run custom targets
152156
if: ${{ inputs.targets }}
153157
run: $DVX ${{ inputs.targets }}
158+
- name: TEMP - force test failure
159+
if: ${{ inputs.fail_test }}
160+
run: |
161+
echo "Forcing failure to validate notify-on-failure step."
162+
exit 1
154163
- name: "Notify #crash-bot-ci on failure"
155164
if: failure()
156165
env:

0 commit comments

Comments
 (0)