Add local mode to run without Reporter and Slacker#48
Merged
Conversation
Developers can now run the harness without an Information Radiator or a Slack workspace via a new `--local` CLI switch. In local mode the harness makes no network calls to either service: a LocalReporter hands out sequential ids and logs instead of uploading, and a LocalSlacker logs notifications and saves the CSV/JSON results and performance artifacts to disk under `--output_dir` (default `test_results/`). The stand-ins also kick in automatically when a service isn't configured: if Slack has no webhook/token/channel, results are saved locally; if the Information Radiator has no base URL/refresh token, the local reporter is used. `Reporter.is_configured` / `Slacker.is_configured` centralize that detection. Local result filenames are sanitized and de-duplicated so, for example, the acceptance and performance JSON summaries don't clobber each other. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKBHvKbt1zt5hGN215VtNv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Developers can now run the harness without an Information Radiator or a Slack workspace via a new
--localCLI switch. In local mode the harness makes no network calls to either service: a LocalReporter hands out sequential ids and logs instead of uploading, and a LocalSlacker logs notifications and saves the CSV/JSON results and performance artifacts to disk under--output_dir(defaulttest_results/).The stand-ins also kick in automatically when a service isn't configured: if Slack has no webhook/token/channel, results are saved locally; if the Information Radiator has no base URL/refresh token, the local reporter is used.
Reporter.is_configured/Slacker.is_configuredcentralize that detection.Local result filenames are sanitized and de-duplicated so, for example, the acceptance and performance JSON summaries don't clobber each other.
Claude-Session: https://claude.ai/code/session_01QKBHvKbt1zt5hGN215VtNv