You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cmd/mdatagen] Add stability field to resource attributes (#15371)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adds support for defining stability levels for resource attributes in
`cmd/mdatagen`.
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes#15312
<!--Describe what testing was performed and which tests were added.-->
#### Testing
- Added cmd/mdatagen/internal/testdata/invalid_rattr_stability.yaml as a
test fixture
- Added a test case in metadata_test.go that verifies an invalid
stability value produces the correct error
- Ran go test ./internal/... and all tests passed
<!--Describe the documentation added.-->
#### Documentation
- Added stability under resource attributes in metadata-schema.yaml
<!--Authorship attestation. See AGENTS.md for details. AI agents must
not check this box on behalf
of the user; the human author must check it themselves before the PR is
ready for review.-->
#### Authorship
- [x] I, a human, wrote this pull request description myself.
<!--Please delete paragraphs that you did not use before submitting.-->
0 commit comments