Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 19, 2025

This PR adds a comprehensive .github/copilot-instructions.md file that provides GitHub Copilot coding agents with detailed instructions for working effectively in the eslint-github-bot repository.

What's included

The instructions provide exhaustively validated guidance covering:

Repository Setup & Build Process:

  • Complete bootstrap commands (npm install, dependency setup)
  • Environment configuration with .env file requirements
  • Build and test workflows with precise timing expectations

Plugin Architecture Documentation:

  • Detailed coverage of all 6 plugins (auto-assign, commit-message, needs-info, recurring-issues, release-monitor, wip)
  • Plugin development workflow and file structure
  • Common patterns for Probot event handlers

Validated Commands & Timing:

  • npm test: ~3 seconds (284 tests, 98.31% coverage)
  • npm run lint: ~1.5 seconds
  • npm start: immediate startup with health check validation
  • Specific timeout recommendations with "NEVER CANCEL" warnings

Manual Validation Requirements:

  • Server functionality testing via /ping endpoint
  • Individual plugin test execution
  • Complete development workflow validation steps

Troubleshooting & Production Notes:

  • Node.js version compatibility (22.x preferred, works on 20.x)
  • Deployment details for Dokku/github-bot.eslint.org
  • Common issues and resolution steps

All commands and procedures have been thoroughly tested and validated to ensure the instructions work reliably for any developer or AI agent working with this codebase for the first time.

Fixes #227.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@eslint-github-bot
Copy link

Hi @Copilot!, thanks for the Pull Request

The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.

  • The commit message tag wasn't recognized. Did you mean "docs", "fix", or "feat"?
  • There should be a space following the initial tag and colon, for example 'feat: Message'.
  • The first letter of the tag should be in lowercase

To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page.

Read more about contributing to ESLint here

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 19, 2025

CLA Not Signed

@eslint-github-bot
Copy link

Hi @Copilot!, thanks for the Pull Request

The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.

  • The commit message tag wasn't recognized. Did you mean "docs", "fix", or "feat"?
  • There should be a space following the initial tag and colon, for example 'feat: Message'.
  • The first letter of the tag should be in lowercase

To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page.

Read more about contributing to ESLint here

Co-authored-by: nzakas <38546+nzakas@users.noreply.github.com>
@eslint-github-bot
Copy link

Hi @Copilot!, thanks for the Pull Request

The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.

  • The commit message tag wasn't recognized. Did you mean "docs", "fix", or "feat"?
  • There should be a space following the initial tag and colon, for example 'feat: Message'.
  • The first letter of the tag should be in lowercase

To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page.

Read more about contributing to ESLint here

2 similar comments
@eslint-github-bot
Copy link

Hi @Copilot!, thanks for the Pull Request

The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.

  • The commit message tag wasn't recognized. Did you mean "docs", "fix", or "feat"?
  • There should be a space following the initial tag and colon, for example 'feat: Message'.
  • The first letter of the tag should be in lowercase

To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page.

Read more about contributing to ESLint here

@eslint-github-bot
Copy link

Hi @Copilot!, thanks for the Pull Request

The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.

  • The commit message tag wasn't recognized. Did you mean "docs", "fix", or "feat"?
  • There should be a space following the initial tag and colon, for example 'feat: Message'.
  • The first letter of the tag should be in lowercase

To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page.

Read more about contributing to ESLint here

Copilot AI changed the title [WIP] ✨ Set up Copilot instructions Add comprehensive GitHub Copilot instructions for eslint-github-bot Aug 19, 2025
@eslint-github-bot
Copy link

Hi @Copilot!, thanks for the Pull Request

The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.

  • The commit message tag wasn't recognized. Did you mean "docs", "fix", or "feat"?
  • There should be a space following the initial tag and colon, for example 'feat: Message'.
  • The first letter of the tag should be in lowercase

To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page.

Read more about contributing to ESLint here

Copilot AI requested a review from nzakas August 19, 2025 15:01
Copilot finished work on behalf of nzakas August 19, 2025 15:01
@nzakas nzakas changed the title Add comprehensive GitHub Copilot instructions for eslint-github-bot docs: Add GitHub Copilot instructions Aug 20, 2025
@nzakas nzakas marked this pull request as ready for review August 20, 2025 15:30
@nzakas nzakas merged commit 010806b into main Aug 20, 2025
2 of 3 checks passed
@nzakas nzakas deleted the copilot/fix-227 branch August 20, 2025 15:30
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.

✨ Set up Copilot instructions

2 participants