Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 28, 2025

This PR contains the following updates:

Package Change Age Confidence
go:github.com/grafana/oats 0.4.1 -> 0.5.0 age confidence

Warning

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.0

Compare Source

What's Changed

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
# ❌ Old (no longer works)
logs:
  - logql: '{job="app"}'
    contains: ["error"]

# ✅ New
logs:
  - logql: '{job="app"}'
    regexp: "error"
logs:
  - logql: '{job="app"}'
-   contains: ["error"]
+   regexp: "error"
2. Remove spans array from traces
# ❌ Old (no longer works)
traces:
  - traceql: '{}'
    spans:
      - name: "GET /api"

# ✅ New
traces:
  - traceql: '{}'
    equals: "GET /api"
traces:
  - traceql: '{}'
-   spans:
-     - name: "GET /api"
+   equals: "GET /api"
3. Update profile flamebearers
# ❌ 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"
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.


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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 28, 2025
@renovate renovate bot enabled auto-merge (squash) November 28, 2025 17:46
@renovate renovate bot merged commit 7e3f697 into main Nov 28, 2025
35 checks passed
@renovate renovate bot deleted the renovate/go-github.com-grafana-oats-0.x branch November 28, 2025 17:52
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` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrafana%2foats/v0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrafana%2foats/v0.4.1/v0.5.0?slim=true)](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
[@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in
[#&#8203;192](https://redirect.github.com/grafana/oats/pull/192)
- add Integration tests by
[@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in
[#&#8203;193](https://redirect.github.com/grafana/oats/pull/193)
- better handling for deprecated fields by
[@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in
[#&#8203;194](https://redirect.github.com/grafana/oats/pull/194)
- releasing by
[@&#8203;zeitlinger](https://redirect.github.com/zeitlinger) in
[#&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant