Skip to content

feat(go-runner): collect Go toolchain environment information#57

Open
GuillaumeLagrange wants to merge 1 commit intomainfrom
cod-2416-implement-toolchain-harvesting-for-node-python-and-go
Open

feat(go-runner): collect Go toolchain environment information#57
GuillaumeLagrange wants to merge 1 commit intomainfrom
cod-2416-implement-toolchain-harvesting-for-node-python-and-go

Conversation

@GuillaumeLagrange
Copy link
Copy Markdown

@GuillaumeLagrange GuillaumeLagrange commented Mar 27, 2026

Integrate with the new instrument-hooks environment collection API to report Go toolchain metadata (version, OS, arch) alongside benchmark runs. Updates instrument-hooks to e86719c which adds the set_environment/write_environment C API.

Generated with AI Agent (Claude Code)

{
  "sections": {
    "Go": {
      "version": "go1.25.4",
      "arch": "amd64"
    }
  }
}

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 27, 2026

Merging this PR will not alter performance

✅ 48 untouched benchmarks
⏩ 1 skipped benchmark1


Comparing cod-2416-implement-toolchain-harvesting-for-node-python-and-go (7f7333f) with main (12ee23e)

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.

Integrate with the new instrument-hooks environment collection API to
report Go toolchain metadata (version, OS, arch) alongside benchmark
runs. Updates instrument-hooks to e86719c which adds the
set_environment/write_environment C API.

Generated with AI Agent (Claude Code)
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2416-implement-toolchain-harvesting-for-node-python-and-go branch from 61ab144 to 7f7333f Compare March 27, 2026 11:42
@GuillaumeLagrange GuillaumeLagrange marked this pull request as ready for review March 27, 2026 11:45
Comment on lines +17 to +19
hooks.SetEnvironment("Go", "version", runtime.Version())
hooks.SetEnvironment("Go", "arch", runtime.GOARCH)
hooks.WriteEnvironment(uint32(os.Getpid()))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's use go, to be able to use it as a slug

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