Loading...
Loading...
Automatically diagnose and fix CI failures in the current PR. Retrieves failed logs from GitHub Actions, categorizes the failure (lint, format, type-check, test), applies targeted fixes, verifies locally, and commits/pushes. Use when CI fails after push.
npx skill4agent add s-hiraoku/synapse-a2a fix-ci/fix-ci # Auto-diagnose and fix
/fix-ci --dry-run # Show what would be fixed without applyinggit branch --show-currentgh run list --branch <current-branch> --limit 1 --json databaseId,conclusion"conclusion": "failure"gh run view <run-id> --log-failedruff checkruff formatmypypytestruff format synapse/ tests/ruff check --fix synapse/ tests/--dry-runruff check synapse/ tests/ruff format synapse/ tests/ --checkuv run mypy synapse/pytestgit add -ugit commit -m "fix: resolve CI failures (<categories>)"<categories>lint, formattestformat, lint, type, testgit pushgh run listgh auth logingit pushgit push --forcegit push --force-with-lease/fix-ci/fix-ci --dry-runpytestpytest tests/ -v