-
Notifications
You must be signed in to change notification settings - Fork 5
feat: add instrumented go shell script #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add instrumented go shell script #102
Conversation
77579dd
to
ea5cba7
Compare
ea5cba7
to
d8efbe3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds instrumentation for Go shell scripts by introducing a custom go
wrapper script that intercepts go test
commands and routes them through a specialized go-runner
tool while preserving normal behavior for other Go commands.
- Adds a new
introspected_golang
module with setup functionality for the Go wrapper script - Introduces a shell script that intercepts Go commands and routes test commands to
go-runner
- Integrates the Go instrumentation into the wall time executor by modifying PATH environment
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
src/run/runner/wall_time/mod.rs | Exports the new introspected_golang module |
src/run/runner/wall_time/introspected_golang/mod.rs | Implements setup function to create and configure the Go wrapper script |
src/run/runner/wall_time/introspected_golang/go.sh | Shell script that intercepts Go commands and routes test commands to go-runner |
src/run/runner/wall_time/executor.rs | Integrates Go instrumentation by adding the script directory to PATH |
d8efbe3
to
d3b14ff
Compare
d3b14ff
to
866d021
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
866d021
to
0e61ce5
Compare
0e61ce5
to
0d43ca2
Compare
No description provided.