-
Notifications
You must be signed in to change notification settings - Fork 776
Sched core implementation #6242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 53 commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
1cf5326
Add seqera sched poc [ci fast]
pditommaso dc7b44f
fix(nf-seqera): Handle exceptions in killTask to allow proper error p…
pditommaso f1f28cf
Add support for machine info [ci fast]
pditommaso 59f5b85
Add keep-alive and session handling to SeqeraBatchSubmitter [ci fast]
pditommaso b2aedaf
Add session name support [ci fast]
pditommaso b260e5a
Add requirements [ci skip]
pditommaso 863f82d
Add settings [ci skip]
pditommaso 9e8687e
Update docs [ci fast]
pditommaso 0066efe
Add executor name constant and trace record test [ci fast]
pditommaso 3226762
Merge branch 'master' into sched
pditommaso 846b617
Add nf-seqera to distribution and fix batch submission error handling…
pditommaso 428ddc9
Improve SeqeraBatchSubmitter error handling
pditommaso e4351c0
Minor change [ci skip]
pditommaso 4e0e299
Set task error with ProcessException when Seqera task fails without e…
pditommaso c42de21
fix(nf-seqera): Remove @ConfigOption from machineRequirement to fix c…
fntlnz 3499d2d
Add EBS disk support to Seqera executor [ci fast]
pditommaso de4bab1
Add DiskAllocation support to Seqera executor [ci fast]
pditommaso 4b7bf4d
Add diskAllocation documentation for Seqera executor [ci skip]
pditommaso 8a58f9f
Add container validation for Seqera executor
pditommaso 03c801e
Add labels support to Seqera executor for cost tracking
pditommaso 9810fcc
Fix config validation warnings for Seqera executor options [ci fast]
pditommaso 96d06fe
Add autoLabels setting and Labels helper for Seqera executor [ci skip]
pditommaso 0fa7dfb
Add Platform workflowId to SeqeraExecutor session labels (#6818) [ci …
pditommaso 35c4d24
Add snapshots support to nf-seqera (#6776) [ci skip]
fntlnz bb13d1f
Bump sched-client:0.21.0-SNAPSHOT
pditommaso 918356e
Merge branch 'master' into sched
pditommaso 6b322a6
Bump groovy 4.0.30
pditommaso 4a40b7b
[ci fast] Add inputFiles profiling and rename InputFilesComputer to I…
pditommaso 5a79ab4
feat: Add predictionModel config to nf-seqera executor
pditommaso c619a70
Bump sched-client:0.23.0-SNAPSHOT [ci fast]
pditommaso 97e250f
Lazy Seqera run creation to ensure workflowId is available [ci fast]
pditommaso 320dd38
Sched client [ci fast]
pditommaso 8873623
Add debug info [ci fast]
pditommaso e312ba9
Add granted resource getters to SeqeraTaskHandler trace record [ci fast]
pditommaso 9d9766d
[ci fast] Fix S3 delete throwing DirectoryNotEmptyException due to ev…
pditommaso 8918d59
Remove time [ci skip]
pditommaso d25747f
Revert resources retrofitting [ci fast]
pditommaso b7a5d7a
Fix res limits [ci fast]
pditommaso 0355467
Add workflowUrl to Seqera executor requests
pditommaso a873d44
Bump sched-client to 0.28.0-SNAPSHOT [ci fast]
pditommaso 2462991
Merge branch 'master' into sched
pditommaso 1022018
Add support for watchUrl in trace/create endpoint [ci fast]
pditommaso d20fad5
Add Javadoc to SeqeraExecutor and SeqeraTaskHandler classes [ci fast]
pditommaso 5360c21
Add taskEnvironment setting to Seqera executor config [ci fast]
pditommaso f52470a
[ci fast] Fix S3ObjectSummaryLookup causing unbounded pagination on l…
pditommaso caf9636
Add platformUrl to Seqera executor client config [ci fast]
pditommaso a7bb8b0
Add support for ECS AGS [ci fast]
pditommaso 948e19b
Merge branch 'master' into sched [ci fast]
pditommaso 29955b5
Merge branch 'master' into sched [ci fast]
pditommaso 25cdd49
Bump version [ci fast]
pditommaso 6320e06
Add machineTypes [ci fast]
pditommaso 6aedf36
Add tests for logStreamId and nf-seqera auto-loading [ci fast]
pditommaso e3a335b
Bump sched-client 0.35.0-SNAPSHOT [ci skip]
pditommaso 66c6ac2
Update packing.gradle [ci skip]
pditommaso b084b0d
Add docs migration banner (#6853)
christopher-hakkaart c7f7025
docs: Update migration note for plugin registry (#6702)
bentsherman 2b05e15
Update "Working with files" docs page (#6801)
bentsherman 5e8515b
Add note about using config settings as variables in strict syntax do…
bentsherman 5aea38f
Fix docs banner (#6861)
christopher-hakkaart f4aaf0d
Report actual GCP zone in Google Batch trace records (#6855)
pditommaso 2fd9669
docs: clarify path name for staged task inputs (#6869)
LarytheLord d3687d8
Add devcontainer (#6792)
PeterKneale e59f8a1
Fix vertical alignment in timeline report (#6794)
PeterKneale f4bdadc
Ensure main script is first in the WorkflowRun lineage record (#6845)
jorgee e02b877
Add whitespace rules to .editorconfig (#5606)
ewels 591bcf8
docs: Update your first script to use outputs (#6500)
christopher-hakkaart 738bcf5
Update AWS CLI install docs to bypass conda install TOS prompt (#6685)
rzelle-lallemand 107f82d
Clarify onError and onComplete handler descriptions (#6709) [ci fast]
colinbrislawn e090c57
Use explicit memory units for LSF executor (#5217)
bentsherman 9c9a3ae
Treat LSF job status UNKWN as HOLD (#5756)
bentsherman ef6c99f
Allow boolean params to implicitly default to false (#6764)
bentsherman 6e5bf3d
Minor change [ci fast]
pditommaso 363012c
Move seqera config section to alphabetical order [ci skip]
pditommaso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 26.01.1-edge | ||
| 26.02.0-edge |
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
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
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
51 changes: 51 additions & 0 deletions
51
modules/nextflow/src/main/groovy/nextflow/script/PlatformMetadata.groovy
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| /* | ||
| * Copyright 2013-2025, Seqera Labs | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| * | ||
| */ | ||
|
|
||
| package nextflow.script | ||
|
|
||
| import groovy.transform.CompileStatic | ||
| import groovy.transform.EqualsAndHashCode | ||
| import groovy.transform.ToString | ||
|
|
||
| /** | ||
| * Models Seqera Platform metadata for Nextflow execution | ||
| * | ||
| * @author Paolo Di Tommaso <paolo.ditommaso@gmail.com> | ||
| */ | ||
| @CompileStatic | ||
| @ToString(includeNames = true, includePackage = false) | ||
| @EqualsAndHashCode | ||
| class PlatformMetadata { | ||
|
|
||
| /** | ||
| * Volatile because it is written by TowerClient.onFlowCreate on the main thread | ||
| * and read by SeqeraExecutor.createRun on the executor thread. | ||
| */ | ||
| volatile String workflowId | ||
|
|
||
| /** | ||
| * The Platform watch URL for the current workflow execution. | ||
| * Set by TowerClient.onFlowBegin and read by SeqeraExecutor.createRun. | ||
| */ | ||
| volatile String workflowUrl | ||
|
|
||
| PlatformMetadata() {} | ||
|
|
||
| PlatformMetadata(String workflowId) { | ||
| this.workflowId = workflowId | ||
| } | ||
| } |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.