Skip to content

Add copilot instructions for auto-review#2447

Merged
lmolkova merged 5 commits intoopen-telemetry:mainfrom
lmolkova:copilot-instructions
Jul 1, 2025
Merged

Add copilot instructions for auto-review#2447
lmolkova merged 5 commits intoopen-telemetry:mainfrom
lmolkova:copilot-instructions

Conversation

@lmolkova
Copy link
Copy Markdown
Member

Adds instructions for review/coding agent based on contributing.md and general guidance.

Tried on a few PRs, it seems to produce some reasonable advice, but definitely can be tuned further.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Adds a repository-level document defining GitHub Copilot custom instructions for reviewing OpenTelemetry Semantic Conventions pull requests.

  • Introduces critical criteria and prerequisites for new convention areas
  • Outlines general review principles, naming, attribute/event/error guidelines, and common issues to flag
  • Provides response guidelines and resource links
Comments suppressed due to low confidence (3)

.github/copilot-instructions.md:19

  • The schema link currently points to the weaver repository; updating it to reference the local model/semconv.schema.json in this repository will ensure accuracy and easier maintenance.
  - Validate against [schema](https://github.com/open-telemetry/weaver/blob/main/schemas/semconv.schema.json)

.github/copilot-instructions.md:19

  • [nitpick] Nested list items use two-space indentation, but standard Markdown rendering recommends four spaces for sublists; consider adjusting indentation for consistent formatting.
  - Validate against [schema](https://github.com/open-telemetry/weaver/blob/main/schemas/semconv.schema.json)

.github/copilot-instructions.md:1

  • GitHub Copilot custom instructions must be defined in a YAML file named .github/copilot.yml (or .github/copilot-settings.yml) rather than a Markdown file; consider renaming and converting this document into the supported YAML format.
# Copilot Instructions for OpenTelemetry Semantic Conventions

@lmolkova lmolkova added the Skip Changelog Label to skip the changelog check label Jun 28, 2025
Copy link
Copy Markdown
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Looking forward to seeing how it works / iterating on it.

Comment thread .github/copilot-instructions.md
Comment thread .github/copilot-instructions.md
Copy link
Copy Markdown
Contributor

@jsuereth jsuereth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add the (now merged) Entity Modeling guide?

@github-project-automation github-project-automation Bot moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Jun 29, 2025
Copy link
Copy Markdown
Member

@joaopgrassi joaopgrassi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see how good this is!

@lmolkova lmolkova moved this from Needs More Approval to Ready to be Merged in Semantic Conventions Triage Jul 1, 2025
@lmolkova lmolkova enabled auto-merge July 1, 2025 05:35
@lmolkova lmolkova added this pull request to the merge queue Jul 1, 2025
Merged via the queue into open-telemetry:main with commit 7e21a36 Jul 1, 2025
14 checks passed
@lmolkova lmolkova deleted the copilot-instructions branch July 1, 2025 05:36
jherbage pushed a commit to jherbage/semantic-conventions that referenced this pull request Jul 1, 2025
spurplewang pushed a commit to spurplewang/semantic-conventions that referenced this pull request Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog Label to skip the changelog check

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants