Skip to content
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

Stream test logs to custom test runner #682

Open
cbarrete opened this issue Jun 14, 2024 · 1 comment
Open

Stream test logs to custom test runner #682

cbarrete opened this issue Jun 14, 2024 · 1 comment

Comments

@cbarrete
Copy link
Contributor

Hello,

I'm looking into writing a custom test runner for the purpose of better integrating with CI. The two features that I care most about right now are segregating test outputs and retriggering of specific tests.

I was wondering what the recommended way of streaming test outputs was. It seems like orchestrator_client.execute2 only provides execution responses once the test is done, which does not let users follow ongoing test executions.

It seems like a custom TestExecutor doesn't have those capabilities. I've also started to look into writing a custom orchestrator, but that looks like a significantly bigger endeavor.

@cbarrete
Copy link
Contributor Author

I have just learned about Bazel's Remote Logstream API, which might be of interest to people reading this issue.
Is it planned for Buck2 to eventually implement this API, or otherwise provide similar functionality?

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

No branches or pull requests

1 participant