A CI check has failed on PR #{pr_number}.
1. Fetch the CI logs for the failing check
2. Analyze the error messages to determine the type of failure:
- Linting errors
- Type errors
- Test failures
- Build errors
3. If it's an auto-fixable issue (linting, formatting):
- Clone the PR branch
- Run the appropriate fix command (pnpm run lint --fix, pnpm run pretty)
- Commit and push the fixes
- Comment on the PR: "🤖 Automatically fixed {issue_type}"
4. If it's not auto-fixable:
- Comment on the PR with a summary of the error
- Tag the PR author
- Suggest potential solutions based on the error
5. Update the PR status comment to show Tembo is working on it