chore: add AI context tools and update go-zero to v1.9.4 #103
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.
Greptile Overview
Greptile Summary
This PR enhances the repository with AI development tools and performs a significant dependency upgrade. The changes add GitHub Copilot integration via AI context submodules and update the core go-zero framework from v1.6.6 to v1.9.4, along with Go 1.21 and all transitive dependencies.
Key Changes:
.github/ai-contextand.ai-context/zero-skills) to provide AI tools with go-zero development context and best practices.github/copilot-instructions.mdConsiderations:
.github/copilot-instructions.mdmay need verification once the submodules are initializedgit submodule update --init --recursive) after cloningConfidence Score: 4/5
Important Files Changed
Sequence Diagram
sequenceDiagram participant Dev as Developer participant Repo as go-queue Repository participant GZero as go-zero v1.9.4 participant Deps as Dependencies participant AI as AI Context Submodules Dev->>Repo: Update Go version to 1.21 Dev->>Repo: Add .gitmodules file Dev->>AI: Reference zeromicro/ai-context submodule Dev->>AI: Reference zeromicro/zero-skills submodule Dev->>Repo: Create symlink .github/copilot-instructions.md Dev->>Repo: Update go.mod dependencies Repo->>GZero: Upgrade from v1.6.6 to v1.9.4 GZero->>Deps: Pull in updated transitive dependencies Deps->>Repo: Update OpenTelemetry (v1.19.0 → v1.24.0) Deps->>Repo: Update Prometheus (v1.18.0 → v1.21.1) Deps->>Repo: Update Redis client (v9.5.3 → v9.17.2) Deps->>Repo: Update grpc (v1.64.0 → v1.65.0) Deps->>Repo: Update protobuf (v1.34.2 → v1.36.5) Deps->>Repo: Add Grafana pyroscope dependencies Dev->>Repo: Update go.sum checksums Note over Repo,AI: AI context provides GitHub Copilot<br/>with go-zero best practices(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!