Add platform-related metadata in Lineage records#6545
Open
Add platform-related metadata in Lineage records#6545
Conversation
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
✅ Deploy Preview for nextflow-docs-staging canceled.
|
pditommaso
reviewed
Nov 6, 2025
modules/nextflow/src/main/groovy/nextflow/script/PlatformMetadata.groovy
Show resolved
Hide resolved
pditommaso
reviewed
Nov 6, 2025
plugins/nf-tower/src/main/io/seqera/tower/plugin/BaseCommandImpl.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
…ation Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Contributor
Author
|
Updates: Regarding increasing the version, I have tested reading WorkflowRun generated with this PR with 25.10.0 and olded versions and viceversa.
Apart form that, a minor comment is that there are some duplicated data such as run name, session id, repository, script files or revision. They are already |
pditommaso
reviewed
Nov 7, 2025
| void setCommonApi( TowerCommonApi commonApi ){ | ||
| this.commonApi = commonApi | ||
| } | ||
| /** |
Member
There was a problem hiding this comment.
Would not make sense to pass both TowerCommonApi and HxClient via the constructor?
Signed-off-by: Jorge Ejarque <jorgee@users.noreply.github.com>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
…e platform object in worklfow Metadata Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Contributor
Author
|
I have updated the code master and make it also compatible with changes in #6818 (renaming the variable Example of what is included in WorkflowRun |
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.
close #5077
This PR retrieves the platform metada during the
onWorkflowCreateand stores in theseqeraPlatformproperty in theWorkflowMetadataclass. The lineage module has been extended adding ametadatafield in theWorkflowRunrecord including the platform metadata.This PR includes the changes of #6069.
To tests the whole integration, it is required to generate a nf-launcher image with the nextflow changes as in e2e tests. Then , use
tw launchto run a workflow including the options to use a modified launcher image (--launcher-image) and a nextflow.config file (--config) with the following lineage configurationUse a
<bucket>associated to the CE running the pipeline to ensure you have the proper permissions.Once finished, you can use the nextflow lineage commands to inspect the workflow lineage records.
Example of the generated metadata extracted form a test execution:
TODO: