Skip to content

Conversation

@marius-mather
Copy link
Collaborator

Description

bpa_galaxy group was still referenced in the code in a few places, completely remove it and update tests to not reference it.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes all references to the bpa_galaxy group from the codebase, completing the cleanup of deprecated BPA/Galaxy group functionality.

  • Removed BPA_GALAXY enum value and its associated metadata from GroupEnum and GROUP_NAMES
  • Updated all test cases to use generic group names or the TSI group instead of bpa_galaxy
  • Removed bpa_galaxy from admin router mappings and documentation

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
db/types.py Removed BPA_GALAXY enum value and its entry from GROUP_NAMES dictionary
routers/admin.py Removed bpa_galaxy from GROUP_MAPPING and updated filter description
tests/test_user.py Replaced bpa_group references with generic other_group in profile tests
tests/test_biocommons_register.py Updated comment to clarify test purpose (no bundle selection)
tests/test_admin.py Removed test case for bpa_galaxy group filtering, updated filter options assertions, added mock for GroupEnum
tests/schemas/test_biocommons_schemas.py Removed bpa_group membership creation from profile test
tests/scheduled_tasks/test_tasks.py Refactored test to use parameterized groups enum for better testability
tests/datagen.py Changed default bundle from bpa_galaxy to tsi
scheduled_tasks/tasks.py Added groups parameter to populate_db_groups function for testability

@marius-mather marius-mather merged commit 038bbcc into main Nov 11, 2025
10 checks passed
@amandazhuyilan amandazhuyilan deleted the chore/remove-bpa-galaxy branch November 24, 2025 22:22
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.

3 participants