Skip to content

Commit 947c41a

Browse files
Release 1.11.6 (tracks 02ef28391649703e923f23e0d5cff72b595a8925)
1 parent da1111a commit 947c41a

11 files changed

Lines changed: 25 additions & 25 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.11.5"
1+
__version__ = "1.11.6"

dagster-cloud-examples/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers = [
1919
"Operating System :: OS Independent",
2020
]
2121
dependencies = [
22-
"dagster-cloud==1.11.5",
22+
"dagster-cloud==1.11.6",
2323
]
2424

2525
[project.license]

dagster-cloud/dagster_cloud/agent/dagster_cloud_agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
import dagster._check as check
1313
from dagster import DagsterInstance
1414
from dagster._core.launcher.base import LaunchRunContext
15-
from dagster._core.remote_representation import CodeLocationOrigin
16-
from dagster._core.remote_representation.origin import RegisteredCodeLocationOrigin
15+
from dagster._core.remote_origin import CodeLocationOrigin, RegisteredCodeLocationOrigin
1716
from dagster._core.utils import FuturesAwareThreadPoolExecutor
1817
from dagster._grpc.client import DagsterGrpcClient
1918
from dagster._grpc.types import CancelExecutionRequest

dagster-cloud/dagster_cloud/agent/instrumentation/schedule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from dagster import deserialize_value
22
from dagster._core.definitions.schedule_definition import ScheduleExecutionData
3-
from dagster._core.remote_representation import ScheduleExecutionErrorSnap
3+
from dagster._core.remote_representation.external_data import ScheduleExecutionErrorSnap
44

55
from dagster_cloud.opentelemetry.observers.execution_observer import ExecutionObserverInstruments
66

dagster-cloud/dagster_cloud/agent/instrumentation/sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from dagster import deserialize_value
22
from dagster._core.definitions.sensor_definition import SensorExecutionData
3-
from dagster._core.remote_representation import SensorExecutionErrorSnap
3+
from dagster._core.remote_representation.external_data import SensorExecutionErrorSnap
44

55
from dagster_cloud.opentelemetry.observers.execution_observer import ExecutionObserverInstruments
66

dagster-cloud/dagster_cloud/api/dagster_cloud_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
from dagster._core.code_pointer import CodePointer
88
from dagster._core.definitions.selector import JobSelector
99
from dagster._core.events.log import EventLogEntry
10-
from dagster._core.remote_representation import CodeLocationOrigin, RepositorySnap
10+
from dagster._core.remote_origin import CodeLocationOrigin
11+
from dagster._core.remote_representation.external_data import RepositorySnap
1112
from dagster._core.storage.dagster_run import DagsterRun
1213
from dagster._core.utils import RequestUtilizationMetrics
1314
from dagster._record import IHaveNew, copy, record, record_custom

dagster-cloud/dagster_cloud/storage/runs/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from dagster._core.events import DagsterEvent
1414
from dagster._core.execution.backfill import BulkActionsFilter, BulkActionStatus, PartitionBackfill
1515
from dagster._core.execution.telemetry import RunTelemetryData
16-
from dagster._core.remote_representation.origin import RemoteJobOrigin
16+
from dagster._core.remote_origin import RemoteJobOrigin
1717
from dagster._core.snap import ExecutionPlanSnapshot, JobSnap, create_execution_plan_snapshot_id
1818
from dagster._core.storage.dagster_run import (
1919
DagsterRun,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.11.5"
1+
__version__ = "1.11.6"

dagster-cloud/dagster_cloud/workspace/ecs/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import re
33
from typing import Optional
44

5-
from dagster._core.remote_representation.origin import RemoteJobOrigin
5+
from dagster._core.remote_origin import RemoteJobOrigin
66
from dagster_aws.ecs.utils import sanitize_family
77

88
from ..user_code_launcher.utils import get_human_readable_label, unique_resource_name

dagster-cloud/dagster_cloud/workspace/user_code_launcher/user_code_launcher.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
from dagster._core.errors import DagsterUserCodeUnreachableError
2828
from dagster._core.instance import MayHaveInstanceWeakref
2929
from dagster._core.launcher import RunLauncher
30-
from dagster._core.remote_representation import RemoteRepositoryOrigin
31-
from dagster._core.remote_representation.external_data import (
32-
extract_serialized_job_snap_from_serialized_job_data_snap,
33-
)
34-
from dagster._core.remote_representation.origin import (
30+
from dagster._core.remote_origin import (
3531
CodeLocationOrigin,
3632
RegisteredCodeLocationOrigin,
33+
RemoteRepositoryOrigin,
34+
)
35+
from dagster._core.remote_representation.external_data import (
36+
extract_serialized_job_snap_from_serialized_job_data_snap,
3737
)
3838
from dagster._grpc.client import DagsterGrpcClient
3939
from dagster._grpc.types import GetCurrentImageResult, ListRepositoriesResponse
@@ -1534,8 +1534,8 @@ def _trigger_recovery_server_restart(self, deployment_location: DeploymentAndLoc
15341534
del self._first_unavailable_times[deployment_location]
15351535

15361536
# redeploy the multipex server in this case as well to ensure a fresh start
1537-
# (and ensure that we don't try to create the same PexServerHandle again and
1538-
# delete the code location in a loop)
1537+
# if it resource contrained (and ensure that we don't try to create the same
1538+
# PexServerHandle again and delete the code location in a loop)
15391539
if deployment_location in self._multipex_servers:
15401540
del self._multipex_servers[deployment_location]
15411541

@@ -1568,11 +1568,11 @@ def _refresh_actual_entries(self) -> None:
15681568
if isinstance(grpc_server_or_error, DagsterCloudGrpcServer):
15691569
self._logger.warning(
15701570
"Pex servers disappeared for running code location %s:%s. Removing actual entries to"
1571-
" activate reconciliation logic.",
1571+
" activate reconciliation logic and deploy a new code server and multipex server.",
15721572
deployment_name,
15731573
location_name,
15741574
)
1575-
del self._actual_entries[deployment_location]
1575+
self._trigger_recovery_server_restart(deployment_location)
15761576

15771577
# Check to see if any servers have become unresponsive
15781578
unavailable_server_timeout = int(

0 commit comments

Comments
 (0)