Warn legacy programming model users before v2 - #613
Open
andystaples wants to merge 5 commits into
Open
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9b12bc64-f7ed-484b-9004-7a595a538eb9
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9b12bc64-f7ed-484b-9004-7a595a538eb9
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9b12bc64-f7ed-484b-9004-7a595a538eb9
bachuv
reviewed
Jul 29, 2026
| validate_extension_bundles() | ||
|
|
||
| # Warn users whose applications will not be compatible with version 2.x | ||
| validate_v1_programming_model() |
Contributor
There was a problem hiding this comment.
Should we add a try/except around this?
| return False | ||
|
|
||
|
|
||
| def validate_v1_programming_model(): |
Contributor
There was a problem hiding this comment.
Should this run during pytest, or should we guard it like validate_extension_bundles does?
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
function.jsonlayout at a confirmed function-app rootazure-functions-durable2.x, while suppressing the warning for demonstrable 1.x constraintsDurableFunctionsCompatibilityWarningthat remains visible during pytest runsscandircheck and skip it entirely for pinned appsTesting
python -m pytest -q tests— 327 passedpython -m flake8 azure\durable_functions\__init__.py tests\test_init.py