chore(deps): update module go:github.com/grafana/oats to v0.5.0#1707
Merged
renovate[bot] merged 1 commit intomainfrom Nov 28, 2025
Merged
chore(deps): update module go:github.com/grafana/oats to v0.5.0#1707renovate[bot] merged 1 commit intomainfrom
renovate[bot] merged 1 commit intomainfrom
Conversation
jaydeluca
pushed a commit
that referenced
this pull request
Dec 8, 2025
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [go:github.com/grafana/oats](https://redirect.github.com/grafana/oats) | `0.4.1` -> `0.5.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>grafana/oats (go:github.com/grafana/oats)</summary> ### [`v0.5.0`](https://redirect.github.com/grafana/oats/releases/tag/v0.5.0) [Compare Source](https://redirect.github.com/grafana/oats/compare/v0.4.1...v0.5.0) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed - clean up trace syntax + add expected range + add more tests by [@​zeitlinger](https://redirect.github.com/zeitlinger) in [#​192](https://redirect.github.com/grafana/oats/pull/192) - add Integration tests by [@​zeitlinger](https://redirect.github.com/zeitlinger) in [#​193](https://redirect.github.com/grafana/oats/pull/193) - better handling for deprecated fields by [@​zeitlinger](https://redirect.github.com/zeitlinger) in [#​194](https://redirect.github.com/grafana/oats/pull/194) - releasing by [@​zeitlinger](https://redirect.github.com/zeitlinger) in [#​195](https://redirect.github.com/grafana/oats/pull/195) **Full Changelog**: <grafana/oats@v0.4.1...v0.5.0> ####⚠️ Breaking Changes - Migration Required This release enforces stricter validation and **removes support for deprecated YAML syntax**. You must update your test files when upgrading. ##### Required Changes to Your YAML Files ##### 1. Replace `contains` with `regexp` ```yaml # ❌ Old (no longer works) logs: - logql: '{job="app"}' contains: ["error"] # ✅ New logs: - logql: '{job="app"}' regexp: "error" ``` ```diff logs: - logql: '{job="app"}' - contains: ["error"] + regexp: "error" ``` ##### 2. Remove `spans` array from traces ```yaml # ❌ Old (no longer works) traces: - traceql: '{}' spans: - name: "GET /api" # ✅ New traces: - traceql: '{}' equals: "GET /api" ``` ```diff traces: - traceql: '{}' - spans: - - name: "GET /api" + equals: "GET /api" ``` ##### 3. Update profile flamebearers ```yaml # ❌ Old (no longer works) profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: contains: "my-function" # ✅ New profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: equals: "my-function" ``` ```diff profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: - contains: "my-function" + equals: "my-function" ``` *** ##### What Changed - **Enforced validation for deprecated fields** - Previously deprecated syntax now causes test failures - **Added comprehensive test coverage** - 70+ unit tests ensure proper validation of all YAML configurations - **Stricter input validation** - HTTP methods, schemes, status codes, and request bodies are now strictly validated These changes improve the reliability and consistency of OATS test definitions. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xOS45IiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Jay DeLuca <jaydeluca4@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 contains the following updates:
0.4.1->0.5.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
grafana/oats (go:github.com/grafana/oats)
v0.5.0Compare Source
What's Changed
Full Changelog: grafana/oats@v0.4.1...v0.5.0
This release enforces stricter validation and removes support for deprecated YAML syntax. You must update your test files when upgrading.
Required Changes to Your YAML Files
1. Replace
containswithregexplogs: - logql: '{job="app"}' - contains: ["error"] + regexp: "error"2. Remove
spansarray from tracestraces: - traceql: '{}' - spans: - - name: "GET /api" + equals: "GET /api"3. Update profile flamebearers
profiles: - query: 'process_cpu:cpu:nanoseconds:cpu:nanoseconds' flamebearers: - contains: "my-function" + equals: "my-function"What Changed
These changes improve the reliability and consistency of OATS test definitions.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.