aspect-build / aspect-build/aspect-cli-legacy
[Bug]: hints clobber stderr/out on bazel error
- Dominant language
- Go
- Stars
- 3
- Forks
- 1
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
### What happened?
The use of the `hints` feature captures+buffers+analyzes stderr/out, then does not handle errors gracefully. It seems stderr/out is missing when `bazel test` fails?
### Version
USE_BAZEL_VERSION=aspect/2026.7.4
### How to reproduce
1. Configure hints in the cli config.yaml.
2. `bazel test //...` which includes failing tests
3. `bazel run ...` of the failed test seems to not reproduce it?
### Any other information?
_No response_
Contributor guide
Research direction
Start by reproducing the issue with the hints feature enabled, then run `bazel test //...` with a failing test and compare its stderr/stdout with `bazel run ...` for the failed test. Trace the hints capture, buffering, analysis, and error-handling path; done means the original stderr/stdout remains available when `bazel test` fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, cli, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100