Skip to content

Disable harvesting from archived OGM repositories - #19

Merged
ewlarson merged 1 commit into
developfrom
feature/disable-archived-ogm-repositories
Oct 3, 2026
Merged

ewlarson merged 1 commit into
developfrom
feature/disable-archived-ogm-repositories

Conversation

@ewlarson

@ewlarson ewlarson commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

Archived BTAA repositories remained enabled because discovery filtered them out before updating the catalog. Starting a harvest also overwrote saved repository settings. This change reconciles archived repositories as disabled and preserves those settings, allowing the active geobtaa repository to supply migrated metadata.

  • Skip disabled or archived sources when scheduling and executing harvests, including already queued jobs.
  • Handle repository archive webhooks and exclude archived checkouts from standalone record streaming.
  • Retain previously harvested records; disabling a repository does not delete its data.

Validation: 21 focused tests passed covering discovery, scheduling, harvest execution, search synchronization, webhooks, and standalone streaming. Ruff and diff checks passed. Database integration tests were not run because local services are stopped.

After merge, cut a new release and deploy it to production, then refresh the repository catalog, pull the current metadata, and reindex. Production has only been inspected; no deployment, metadata refresh, or reindex was performed for this PR.

Fixes #15.

@ewlarson
ewlarson merged commit 05ea2b0 into develop Oct 3, 2026
3 checks passed
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.

Disable harvesting from archived BTAA repositories

1 participant