Skip to content

Exclude archived repositories from indexing#54

Merged
JaredHatfield merged 2 commits intomainfrom
copilot/update-handle-archived-repositories
Feb 25, 2026
Merged

Exclude archived repositories from indexing#54
JaredHatfield merged 2 commits intomainfrom
copilot/update-handle-archived-repositories

Conversation

Copy link
Contributor

Copilot AI commented Feb 24, 2026

Archived repositories cannot be modified, so indexing them provides no value. This change ensures they are filtered out at the repository listing stage and documents the behavior.

Changes

  • main.go: fetchRepositories already skips archived repos via repo.GetArchived() — no code change needed
  • README.md: Added "Archived Repositories" section documenting that archived repos are filtered out at the GitHub API listing stage and will not be indexed
Original prompt

Update this application to properly handle GitHub repositories that are archived. Archived repository should effectively be ignored. They cannot be modified, therefore treat them like they don't exist. When listing all of the repositories ideally filter them out at that stage so they are not even listed. If they cannot be filtered out at that stage then when they are retrieved and the details provided filter them out at that stage. Update the relevant docs to mention this behavior.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: JaredHatfield <208119+JaredHatfield@users.noreply.github.com>
Copilot AI changed the title [WIP] Update application to handle archived GitHub repositories Exclude archived repositories from indexing Feb 24, 2026
Copilot AI requested a review from JaredHatfield February 24, 2026 22:42
@JaredHatfield JaredHatfield marked this pull request as ready for review February 24, 2026 22:46
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (a741e0a) to head (5619588).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #54   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          1       1           
  Lines        750     750           
=====================================
  Misses       750     750           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JaredHatfield JaredHatfield merged commit 98f22ae into main Feb 25, 2026
5 checks passed
@JaredHatfield JaredHatfield deleted the copilot/update-handle-archived-repositories branch February 25, 2026 02:24
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