Skip to content

feat: enhance github-action-diagnose skill with MCP integration and Python scripts#20

Open
KadenZhang3321 wants to merge 1 commit into
opensourceways:mainfrom
KadenZhang3321:feat/ci-diagnose-enhancement-v2
Open

feat: enhance github-action-diagnose skill with MCP integration and Python scripts#20
KadenZhang3321 wants to merge 1 commit into
opensourceways:mainfrom
KadenZhang3321:feat/ci-diagnose-enhancement-v2

Conversation

@KadenZhang3321

Copy link
Copy Markdown

Summary

  • Add Python scripts (collect_failed_runs.py, diagnose_job.py, batch_diagnose.py, fetch_run.py, mcp_client.py)
  • Add README.md with usage guide
  • Integrate MCP client for LTS cluster log querying
  • Update SKILL.md to support both bash and Python scripts
  • Remove deprecated JS scripts (collect-failed-runs.js, diagnose-ci-runs.js)

Features

  • Single Job Diagnosis: \python scripts/diagnose_job.py --url <job_url>\
  • Batch Diagnosis: \python scripts/batch_diagnose.py --input <xlsx_file>\
  • MCP Integration: Query LTS cluster logs for deeper root cause analysis
  • Auto-filtering: Smart keyword filtering to reduce log volume

Tools

  • GitHub Data: fetch_run_script, fetch_job_info, fetch_job_logs, fetch_annotations, fetch_run_info, fetch_pr_diff
  • MCP Cluster Logs: mcp_get_runner_logs, mcp_list_pods, mcp_export_logs, mcp_get_export
  • General: bash_execute, read_file, grep_file, glob_file, write_file

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

KadenZhang3321, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown

Linking Issue Notice

@KadenZhang3321 , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

@KadenZhang3321 KadenZhang3321 force-pushed the feat/ci-diagnose-enhancement-v2 branch from 6676b27 to ddfcd5f Compare April 21, 2026 03:08
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

KadenZhang3321, thanks for your pull request. All authors of the commits have signed the CLA. 👍

…ython scripts

- Add Python scripts (collect_failed_runs.py, diagnose_job.py, batch_diagnose.py, fetch_run.py, mcp_client.py)
- Add README.md with usage guide
- Integrate MCP client for LTS cluster log querying
- Update SKILL.md to support both bash and Python scripts
- Remove deprecated JS scripts (collect-failed-runs.js, diagnose-ci-runs.js)
@KadenZhang3321 KadenZhang3321 force-pushed the feat/ci-diagnose-enhancement-v2 branch from ddfcd5f to aa904fe Compare April 21, 2026 07:20
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

KadenZhang3321, thanks for your pull request. All authors of the commits have signed the CLA. 👍

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants