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 bug in continue_as_new [deprecated]#23

Closed
filintod wants to merge 4 commits intodapr:maindapr/durabletask-python:mainfrom
filintod:filinto/fix-continue-as-new-lintfilintod/durabletask-python:filinto/fix-continue-as-new-lintCopy head branch name to clipboard
Closed

Fix bug in continue_as_new [deprecated]#23
filintod wants to merge 4 commits intodapr:maindapr/durabletask-python:mainfrom
filintod:filinto/fix-continue-as-new-lintfilintod/durabletask-python:filinto/fix-continue-as-new-lintCopy head branch name to clipboard

Conversation

@filintod
Copy link

@filintod filintod commented Oct 10, 2025

workflows with continue as new would fail after the continue_as_new statement as it was missing router information

Linting

  • Normalize strings to use double-quotes consistently across tests and source files as used in msft durabletask.
  • Run ruff format
  • Add test_continue_as_new_with_activity_e2e for better coverage of continue_as_new functionality.
  • Modify .flake8 for extended exclusions and per-file ignores.
  • Introduce tox.ini for test environment configurations and streamline linting, typing, and example validation.

… on the complete action.

Linting
- Normalize strings to use double-quotes consistently across tests and source files as used in msft durabletask.
- Run ruff format
- Add `test_continue_as_new_with_activity_e2e` for better coverage of `continue_as_new` functionality.
- Modify `.flake8` for extended exclusions and per-file ignores.
- Introduce `tox.ini` for test environment configurations and streamline linting, typing, and example validation.

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
@filintod filintod changed the title Fix Critical bug in continue_as_new bug where it was missing router… Fix bug in continue_as_new Oct 10, 2025
durabletask/internal/helpers.py Show resolved Hide resolved
@filintod
Copy link
Author

@acroca ptal

durabletask/internal/shared.py Show resolved Hide resolved
durabletask/client.py Outdated Show resolved Hide resolved
.flake8 Outdated Show resolved Hide resolved
.flake8 Outdated Show resolved Hide resolved
tox.ini Show resolved Hide resolved
Co-authored-by: Albert Callarisa <albert@acroca.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
tox.ini Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
…s.txt` and update related files and workflows.

Dump flake8 and use ruff that covers format and linting.

Update readme

Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
@filintod
Copy link
Author

@acroca ptal. I dump flake8, and took your feedback points

tox.ini Show resolved Hide resolved
@elena-kolevska
Copy link
Collaborator

@filintod can you pls update from main?

@filintod
Copy link
Author

I open this one #24, that is a subset of this PR. but this PR can serve for inspiration for the linting or modifying pyproject/tox/fluke that was done here

@filintod filintod changed the title Fix bug in continue_as_new Fix bug in continue_as_new [deprecated] Oct 24, 2025
@filintod filintod marked this pull request as draft October 27, 2025 22:28
@filintod
Copy link
Author

closing as new lint PR is about to be merged with most of the functionality here in place

@filintod filintod closed this Oct 31, 2025
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.

3 participants

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