Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Err Management around UpdateRepos #607

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Conversation

coreyogburn
Copy link
Contributor

RefreshAiSummaries now returns any repo errors it gets. They get logged, but won't impact the Sync.

When cloning a repo fails, return the error instead of only logging it. Not returning the error risks deleting "unreferenced" rules from that repo.

Sync tests no longer have showAiSummaries set to true. The lastSuccessfulAiUpdate variable wasn't being reset between tests and was wrecking havoc.

RefreshAiSummaries now returns any repo errors it gets. They get logged, but won't impact the Sync.

When cloning a repo fails, return the error instead of only logging it. Not returning the error risks deleting "unreferenced" rules from that repo.

Sync tests no longer have `showAiSummaries` set to true. The `lastSuccessfulAiUpdate` variable wasn't being reset between tests and was wrecking havoc.
@coreyogburn coreyogburn merged commit 03c8817 into 2.4/dev Aug 8, 2024
3 checks passed
@coreyogburn coreyogburn deleted the cogburn/clone-err branch August 8, 2024 21:26
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants