Repository navigation
fix(activity): skip cleanly when no repositories are configured - #5
Open
michaelkage wants to merge 5 commits into
Open
michaelkage wants to merge 5 commits into
michaelkage wants to merge 5 commits into
Conversation
michaelkage
marked this pull request as ready for review
November 12, 2026 15:23
This branch has not been deployed
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
GH_ACTIVITY_TOKENandGH_ACTIVITY_REPOSas an intentional unconfigured state.Root cause
The November 12 scheduled run created the daily entry successfully, then discovered zero repositories because the account-wide token was absent and the journal repository is deliberately excluded from its own activity scan. The collector treated
0 results === 0 failures === 0 repositoriesas an all-repositories failure and exited non-zero. This change distinguishes an empty configuration from actual scan failures.Validation
The PR validation workflow passed on head
edd11ffef565f9cb0676f7bcffea76c4125e06b5: all JavaScript syntax checks passed and all 14 Node tests passed. The existingGH_ACTIVITY_TOKENsetup remains necessary for account-wide repository discovery; this patch makes its absence non-fatal, not equivalent to successful account-wide collection.