- 
                Notifications
    
You must be signed in to change notification settings  - Fork 32
 
✨ Adding generic scheduling capability to dynamic-scheduler [part 1/2] #8307
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
      
      
            GitHK
  merged 180 commits into
  ITISFoundation:master
from
GitHK:pr-osparc-migrate-dy-scheduler-part2
  
      
      
   
  Oct 1, 2025 
      
    
  
     Merged
                    Changes from 149 commits
      Commits
    
    
            Show all changes
          
          
            180 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      727ec1f
              
                intent needs to be saved before scheduling
              
              
                 7f4999c
              
                renamed
              
              
                 cc3714e
              
                renamed
              
              
                 dd0c3f6
              
                adadded missing
              
              
                 2e42aa4
              
                removed
              
              
                 d22bb55
              
                rename
              
              
                 3b15a9a
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 d8b520b
              
                added base scheduler store
              
              
                 2c57d5b
              
                refacrtored core modules
              
              
                 00ef65e
              
                extended store
              
              
                 8d2268b
              
                updated operationregistry
              
              
                 285839e
              
                added deferred_task_uid to store
              
              
                 700426b
              
                corrected key
              
              
                 bd93ef7
              
                added required fields
              
              
                 9188e07
              
                added deferred runner module
              
              
                 ff9ae07
              
                removed unused
              
              
                 f9c6dd7
              
                added defaults
              
              
                 ed822b1
              
                added events manger
              
              
                 b5fba40
              
                added lifespan
              
              
                 43d2353
              
                added module with tests
              
              
                 ddab666
              
                fixed tests
              
              
                 e982d8f
              
                expanded store
              
              
                 f2108b6
              
                refact store
              
              
                 d0bf3af
              
                refactore correct value
              
              
                 79b51f7
              
                fixed
              
              
                 ac7715b
              
                refaactor
              
              
                 3244a9c
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 4707361
              
                expanded store
              
              
                 a8c33c2
              
                removed unused
              
              
                 5cf9ffa
              
                extended store with operation error
              
              
                 6993cc2
              
                enhanced store
              
              
                 e701580
              
                fixed tests
              
              
                 f974b10
              
                added event scheduler
              
              
                 33e1797
              
                renamed to revert from destory
              
              
                 483e2da
              
                first version
              
              
                 49c2dd1
              
                initial draft
              
              
                 36d49c4
              
                initial validation test
              
              
                 cf96cf3
              
                added require fixture
              
              
                 7d9939c
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 760bcbe
              
                first working version
              
              
                 b53ef64
              
                refactor
              
              
                 1741d2b
              
                refactor tests
              
              
                 1fe71ce
              
                added notes
              
              
                 cdcdbab
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 82beb8b
              
                added operaitoncontextproxy
              
              
                 df49539
              
                extended operation
              
              
                 3273a0c
              
                refactored
              
              
                 6c13089
              
                refacto
              
              
                 267f1c5
              
                refactored
              
              
                 8d60dbf
              
                added keys removal proxy
              
              
                 d8a8ccc
              
                refactor
              
              
                 49448d2
              
                added core base usage
              
              
                 762f929
              
                removed debug
              
              
                 58225ca
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 5725269
              
                mypy
              
              
                 62051ed
              
                fixed error message
              
              
                 9faca0a
              
                added revert tests
              
              
                 76d5b75
              
                refactor tests
              
              
                 24c5903
              
                refactor
              
              
                 034542a
              
                rename
              
              
                 c205c49
              
                simplfied tests
              
              
                 2bf3a7a
              
                extended tests for better error reporting
              
              
                 a863a2f
              
                updated tests
              
              
                 a0bff16
              
                added cancellation tests
              
              
                 e45e3fc
              
                renamed
              
              
                 fc772aa
              
                refactor removal
              
              
                 ed70751
              
                added repeating steps tests
              
              
                 0b3b9b2
              
                do not allow manual intervention for steps that are repeatable
              
              
                 e9a8f0e
              
                added tests for manual intervention
              
              
                 68812a4
              
                added context integrity check tests
              
              
                 01dedd9
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 8d305cf
              
                fixed import and refactor if
              
              
                 a322f68
              
                optimized if
              
              
                 742d7b9
              
                ignore context manager
              
              
                 d37b40d
              
                fixed test
              
              
                 72655ce
              
                added tests context issues tests
              
              
                 0f11c1f
              
                added more tests
              
              
                 e2bb020
              
                added public interface
              
              
                 86f65d3
              
                refactor public interfaces
              
              
                 11f486f
              
                changed sort order
              
              
                 4af3945
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 0aa217f
              
                pylint
              
              
                 424e4ea
              
                removed todo
              
              
                 41f9a9d
              
                extraced ServiceManager
              
              
                 9c98595
              
                refactored tests
              
              
                 5e6518a
              
                added tests
              
              
                 7e1353e
              
                removed TODO
              
              
                 741d7b0
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 99328df
              
                moved tests
              
              
                 200cc11
              
                renamed
              
              
                 1f328bd
              
                removed unused
              
              
                 6ca1dcd
              
                fixed imports
              
              
                 fb93630
              
                removed todo
              
              
                 1d9f892
              
                fixed tests
              
              
                 a76828c
              
                pylint
              
              
                 767caf0
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 988903e
              
                refactor
              
              
                 7330395
              
                extracted repeating steps function
              
              
                 c4f485a
              
                refactor
              
              
                 c234b9f
              
                extracted function
              
              
                 e68622c
              
                removed todo
              
              
                 cb95fa7
              
                see if typechecking helps
              
              
                 29455ab
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 5b9f926
              
                rename
              
              
                 298b387
              
                sonar
              
              
                 1f70574
              
                sonar
              
              
                 055eb5b
              
                removed unused
              
              
                 00d010e
              
                expose more utilty methods
              
              
                 3797194
              
                exposed more
              
              
                 f03af79
              
                added notes
              
              
                 4e05dbf
              
                exposed all proxies
              
              
                 243667a
              
                rename interface
              
              
                 8d2ff4c
              
                added exceptions
              
              
                 5d1675f
              
                extended store interface
              
              
                 2a5e2dc
              
                added step retry
              
              
                 4690969
              
                removed unused
              
              
                 5fadd47
              
                added test
              
              
                 0f32e1d
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 47f804c
              
                added tests for restart_revert_operation_step_in_error
              
              
                 a1a906e
              
                refactor interface
              
              
                 93be131
              
                refactor tests
              
              
                 a78438b
              
                removed possible flkayness
              
              
                 287fe89
              
                added tests for errors
              
              
                 8009882
              
                refactor
              
              
                 a538da6
              
                fixed flaky
              
              
                 b94d089
              
                refactor
              
              
                 2f1f698
              
                moved
              
              
                 da536cc
              
                dropped comment
              
              
                 453a72a
              
                renamed
              
              
                 24e5ba9
              
                rename
              
              
                 c1a9633
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 e7f94e9
              
                rename
              
              
                 9bfbe04
              
                added comments
              
              
                 7edc5ee
              
                working
              
              
                 9e9a500
              
                refactor
              
              
                 bfa4ca1
              
                added comments
              
              
                 34fdb1f
              
                refactor
              
              
                 0d9bf7a
              
                refactor
              
              
                 3500865
              
                refactor
              
              
                 966fd4c
              
                refactor
              
              
                 e1c2f85
              
                renaming
              
              
                 b6c9aee
              
                update comments
              
              
                 6b0c396
              
                added some more comments
              
              
                 95be4ab
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 4bc004e
              
                refactor
              
              
                 719a530
              
                refactor
              
              
                 6020209
              
                docstring + renaming
              
              
                 fb04b13
              
                refactor
              
              
                 56b89d6
              
                typos
              
              
                 3161b66
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 e6bdbcf
              
                using redis instead of rabbit and removed ping that makes no sense
              
              
                 5abff06
              
                refactor
              
              
                 68bf6c7
              
                docstring
              
              
                 ddb7bea
              
                renamed and docstrings
              
              
                 99b4d5b
              
                better form
              
              
                 c0c6b36
              
                refactor
              
              
                 fef354c
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 9f0f5e2
              
                moved
              
              
                 3eaf586
              
                typos
              
              
                 ae6eabf
              
                renamed module
              
              
                 39107c6
              
                typo
              
              
                 5109933
              
                renamed error
              
              
                 c79ad21
              
                fixed name
              
              
                 654a8da
              
                removed unused
              
              
                 1735ace
              
                refactor
              
              
                 e20e8d7
              
                replaced get_store and get_core
              
              
                 7c4b665
              
                merged lifespans
              
              
                 99a620c
              
                fixed tests
              
              
                 d6db1fa
              
                refactor
              
              
                 ca02c79
              
                typo
              
              
                 1718990
              
                renamed types
              
              
                 80b64ed
              
                aligned named in _store module
              
              
                 382d04c
              
                removed indirection
              
              
                 a27aeec
              
                renamed store proxy interfaces
              
              
                 97f22a0
              
                renamed tests
              
              
                 ae1f05a
              
                typos
              
              
                 1ed132b
              
                renamed revert to undo
              
              
                 8ca0bf3
              
                fixed tests
              
              
                 017e796
              
                fixed mock
              
              
                 6d78813
              
                Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate…
              
              
                 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
    
  
  
    
              
  
    
      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
    
  
  
    
              
  
    
      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
    
  
  
    
              
        
          
          
            49 changes: 49 additions & 0 deletions
          
          49 
        
  ...ic-scheduler/src/simcore_service_dynamic_scheduler/services/generic_scheduler/__init__.py
  
  
      
      
   
        
      
      
    
  
    
      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,49 @@ | ||
| from ._api import ( | ||
| cancel_operation, | ||
| restart_operation_stuck_in_error_during_revert, | ||
| restart_operation_stuck_in_manual_intervention_during_create, | ||
| start_operation, | ||
| ) | ||
| from ._deferred_runner import ( | ||
| get_operation_context_proxy, | ||
| get_step_group_proxy, | ||
| get_step_store_proxy, | ||
| ) | ||
| from ._lifespan import get_generic_scheduler_lifespans | ||
| from ._models import ( | ||
| OperationName, | ||
| ProvidedOperationContext, | ||
| RequiredOperationContext, | ||
| ScheduleId, | ||
| ) | ||
| from ._operation import ( | ||
| BaseStep, | ||
| Operation, | ||
| OperationRegistry, | ||
| ParallelStepGroup, | ||
| SingleStepGroup, | ||
| ) | ||
| from ._store import OperationContextProxy, StepGroupProxy, StepStoreProxy | ||
| 
     | 
||
| __all__: tuple[str, ...] = ( | ||
| "BaseStep", | ||
| "cancel_operation", | ||
| "get_generic_scheduler_lifespans", | ||
| "get_operation_context_proxy", | ||
| "get_step_group_proxy", | ||
| "get_step_store_proxy", | ||
| "Operation", | ||
| "OperationContextProxy", | ||
| "OperationName", | ||
| "OperationRegistry", | ||
| "ParallelStepGroup", | ||
| "ProvidedOperationContext", | ||
| "RequiredOperationContext", | ||
| "restart_operation_stuck_in_error_during_revert", | ||
| "restart_operation_stuck_in_manual_intervention_during_create", | ||
| "ScheduleId", | ||
| "SingleStepGroup", | ||
| "start_operation", | ||
| "StepGroupProxy", | ||
| "StepStoreProxy", | ||
| ) | 
      
      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.