Skip to content

Sync ega v2.3.2 - #7

Merged
saramonzon merged 71 commits into
BU-ISCIII:mainfrom
magdasmat:sync-ega-v2.3.2
Oct 15, 2026
Merged

saramonzon merged 71 commits into
BU-ISCIII:mainfrom
magdasmat:sync-ega-v2.3.2

Conversation

@magdasmat

@magdasmat magdasmat commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

PR Description

Version: v2.3.2

Update Beacon API version to upstream EGA v2.3.2

  • Merges EGA-archive/main into our fork, bringing the API from v2.2.4 to v2.3.2. The Beacon spec version (api_version in conf.py) stays at v2.2.0, same as upstream.

Why

  • Allele frequency fix (67f2b5b): frequencyInPopulations sub-properties were not returned with the v2.2.0 model, which directly affects our AF Beacon responses.
  • Concurrency fixes (8dc05fe), removed limit on individuals→variants queries (71e5819), module caching, allowed URIs.
  • Built-in log rotation in the API (466476d).
  • Keeps us close to upstream so future syncs stay small.

What comes from upstream

  • requirements.txt: + SQLAlchemy, + psycopg2-binary, + datamodel-code-generator, - obonet.
  • Dockerfile: base image python:3.10-bullseye → python:3.10-bookworm.
  • get_descendants.py rewritten to use the EBI OLS4 REST API instead of downloading .obo files. Our previous obonet fix (27aebc6) is dropped.
  • Beacon v2.2.0 schemas as default, alternative/custom schema support.
  • Optional SQLAlchemy/PostgreSQL connector, disabled (beacon/conf/connections/connections_conf.yml).
  • template-ui config moved from template-ui/src/config/ to template-ui/config/.

Conflict resolution / ISCIII decisions

  • beacon/permissions/plugins.py: MongoPermissions adapted to upstream get_permissions(..., entry_type_id); without it every query fails.
  • .github/workflows/update_beacon_pi_version.yml: restricted to EGA-archive/beacon2-pi-api.
  • deploy/fix_permissions.sh: beacon log is now a directory (${APP_LOG_DIR}/beacon) owned by the beacon user, so the API can rotate it; no longer creates the unused certs dir.
  • docs/LEAME.md: log tree and certs note updated accordingly.

costero-e and others added 30 commits July 13, 2026 12:35
…veSchemas

Alternative Schemas feature done.
…veSchemas

Adding last missing things to beacon v2.3.0
…veSchemas

modifying version to make action succeed
costero-e and others added 22 commits September 15, 2026 11:00
Rotating files for logs written in file
…ls-genomics

removing limit for individuals to variants query
…ionalProperties

fixing allele frequency subproperties not showing up
…ionalProperties

Final fixes and RI Tools update
@saramonzon
saramonzon merged commit 238d84e into BU-ISCIII:main Oct 15, 2026
3 of 4 checks passed
@magdasmat
magdasmat deleted the sync-ega-v2.3.2 branch October 16, 2026 08:07
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.

4 participants