Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 24, 2025

Creates a detailed .github/copilot-instructions.md file that provides GitHub Copilot coding agents with comprehensive guidance for working effectively in the SnapDeploy codebase.

Key Features

Validated Commands with Exact Timing

  • All commands tested and measured in real environment
  • Frontend build: 3.7 seconds, npm install: 29 seconds
  • API server npm install: 29 seconds
  • Build server npm install: 2 seconds
  • S3 reverse proxy npm install: 1.5 seconds

Multi-Component Architecture Guide

  • React + Vite frontend with TailwindCSS
  • Express.js API server with MongoDB/Mongoose
  • Automated build service with Docker deployment
  • S3 reverse proxy for static site serving

Manual Validation Scenarios
Since no automated tests exist, the instructions provide detailed manual validation workflows:

  • Frontend: build verification, linting, dev server startup, UI navigation testing
  • API server: expected startup failures without environment configuration
  • Build server: Docker-based deployment pipeline understanding

Critical Timeout and Cancellation Warnings

  • Explicit "NEVER CANCEL" warnings for long-running operations
  • Build processes can take 5-10 minutes with 15+ minute timeout requirements
  • Prevents premature cancellation of deployment builds

Expected Error Documentation

  • ESLint shows exactly 45 errors and 9 warnings (normal behavior)
  • API server crashes with environment variable errors (expected without proper setup)
  • Build server uses multiple npm install strategies for dependency conflicts

Development Workflow Guidance

  • Step-by-step instructions for adding frontend features
  • API endpoint modification procedures
  • Build system change protocols
  • Common issue troubleshooting

The instructions emphasize always following the documented procedures first before falling back to additional search or exploration, ensuring consistent and efficient development practices.

Fixes #2.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • binaries.prisma.sh
    • Triggering command: node scripts/postinstall.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copy link
Contributor Author

Copilot AI commented Aug 24, 2025

@Pavan0228 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copy link

vercel bot commented Aug 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
build-sphere Ready Ready Preview Comment Aug 24, 2025 6:00pm

@Copilot Copilot AI changed the title [WIP] ✨ Set up Copilot instructions Add comprehensive GitHub Copilot instructions for SnapDeploy development workflow Aug 24, 2025
@Copilot Copilot AI requested a review from Pavan0228 August 24, 2025 18:00
Copilot finished work on behalf of Pavan0228 August 24, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants