-
Notifications
You must be signed in to change notification settings - Fork 32
🐛🎨Computational backend stability: improvements step 2 #8341
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
sanderegg
merged 9 commits into
ITISFoundation:master
from
sanderegg:computational-backend/improvements-diverse-step2
Sep 10, 2025
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
94d365e
check if start time is missing, output warning
sanderegg 756595d
reduce dask timeout
sanderegg e406ffc
refactor
sanderegg 5e7a065
reverted changes
sanderegg de580ec
task now revert to old state to prevent issue in heartbeat
sanderegg fbb9a0f
limit gathering
sanderegg 0f752c0
refactor
sanderegg b3f8df1
refactor
sanderegg 85dc2c4
wrong reraise
sanderegg 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
12 changes: 10 additions & 2 deletions
12
services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_models.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 |
|---|---|---|
| @@ -1,19 +1,27 @@ | ||
| from dataclasses import dataclass | ||
| from typing import Literal | ||
|
|
||
| from models_library.projects import ProjectID | ||
| from models_library.rabbitmq_messages import RabbitMessageBase | ||
| from models_library.users import UserID | ||
|
|
||
| from ...models.comp_runs import Iteration | ||
| from ...models.comp_tasks import CompTaskAtDB | ||
|
|
||
|
|
||
| class SchedulePipelineRabbitMessage(RabbitMessageBase): | ||
| channel_name: Literal[ | ||
| channel_name: Literal["simcore.services.director-v2.scheduling"] = ( | ||
| "simcore.services.director-v2.scheduling" | ||
| ] = "simcore.services.director-v2.scheduling" | ||
| ) | ||
| user_id: UserID | ||
| project_id: ProjectID | ||
| iteration: Iteration | ||
|
|
||
| def routing_key(self) -> str | None: # pylint: disable=no-self-use # abstract | ||
| return None | ||
|
|
||
|
|
||
| @dataclass(frozen=True, slots=True) | ||
| class TaskStateTracker: | ||
| previous: CompTaskAtDB | ||
| current: CompTaskAtDB | ||
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.