Add seqera:// NIO filesystem for Seqera Platform datasets#6946
Draft
Add seqera:// NIO filesystem for Seqera Platform datasets#6946
Conversation
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
Some comments about current implementation:
|
pditommaso
reviewed
Mar 19, 2026
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
seqera://NIOFileSystemProviderinnf-tower, enabling Nextflow pipelines to reference Seqera Platform datasets as standard file paths (e.g.seqera://org/workspace/datasets/name)@versionpinning)TowerClient/HxClientso token refresh is sharedMETA-INF/services/java.nio.file.spi.FileSystemProviderNew files
dataset/DatasetDto,DatasetVersionDto,WorkspaceOrgDtodataset/SeqeraDatasetClientfs/SeqeraPathPathimplementation with 0–4 depth hierarchyfs/SeqeraFileSystemFileSystemwith lazy org/workspace/dataset cachesfs/SeqeraFileSystemProviderFileSystemProviderSPI: read, list, attributes, copyfs/SeqeraFileAttributesBasicFileAttributesbacked by dataset metadatafs/SeqeraPathFactoryPathFactoryintegrationfs/ResourceTypeHandler,fs/DatasetsResourceHandlerChanges to existing files
TowerClient: added publicsendApiRequest()+ GET support inmakeRequest(); movedinitHttpClient()out of constructor toTowerFactoryTowerFactory:client()now also activates whenaccessTokenis present (not only whenenabled = true), soseqera://paths work without explicitly settingtower.enabledTowerPlugin: registersSeqeraPathFactoryFileHelper: recognisesseqera://schemeTest plan
SeqeraPathTest— path parsing, URI round-trips, relativize/resolve,getFileName,asUriSeqeraFileSystemTest— cache loading, workspace/dataset resolution, thread safetySeqeraFileSystemProviderTest— newInputStream (latest + pinned version), readAttributes, newDirectoryStream, error propagationSeqeraDatasetClientTest— API URL construction, response mapping, error handlingRun with:
🤖 Generated with Claude Code