Skip to content

Conversation

@dannon
Copy link
Member

@dannon dannon commented Jun 6, 2025

Support compact identifiers (e.g., drs://drs.anv0:object-id) by resolving prefixes via identifiers.org. Includes caching and tests.

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

Copy link
Member

@jmchilton jmchilton left a comment

Choose a reason for hiding this comment

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

Very exciting - thanks for the tests!

@dannon dannon force-pushed the compact-drs branch 2 times, most recently from f6b199f to 298521a Compare September 8, 2025 18:20
@dannon dannon marked this pull request as ready for review September 29, 2025 22:04
@dannon dannon added this to the 25.1 milestone Sep 29, 2025
@github-actions github-actions bot added this to the 26.0 milestone Sep 29, 2025
@dannon dannon modified the milestones: 26.0, 25.1 Sep 29, 2025
@dannon dannon force-pushed the compact-drs branch 2 times, most recently from de0f1f3 to d40e20f Compare September 29, 2025 22:06
@davelopez
Copy link
Contributor

This one probably needs a rebase to see if the linting errors are gone

@dannon
Copy link
Member Author

dannon commented Jan 27, 2026

I'm going to rebase this and prune it back to what was approved and not try to do drs-via-filesources in this branch, that will be a followup.

Support compact identifiers (e.g., drs://drs.anv0:object-id) by
resolving prefixes via identifiers.org. Includes caching and tests.
Refactor S3 download logic, add type hints, enhance error handling
@dannon
Copy link
Member Author

dannon commented Jan 27, 2026

I need to add a test update back to this I think, then we're good to go.

The access_id resolution logic now prefers fetching from /access/{id}
when present, so tests need to mock that endpoint rather than providing
inline access_url in the object response.
Galaxy's DRS response can include access_id: None, so we need to check
for truthy values, not just key existence.
@guerler guerler merged commit e384c6f into galaxyproject:dev Jan 28, 2026
55 of 59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants