near-models/.github/workflows
Jack Forgash 533c34eb5a Implement AI-powered GitHub Actions failure assessor
Add comprehensive failure analysis system that replaces basic Slack notifications with Claude Code SDK-powered root cause analysis and actionable recommendations.

Key Features:
- Generic failure assessor using Claude Code SDK for intelligent analysis
- Enhanced Slack integration with formatted failure reports
- Repository-agnostic design using GitHub Actions context
- Comprehensive logging and error handling
- Metadata-only analysis when logs are unavailable

Components Added:
- python/failure_assessor.py: Main analysis script with Claude Code SDK integration
- .claude/agents/workflow-failure-investigator.md: Specialized failure analysis agent
- Enhanced python/slack_alert.py with analysis text support
- Updated dbt_run_adhoc.yml workflow with failure assessor integration

Technical Improvements:
- Removed hardcoded repository references for portability
- Added proper GitHub CLI repository context handling
- Implemented fallback analysis for cases with missing logs
- Added claude-code-sdk and requests to requirements.txt

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-06 18:59:20 -04:00
..
.dbt upd gha profile target to prod for select 2024-02-13 16:55:15 -07:00
dbt_docs_update.yml fix gha secret ref 2025-06-24 16:31:16 -04:00
dbt_integration_test.yml add integration test yaml selector and gha 2024-09-19 07:53:50 -07:00
dbt_run_adhoc.yml Implement AI-powered GitHub Actions failure assessor 2025-08-06 18:59:20 -04:00
dbt_run_deployment.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_dev_refresh.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_full_observability.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_observability.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_scheduled_core.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_scheduled_non_core.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_streamline_blocks_realtime.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_streamline_chunks_realtime.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_streamline_non_core_weekly.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_run_streamline_transactions_realtime.yml fix indent 2025-05-14 11:17:36 -06:00
dbt_test.yml Implement AI-powered GitHub Actions failure assessor 2025-08-06 18:59:20 -04:00
slack_notify.yml add slack alert monitor 2025-05-13 18:00:23 -06:00