Skip to content

fix(cli): drop the value of unsupported go test flags - #67

Merged
not-matthias merged 1 commit into
mainfrom
cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned
Nov 2, 2026
Merged

not-matthias merged 1 commit into
mainfrom
cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned

Conversation

@not-matthias

@not-matthias not-matthias commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

TLDR: Unsupported go test flags were dropped, but their separate value became a package: go test -p 1 ./... -bench . failed with package 1 is not in std after the benchmarks ran. The parser now knows each Go flag's arity and drops the value too.

  • Go flags take 0 or 1 values, so cli.rs keeps the boolean (20) and value (47) flag lists from cmd/go (Go 1.24 to 1.27).
  • Boolean flags (-v, -race) drop only themselves; test -v fmt keeps fmt.
  • Value flags drop the next argument, even if it starts with - (-ldflags "-s -w").
  • Flags unknown to go test (custom test flags) drop the next argument unless it starts with -, like Go.
  • Unsupported flags still only warn (log::warn!); the run never fails before Go is invoked.

Review note: the flag lists need an update when Go adds go test or build flags.

Closes COD-4005

@codspeed

codspeed Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 15.49%

3 warnings

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ Unable to measure the execution of 1 benchmark

This benchmark measured no execution time, so its result is not comparable and counts as unchanged. This usually happens when the compiler removes the code under test.

Prevent compiler optimizations

See affected benchmarks

⚠️ 1 benchmark with a significant change ran on different hardware

Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

❌ 1 regressed benchmark
✅ 49 untouched benchmarks
⏩ 1 skipped benchmark1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ BenchmarkFibonacciDarwin 224.2 µs 265.3 µs -15.49%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned (a8f4f19) with main (84ece6e)

Open in CodSpeed

Footnotes

  1. 1 benchmark was skipped, so the baseline result was used instead. If it was deleted from the codebase, click here and archive it to remove it from the performance reports. ↩

@not-matthias
not-matthias force-pushed the cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned branch from 52a0d05 to 0458739 Compare October 30, 2026 18:20
@not-matthias
not-matthias marked this pull request as ready for review October 30, 2026 18:20
@not-matthias
not-matthias requested a review from lvaroqui October 30, 2026 18:21
@greptile-apps

greptile-apps Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The change affects command-line parsing across Go runner benchmark runs.

Fix unsupported flag rejection and use tracing for the added warning before merging.

Fix All in Claude CodeFindings

  1. P1 Flags change package selection ▶
  2. P2 Warning bypasses tracing ▶
Fix with agent prompt
### Issue 1
go-runner/src/cli.rs:133-139
With `test -v fmt`, the new code consumes `fmt` as a flag value and runs the default `./...` instead of the requested package. Conversely, `test -cpuprofile ./cpu.out ./...` keeps `./cpu.out` as a package, leaving the original failure unfixed.

Return `CliExit::UnknownFlag` before Go runs, as the PR description requires, rather than guessing which arguments belong to unsupported flags. Update the tests to expect rejection.

### Issue 2
go-runner/src/cli.rs:140
The new warning uses `eprintln!`, but the repository rule prohibits `println!` and `eprintln!` in Rust and requires tracing macros instead. Use `tracing::warn!` here to satisfy that requirement before merging.

```suggestion
                        tracing::warn!("ignoring value '{value}' of unsupported flag '{s}'");
```

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

The PR adds a helper that guesses whether an argument is a package and skips presumed values of unsupported flags.

  • The parser keeps many unsupported flag values out of the package list.

Reviews (1) · Last reviewed commit: "fix(cli): drop the value of unsupported ..." · Reviewed by Greptile

Comment thread go-runner/src/cli.rs Resolved
Comment thread go-runner/src/cli.rs Resolved
Comment thread go-runner/src/cli.rs Resolved
@not-matthias
not-matthias force-pushed the cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned branch from 0458739 to f865954 Compare November 2, 2026 14:28
@not-matthias not-matthias changed the title fix(cli): reject unsupported go test flags fix(cli): drop the value of unsupported go test flags Nov 2, 2026
@not-matthias
not-matthias force-pushed the cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned branch 2 times, most recently from 0f92d26 to b28e471 Compare November 2, 2026 14:34
@not-matthias
not-matthias requested a review from lvaroqui November 2, 2026 14:35

@lvaroqui lvaroqui left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM! 🎸

The parser warned about unsupported flags but dropped only the flag, so a
separate value was collected as a package. In `go test -p 1 ./... -bench .`,
`1` became a package and the run failed with `package 1 is not in std` after
the benchmarks completed.

Unsupported flags are now classified the way `go test` parses them. Go flags
take either no value (booleans such as `-v` or `-race`) or exactly one
(`-p 1`, `-p=1`), so the runner keeps both lists from cmd/go. Boolean flags
drop only themselves; value flags also drop the next argument, even when it
starts with `-` (`-ldflags "-s -w"`). Flags unknown to `go test`, such as
custom test flags, drop the next argument unless it starts with `-`, like Go
does. The run keeps going and never fails before Go is invoked.

Closes COD-4005
@not-matthias
not-matthias force-pushed the cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned branch from b28e471 to a8f4f19 Compare November 2, 2026 17:44
@not-matthias
not-matthias merged commit c64fb9b into main Nov 2, 2026
22 of 23 checks passed
@not-matthias
not-matthias deleted the cod-4005-handle-unsupported-go-runner-flags-without-leaving-orphaned branch November 2, 2026 17:54
gimsesu pushed a commit to gimsesu/opentelemetry-collector that referenced this pull request Nov 3, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v5.6.0` → `v5.6.3` |
|
[github/codeql-action](https://redirect.github.com/github/codeql-action)
| action | patch | `v4.39.1` → `v4.39.2` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/action</summary>

###
[`v5.6.3`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.6.3)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.6.1...v5.6.3)

Bumps the CodSpeed runner to
[v5.6.3](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.3),
including
[v5.6.2](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.2).

##### Highlights

##### Go benchmark times match `go test`

`b.Loop()` benchmarks that stop and restart the timer inside an
iteration now report all of their timed work. A round previously counted
only the time since the most recent `StartTimer`, so results for those
benchmarks will move.

##### Unsupported `go test` flags no longer fail the run

`go test -p 1 ./... -bench .` used to strip `-p`, parse `1` as a
package, and fail with `package 1 is not in std` after every benchmark
had passed. Flags and their values are now dropped together.

##### Fixed randomness in CPU Simulation

`getrandom()`, `/dev/urandom`, `AT_RANDOM` and hardware RNG instructions
now return the same values on every CPU Simulation run, removing one
source of run-to-run variance.

##### Fixes

- Simulation: fix SIGILL on arm64 when programs read previously
unsupported CPU ID registers or `TPIDRRO_EL0`
([#&open-telemetry#8203;59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)).
- Go: benchmarks that draw from the global `math/rand` now start from
the same seed on every run, so their results no longer vary between runs
([#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/codspeed/pull/596)).

##### 🚀 Features

- Seed Go's global math/rand deterministically
([#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/action/issues/596))
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/runner/pull/596)
- Always enable deterministic RNG
([#&open-telemetry#8203;600](https://redirect.github.com/CodSpeedHQ/action/issues/600))
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;600](https://redirect.github.com/CodSpeedHQ/runner/pull/600)

##### 🐛 Bug Fixes

- Bump go-runner to
[1.4.0](https://redirect.github.com/CodSpeedHQ/codspeed-go/releases/tag/v1.4.0)
([#&open-telemetry#8203;605](https://redirect.github.com/CodSpeedHQ/action/issues/605))
by [@&open-telemetry#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&open-telemetry#8203;605](https://redirect.github.com/CodSpeedHQ/runner/pull/605)
- fix(cli): drop the value of unsupported go test flags by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#67](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/67)
- fix(go-runner): count all timed segments of a b.Loop() iteration by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#69](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/69)

##### ⚙️ Internals

- Bump pinned valgrind-codspeed to
[3.26.0-0codspeed12](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/releases/tag/3.26.0-0codspeed12)
([#&open-telemetry#8203;604](https://redirect.github.com/CodSpeedHQ/action/issues/604))
by [@&open-telemetry#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&open-telemetry#8203;604](https://redirect.github.com/CodSpeedHQ/runner/pull/604)
- feat: add --deterministic-rng to make client randomness reproducible
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#54](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/54)
- feat(vex): serve arm64 RNDR and RNDRRS with --deterministic-rng by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#56](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/56)
- fix(vex): decode arm64 MRS of all EL0-visible ID registers by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- chore: bump runner version to 5.6.2 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;255](https://redirect.github.com/CodSpeedHQ/action/pull/255)
- chore: bump runner version to 5.6.3 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;256](https://redirect.github.com/CodSpeedHQ/action/pull/256)

**Full Changelog**:
<CodSpeedHQ/action@v5.6.1...v5.6.3>

###
[`v5.6.1`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.6.1)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.6.0...v5.6.1)

Bumps the CodSpeed runner to
[v5.6.1](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.1).

##### Fixes

- Walltime: the runner no longer hangs after the benchmark exits when a
Python process forks and leaves a corrupted perf jitdump
([#&open-telemetry#8203;599](https://redirect.github.com/CodSpeedHQ/codspeed/pull/599))
- Simulation: stop the libpython symlink warning from firing falsely
([#&open-telemetry#8203;594](https://redirect.github.com/CodSpeedHQ/codspeed/pull/594))

##### 🐛 Bug Fixes

- Stop the libpython symlink warning from firing falsely by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;594](https://redirect.github.com/CodSpeedHQ/runner/pull/594)

##### 💼 Other

- Bump submodule to not loop on corrupted jit dump by
[@&open-telemetry#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&open-telemetry#8203;599](https://redirect.github.com/CodSpeedHQ/runner/pull/599)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- docs(examples): update the example workflows by
[@&open-telemetry#8203;SuperMuel](https://redirect.github.com/SuperMuel) in
[#&open-telemetry#8203;252](https://redirect.github.com/CodSpeedHQ/action/pull/252)
- chore: bump runner version to 5.6.1 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;254](https://redirect.github.com/CodSpeedHQ/action/pull/254)

#### New Contributors

- [@&open-telemetry#8203;SuperMuel](https://redirect.github.com/SuperMuel) made their
first contribution in
[#&open-telemetry#8203;252](https://redirect.github.com/CodSpeedHQ/action/pull/252)

**Full Changelog**:
<CodSpeedHQ/action@v5.6.0...v5.6.1>

</details>

<details>
<summary>github/codeql-action</summary>

###
[`v4.39.2`](https://redirect.github.com/github/codeql-action/releases/tag/v4.39.2)

[Compare
Source](https://redirect.github.com/github/codeql-action/compare/v4.39.1...v4.39.2)

- Update default CodeQL bundle version to
[2.27.4](https://redirect.github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.4).
[#&open-telemetry#8203;4284](https://redirect.github.com/github/codeql-action/pull/4284)
- *Upcoming breaking change*: CodeQL version 2.22.3 and earlier were
discontinued on 16 October 2026 alongside GitHub Enterprise Server 3.18,
and will be unsupported by the next minor release of the CodeQL Action.
Added a deprecation warning for customers using these versions of
CodeQL.
[#&open-telemetry#8203;4266](https://redirect.github.com/github/codeql-action/pull/4266)
- Starting with macOS 27 and Xcode 27, traced analyses are unsupported.
See [this blog post for more
information](https://github.blog/changelog/2026-10-19-codeql-changes-for-macos-27-xcode-27-and-swift-6-4/).
The CodeQL Action will now try to identify if a workflow is about to
perform a traced analysis on version 27 or above of macOS or Xcode. If
so, the CodeQL Action will emit a corresponding warning that will also
be visible on the [Tool Status
Page](https://docs.github.com/en/code-security/how-tos/find-and-fix-code-vulnerabilities/manage-your-configuration/use-the-tools-status-page-for-code-scanning).
This check will be rolled out following this release of the CodeQL
Action.
[#&open-telemetry#8203;4221](https://redirect.github.com/github/codeql-action/pull/4221)
- The undocumented TRAP cache cleanup feature that could be enabled
using the `CODEQL_ACTION_CLEANUP_TRAP_CACHES` environment variable has
been removed, as announced in the release notes for CodeQL Action
4.35.2. The `analyze` Action now warns if this environment variable is
set. If you used TRAP cache cleanup to limit Actions cache usage, we
recommend disabling TRAP caching by passing the `trap-caching: false`
input to the `init` Action.
[#&open-telemetry#8203;4243](https://redirect.github.com/github/codeql-action/pull/4243)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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/open-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDIuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
NUAAwqy pushed a commit to NUAAwqy/opentelemetry-go that referenced this pull request Nov 4, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v5.6.1` → `v5.6.3` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/action</summary>

###
[`v5.6.3`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.6.3)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.6.1...v5.6.3)

Bumps the CodSpeed runner to
[v5.6.3](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.3),
including
[v5.6.2](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.2).

##### Highlights

##### Go benchmark times match `go test`

`b.Loop()` benchmarks that stop and restart the timer inside an
iteration now report all of their timed work. A round previously counted
only the time since the most recent `StartTimer`, so results for those
benchmarks will move.

##### Unsupported `go test` flags no longer fail the run

`go test -p 1 ./... -bench .` used to strip `-p`, parse `1` as a
package, and fail with `package 1 is not in std` after every benchmark
had passed. Flags and their values are now dropped together.

##### Fixed randomness in CPU Simulation

`getrandom()`, `/dev/urandom`, `AT_RANDOM` and hardware RNG instructions
now return the same values on every CPU Simulation run, removing one
source of run-to-run variance.

##### Fixes

- Simulation: fix SIGILL on arm64 when programs read previously
unsupported CPU ID registers or `TPIDRRO_EL0`
([#&open-telemetry#8203;59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)).
- Go: benchmarks that draw from the global `math/rand` now start from
the same seed on every run, so their results no longer vary between runs
([#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/codspeed/pull/596)).

##### 🚀 Features

- Seed Go's global math/rand deterministically
([#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/action/issues/596))
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/runner/pull/596)
- Always enable deterministic RNG
([#&open-telemetry#8203;600](https://redirect.github.com/CodSpeedHQ/action/issues/600))
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;600](https://redirect.github.com/CodSpeedHQ/runner/pull/600)

##### 🐛 Bug Fixes

- Bump go-runner to
[1.4.0](https://redirect.github.com/CodSpeedHQ/codspeed-go/releases/tag/v1.4.0)
([#&open-telemetry#8203;605](https://redirect.github.com/CodSpeedHQ/action/issues/605))
by [@&open-telemetry#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&open-telemetry#8203;605](https://redirect.github.com/CodSpeedHQ/runner/pull/605)
- fix(cli): drop the value of unsupported go test flags by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#67](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/67)
- fix(go-runner): count all timed segments of a b.Loop() iteration by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#69](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/69)

##### ⚙️ Internals

- Bump pinned valgrind-codspeed to
[3.26.0-0codspeed12](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/releases/tag/3.26.0-0codspeed12)
([#&open-telemetry#8203;604](https://redirect.github.com/CodSpeedHQ/action/issues/604))
by [@&open-telemetry#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&open-telemetry#8203;604](https://redirect.github.com/CodSpeedHQ/runner/pull/604)
- feat: add --deterministic-rng to make client randomness reproducible
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#54](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/54)
- feat(vex): serve arm64 RNDR and RNDRRS with --deterministic-rng by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#56](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/56)
- fix(vex): decode arm64 MRS of all EL0-visible ID registers by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- chore: bump runner version to 5.6.2 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;255](https://redirect.github.com/CodSpeedHQ/action/pull/255)
- chore: bump runner version to 5.6.3 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;256](https://redirect.github.com/CodSpeedHQ/action/pull/256)

**Full Changelog**:
<CodSpeedHQ/action@v5.6.1...v5.6.3>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
NUAAwqy pushed a commit to NUAAwqy/opentelemetry-go that referenced this pull request Nov 5, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v5.6.1` → `v5.6.3` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/action</summary>

###
[`v5.6.3`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.6.3)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.6.1...v5.6.3)

Bumps the CodSpeed runner to
[v5.6.3](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.3),
including
[v5.6.2](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.2).

##### Highlights

##### Go benchmark times match `go test`

`b.Loop()` benchmarks that stop and restart the timer inside an
iteration now report all of their timed work. A round previously counted
only the time since the most recent `StartTimer`, so results for those
benchmarks will move.

##### Unsupported `go test` flags no longer fail the run

`go test -p 1 ./... -bench .` used to strip `-p`, parse `1` as a
package, and fail with `package 1 is not in std` after every benchmark
had passed. Flags and their values are now dropped together.

##### Fixed randomness in CPU Simulation

`getrandom()`, `/dev/urandom`, `AT_RANDOM` and hardware RNG instructions
now return the same values on every CPU Simulation run, removing one
source of run-to-run variance.

##### Fixes

- Simulation: fix SIGILL on arm64 when programs read previously
unsupported CPU ID registers or `TPIDRRO_EL0`
([#&open-telemetry#8203;59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)).
- Go: benchmarks that draw from the global `math/rand` now start from
the same seed on every run, so their results no longer vary between runs
([#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/codspeed/pull/596)).

##### 🚀 Features

- Seed Go's global math/rand deterministically
([#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/action/issues/596))
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;596](https://redirect.github.com/CodSpeedHQ/runner/pull/596)
- Always enable deterministic RNG
([#&open-telemetry#8203;600](https://redirect.github.com/CodSpeedHQ/action/issues/600))
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&open-telemetry#8203;600](https://redirect.github.com/CodSpeedHQ/runner/pull/600)

##### 🐛 Bug Fixes

- Bump go-runner to
[1.4.0](https://redirect.github.com/CodSpeedHQ/codspeed-go/releases/tag/v1.4.0)
([#&open-telemetry#8203;605](https://redirect.github.com/CodSpeedHQ/action/issues/605))
by [@&open-telemetry#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&open-telemetry#8203;605](https://redirect.github.com/CodSpeedHQ/runner/pull/605)
- fix(cli): drop the value of unsupported go test flags by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#67](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/67)
- fix(go-runner): count all timed segments of a b.Loop() iteration by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#69](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/69)

##### ⚙️ Internals

- Bump pinned valgrind-codspeed to
[3.26.0-0codspeed12](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/releases/tag/3.26.0-0codspeed12)
([#&open-telemetry#8203;604](https://redirect.github.com/CodSpeedHQ/action/issues/604))
by [@&open-telemetry#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&open-telemetry#8203;604](https://redirect.github.com/CodSpeedHQ/runner/pull/604)
- feat: add --deterministic-rng to make client randomness reproducible
by [@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#54](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/54)
- feat(vex): serve arm64 RNDR and RNDRRS with --deterministic-rng by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#56](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/56)
- fix(vex): decode arm64 MRS of all EL0-visible ID registers by
[@&open-telemetry#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- chore: bump runner version to 5.6.2 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;255](https://redirect.github.com/CodSpeedHQ/action/pull/255)
- chore: bump runner version to 5.6.3 by
[@&open-telemetry#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&open-telemetry#8203;256](https://redirect.github.com/CodSpeedHQ/action/pull/256)

**Full Changelog**:
<CodSpeedHQ/action@v5.6.1...v5.6.3>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate Bot added a commit to gigabit-clowns/rexlib-metadata that referenced this pull request Nov 6, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v5.6.0` → `v5.6.3` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/action</summary>

###
[`v5.6.3`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.6.3)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.6.1...v5.6.3)

Bumps the CodSpeed runner to
[v5.6.3](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.3),
including
[v5.6.2](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.2).

##### Highlights

##### Go benchmark times match `go test`

`b.Loop()` benchmarks that stop and restart the timer inside an
iteration now report all of their timed work. A round previously counted
only the time since the most recent `StartTimer`, so results for those
benchmarks will move.

##### Unsupported `go test` flags no longer fail the run

`go test -p 1 ./... -bench .` used to strip `-p`, parse `1` as a
package, and fail with `package 1 is not in std` after every benchmark
had passed. Flags and their values are now dropped together.

##### Fixed randomness in CPU Simulation

`getrandom()`, `/dev/urandom`, `AT_RANDOM` and hardware RNG instructions
now return the same values on every CPU Simulation run, removing one
source of run-to-run variance.

##### Fixes

- Simulation: fix SIGILL on arm64 when programs read previously
unsupported CPU ID registers or `TPIDRRO_EL0`
([#&#8203;59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)).
- Go: benchmarks that draw from the global `math/rand` now start from
the same seed on every run, so their results no longer vary between runs
([#&#8203;596](https://redirect.github.com/CodSpeedHQ/codspeed/pull/596)).

##### 🚀 Features

- Seed Go's global math/rand deterministically
([#&#8203;596](https://redirect.github.com/CodSpeedHQ/action/issues/596))
by [@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;596](https://redirect.github.com/CodSpeedHQ/runner/pull/596)
- Always enable deterministic RNG
([#&#8203;600](https://redirect.github.com/CodSpeedHQ/action/issues/600))
by [@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;600](https://redirect.github.com/CodSpeedHQ/runner/pull/600)

##### 🐛 Bug Fixes

- Bump go-runner to
[1.4.0](https://redirect.github.com/CodSpeedHQ/codspeed-go/releases/tag/v1.4.0)
([#&#8203;605](https://redirect.github.com/CodSpeedHQ/action/issues/605))
by [@&#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&#8203;605](https://redirect.github.com/CodSpeedHQ/runner/pull/605)
- fix(cli): drop the value of unsupported go test flags by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#67](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/67)
- fix(go-runner): count all timed segments of a b.Loop() iteration by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/codspeed-go#69](https://redirect.github.com/CodSpeedHQ/codspeed-go/pull/69)

##### ⚙️ Internals

- Bump pinned valgrind-codspeed to
[3.26.0-0codspeed12](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/releases/tag/3.26.0-0codspeed12)
([#&#8203;604](https://redirect.github.com/CodSpeedHQ/action/issues/604))
by [@&#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&#8203;604](https://redirect.github.com/CodSpeedHQ/runner/pull/604)
- feat: add --deterministic-rng to make client randomness reproducible
by [@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#54](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/54)
- feat(vex): serve arm64 RNDR and RNDRRS with --deterministic-rng by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#56](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/56)
- fix(vex): decode arm64 MRS of all EL0-visible ID registers by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[CodSpeedHQ/valgrind-codspeed#59](https://redirect.github.com/CodSpeedHQ/valgrind-codspeed/pull/59)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- chore: bump runner version to 5.6.2 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;255](https://redirect.github.com/CodSpeedHQ/action/pull/255)
- chore: bump runner version to 5.6.3 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;256](https://redirect.github.com/CodSpeedHQ/action/pull/256)

**Full Changelog**:
<CodSpeedHQ/action@v5.6.1...v5.6.3>

###
[`v5.6.1`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.6.1)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.6.0...v5.6.1)

Bumps the CodSpeed runner to
[v5.6.1](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.6.1).

##### Fixes

- Walltime: the runner no longer hangs after the benchmark exits when a
Python process forks and leaves a corrupted perf jitdump
([#&#8203;599](https://redirect.github.com/CodSpeedHQ/codspeed/pull/599))
- Simulation: stop the libpython symlink warning from firing falsely
([#&#8203;594](https://redirect.github.com/CodSpeedHQ/codspeed/pull/594))

##### 🐛 Bug Fixes

- Stop the libpython symlink warning from firing falsely by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;594](https://redirect.github.com/CodSpeedHQ/runner/pull/594)

##### 💼 Other

- Bump submodule to not loop on corrupted jit dump by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;599](https://redirect.github.com/CodSpeedHQ/runner/pull/599)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- docs(examples): update the example workflows by
[@&#8203;SuperMuel](https://redirect.github.com/SuperMuel) in
[#&#8203;252](https://redirect.github.com/CodSpeedHQ/action/pull/252)
- chore: bump runner version to 5.6.1 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;254](https://redirect.github.com/CodSpeedHQ/action/pull/254)

#### New Contributors

- [@&#8203;SuperMuel](https://redirect.github.com/SuperMuel) made their
first contribution in
[#&#8203;252](https://redirect.github.com/CodSpeedHQ/action/pull/252)

**Full Changelog**:
<CodSpeedHQ/action@v5.6.0...v5.6.1>

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/Madrid)

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

---

- [x] <!-- 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/gigabit-clowns/rexlib-metadata).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Salinas <ssalinasmartin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants