Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix continue as new bug where we missed router on the multi-app change#24

Merged
acroca merged 2 commits intodapr:maindapr/durabletask-python:mainfrom
filintod:filinto/fix-continue-as-new-onlyfilintod/durabletask-python:filinto/fix-continue-as-new-onlyCopy head branch name to clipboard
Oct 30, 2025
Merged

fix continue as new bug where we missed router on the multi-app change#24
acroca merged 2 commits intodapr:maindapr/durabletask-python:mainfrom
filintod:filinto/fix-continue-as-new-onlyfilintod/durabletask-python:filinto/fix-continue-as-new-onlyCopy head branch name to clipboard

Conversation

@filintod
Copy link

@filintod filintod commented Oct 24, 2025

A slim version of #23 without linting, additions to tox, pyproject, removal of fluke8, etc

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
@filintod filintod changed the title fix continue as new bug where we missed router on the multi-app fix continue as new bug where we missed router on the multi-app change Oct 24, 2025
@filintod
Copy link
Author

one thing is that this bug does not appear with durabletask-go, as it might not be aware of multi-app or don't care, so it would be better to change CI to run against real dapr setup

@filintod
Copy link
Author

@acroca this is important to have and then update 1.16 python to use it. we have this broken in 1.16

result=shared.to_json(self._new_input)
if self._new_input is not None
else None,
result=shared.to_json(self._new_input) if self._new_input is not None else None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To simplify this, I think it'd be better to move this to a variable like you did in the client.py.
Also change the other places where there's an inline if in function arguments, there are a few in this PR.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure on the benefit of creating a new variable that is only used once, ternary operations assignments are common in python and already used in this file prior to this PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, maybe it's just a personal taste. It's fine

durabletask/internal/shared.py Outdated Show resolved Hide resolved
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
@acroca acroca merged commit f87ba19 into dapr:main Oct 30, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.