feat: Add weekly-report.sh scoped to core repos - #59
Open
rubambiza wants to merge 2 commits into
Open
Conversation
Assisted-By: Claude Code (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
Assisted-By: Claude Code (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
clawgenti
reviewed
Aug 18, 2026
clawgenti
left a comment
Contributor
There was a problem hiding this comment.
Adds scripts/weekly-report.sh, a thin wrapper that resolves the org identity and core-repo allowlist via the shared library, then invokes report.py --repos scoped to exactly those repos — plus a hermetic test covering arg-building, date-range pass-through, and fail-loud on a missing generator.
All checks pass. Ready for human review.
Reviewed by clawgenti using the github-pr-review skill
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.
Summary
Adds
scripts/weekly-report.sh, a thin wrapper that scopes the weekly orgreport to the curated core-repo allowlist instead of discovering every repo
in the org.
The wrapper resolves the org identity and the core-repo list through the
shared library (
load_org_profile+get_core_repos), then invokes thePython report generator with
--reposset to exactly those repos. When thegenerator is called without
--repos(the previous default), org-widediscovery is unchanged, so this is additive.
Changes
scripts/weekly-report.sh— wrapper: resolves org + core allowlist, buildsreport.py --org <org> --repos <core repos> [--since/--until/--output/--json-output],fails loud when the allowlist is empty or the generator is missing.
Supports
--profileand--orgoverrides.tests/test-weekly-report.sh— hermetic test (fixture allowlist viaCORE_REPOS_FILE, stub generator viaREPORT_PY): asserts arg-building,--since/--untilpass-through, and fail-loud on a missing generator. Nonetwork or real config touched.
.github/workflows/tests.yml— wires the new test into the suite runner.The companion
--repossupport in the generator lives inrossoctl/agent-skills (separate PR).
Fixes #57
Assisted-By: Claude Code