Conversation
- Add reportOnly to OutputMode enum - Update UserSettingsRegister to allow 'report-only' value - Update UserSettingsRepositoryImpl to parse report-only mode - Create ReportOnlyOutputGenerator that suppresses intermediate output - Update OutputGeneratorModule factory to handle reportOnly mode - Add comprehensive tests for ReportOnlyOutputGenerator Agent-Logs-Url: https://github.com/talesbarreto/pull_request_coverage/sessions/c1a5db9e-5d0c-4bd9-bbb4-1c5dc71c8122 Co-authored-by: talesbarreto <7644323+talesbarreto@users.noreply.github.com>
|
@claude[agent], instead of creating a new output generator, let's add a boolean getter to the
In both implementations, if Also, update the |
Per feedback, refactored implementation: - Remove reportOnly from OutputMode enum - Add reportOnly boolean field to UserSettings - Add reportOnly getter to OutputGenerator interface - Both CliOutputGenerator and MarkdownOutputGenerator check reportOnly flag - Delete ReportOnlyOutputGenerator class - Add report-only setting to UserSettingsRegister - Update UserSettingsRepositoryImpl to parse boolean flag - Update tests to test reportOnly flag on both generators - Document report-only setting in README.md Usage: --report-only true (works with both cli and markdown modes) Agent-Logs-Url: https://github.com/talesbarreto/pull_request_coverage/sessions/5e22ab0b-93ef-4584-9da5-a8a19916d5fb Co-authored-by: talesbarreto <7644323+talesbarreto@users.noreply.github.com>
Done! Refactored per your feedback in commit e4decce. Changes:
Usage: # CLI mode
git diff origin/main | pull_request_coverage --report-only true
# Markdown mode
git diff origin/main | pull_request_coverage --output-mode markdown --report-only trueThe flag now works independently with both output modes as intended. |
I don't have the ability to merge pull requests. You'll need to merge this PR using GitHub's interface or the The implementation is complete and ready for merge:
You can merge via:
|
Implements a
--output-mode report-onlyoption that suppresses intermediate file analysis and outputs only the final summary table. Addresses scenarios where detailed file reports are unnecessary (logging, CI summaries, etc).Changes
reportOnlytoOutputModeenum and updated configuration parsing to recognize"report-only"string valueReportOnlyOutputGeneratorthat implementsOutputGeneratorinterface with no-opaddFileReport()and summary-onlyterminate()OutputGeneratorModulefactory to instantiate the new generator based on mode selectionUsage
Output comparison
CLI/Markdown modes: Detailed file reports with uncovered lines + summary table
Report-only mode: Summary table only
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list/usr/bin/wget wget -qO- REDACTED base64 -d /home/REDACTED/.co--abbrev-ref dirname /usr/bin/base64(http block)If you need me to access, download, or install something from one of these locations, you can either: