Skip to content

Use git trees to minimize the number of API calls in tests #2715

Merged
deepakunni3 merged 2 commits intoOBOFoundry:masterfrom
deepakunni3:issue-2708
May 9, 2025
Merged

Use git trees to minimize the number of API calls in tests #2715
deepakunni3 merged 2 commits intoOBOFoundry:masterfrom
deepakunni3:issue-2708

Conversation

@deepakunni3
Copy link
Copy Markdown
Member

@deepakunni3 deepakunni3 commented May 6, 2025

Use Git trees to minimize the number of API calls when checking for existence of PURL configuration.

Previously the check resulted in hundreds of API calls to https://github.com/OBOFoundry/purl.obolibrary.org

This PR simplifies the test into a single API call. Many thanks to @jamesaoverton and @jsstevenson for identifying the issue and giving the idea of using Git trees.

See #2708 for more context.

Copy link
Copy Markdown
Member

@jamesaoverton jamesaoverton left a comment

Choose a reason for hiding this comment

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

Thanks!

@deepakunni3 deepakunni3 merged commit 1517c44 into OBOFoundry:master May 9, 2025
3 checks passed
@deepakunni3 deepakunni3 deleted the issue-2708 branch May 9, 2025 06:49
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