Add comprehensive GitHub Copilot instructions for development workflow #1653
+133
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds comprehensive GitHub Copilot instructions to help AI coding agents work effectively in the azure-workload-identity codebase. The instructions provide a complete guide for building, testing, and developing the project from a fresh clone.
Key Features
Validated Commands and Timing: All build and test commands have been thoroughly tested and timed to provide accurate timeout recommendations:
make generate: ~60s first time (downloads controller-gen and tools)make test: ~4 minutes with full coverage validation (78.7%)make lint: ~2 minutes first time (downloads golangci-lint)make manager,make proxy,make bin/azwi: All validated and timedComprehensive Coverage: The instructions cover:
Safety and Reliability: Following the guidelines for exhaustive validation:
Developer Experience: The instructions are written in imperative tone and provide:
The instructions enable any GitHub Copilot agent to effectively work in this Kubernetes-focused Go project without trial-and-error, reducing development friction and ensuring consistent, reliable builds.
Fixes #1652.
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:
management.azure.com/tmp/go-build3024814826/b1088/auth.test -test.paniconexit0 -test.gocoverdir=/tmp/go-build3024814826/b1088/gocoverdir -test.timeout=10m0s -test.v=true -test.coverprofile=/tmp/go-build3024814826/b1088/_cover_.out(dns block)/tmp/go-build227839077/b1088/auth.test -test.paniconexit0 -test.gocoverdir=/tmp/go-build227839077/b1088/gocoverdir -test.timeout=10m0s -test.v=true -test.coverprofile=/tmp/go-build227839077/b1088/_cover_.out(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.