Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This change fixes the sorting of the trending report, adds a verbose mode, and corrects the reporter listing.


PR created automatically by Jules for task 5359233296065081687

This commit introduces a verbose mode, fixes the sorting order of the trending report, and corrects the reporter listing in the help message.

- A `-v` or `--verbose` flag has been added to `dashboard.sh`. When used, it enables debug messages that show the script's execution flow.
- The `reporters/trending.sh` script now sorts the 'Change' column numerically, correctly handling positive and negative values.
- The `dashboard.sh` help message now only lists `.sh` files as available reporters, excluding other files like `README.md`.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

This commit renames the `reporters` directory and functionality to `overviews` to avoid confusion with the `reports` directory.

- The `reporters/` directory has been renamed to `overviews/`.
- The command-line flag to run these scripts has been changed from `-r, --reporter` to `-o, --overview`.
- All related documentation has been updated to reflect these changes.
This commit updates the README.md in the overviews/ directory to include a list of the current overviews and a short summary for each.
This commit addresses several issues found during PR review and testing:

- The `dashboard.sh` script now provides a helpful message when a module produces no output, instead of failing silently.
- The `test/dashboard.bats` test file has been updated to reflect the change from `reporters` to `overviews`.
- Error handling in the `modules/crypto.sh` script has been improved to provide clearer messages when `bitcoin-cli` fails.
- Flaky tests in `test/crypto.bats` have been stabilized.
@attogram attogram marked this pull request as ready for review September 20, 2025 21:22
@attogram attogram merged commit 08261dc into main Sep 20, 2025
2 checks passed
@attogram attogram deleted the fix/trending-report-and-verbose-mode branch September 20, 2025 21:23
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

Successfully merging this pull request may close these issues.

2 participants