-
-
Notifications
You must be signed in to change notification settings - Fork 8
chore: Add comprehensive GitHub Copilot development instructions #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
|
…ommands and timing Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|



This PR adds a comprehensive
.github/copilot-instructions.mdfile that provides GitHub Copilot coding agents with detailed instructions for working effectively in the commit-check codebase.What's Included
The instructions cover all essential development workflows with validated commands and timing information:
Build & Test System
nox -s build(~10 seconds, with network timeout handling)pytestexecution (~1 second) vs nox sessions (5+ minutes when working)Manual Validation Scenarios
Complete test scenarios for validating functionality after changes:
Tool Behavior Documentation
Network Issues & Workarounds
Documented known PyPI timeout issues in CI environments with explicit workarounds:
PYTHONPATH=/home/runner/work/commit-check/commit-checkfor developmentDevelopment Guidance
Clear direction on when to use different approaches:
All commands have been thoroughly tested and validated in the development environment, with explicit timeout values and "NEVER CANCEL" warnings for long-running operations as requested.
Fixes #269.
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:
fonts.google.com/usr/bin/python3 /home/REDACTED/.local/bin/sphinx-build -E -W -b html docs _build/html(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.