Release 1.18 - #1331
Merged
Merged
Conversation
Ports Cassie Coyle's Go-SDK reference example (dapr/go-sdk#823) to Python. Demonstrates PropagationScope.LINEAGE and PropagationScope.OWN_HISTORY in a fraud-detection payment scenario with a 3-level workflow hierarchy. Requires Dapr 1.18+ (dapr/dapr#9810) and dapr-ext-workflow 1.18+ (dapr/python-sdk#1025). Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Aligns the Python workflow history propagation quickstart with the canonical Go reference (dapr/go-sdk#823, #1315) so all SDK quickstarts share the same patient intake / e-prescribing scenario. - Swap credit-card/fraud scenario for patient-intake/e-prescribing - Adopt PatientIntake -> PrescribeMedication -> ComplianceAudit hierarchy - Add is_replaying guards around all print() calls inside workflows - Use Cassie's PascalCase activity/workflow names for cross-SDK consistency Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Bumps io.dapr:dapr-sdk-bom and io.dapr.spring:dapr-spring-bom from 1.18.0-rc-1 to 1.18.0-rc-2 across all 21 Java quickstart samples. Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
chore(java): bump Dapr SDK BOM to 1.18.0-rc-2
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
… Boot layout Signed-off-by: Javier Aliaga <javier@diagrid.io>
bump go-sdk version + jobs api stable
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
- Add propagateHistory flag to PatientRecord; PatientIntake conditionally forwards LINEAGE so reviewers can see ComplianceAudit refuse the prescription when upstream history is withheld. - Trim README per Alice's review (drop requirements blockquote, propagation-modes section, replay-safety callout, Dapr<1.18 fallback, and References list; link to dapr/docs#5153). - Update .http with both scenarios. Signed-off-by: Javier Aliaga <javier@diagrid.io>
quickstart for workflows history propagation
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Aligns the Python workflow history propagation quickstart with Cassie's canonical Go version that merged into release-1.18 (#1315, tutorials/workflow/go/history-propagation). Changes to match the canonical structure: - Move from workflows/python/sdk-context-propagation/order-processor/ to tutorials/workflow/python/history-propagation/, matching the Go sibling at tutorials/workflow/go/history-propagation/ - Split the monolithic app.py into app.py / workflow.py / models.py, mirroring main.go / workflow.go / models.go - Add ForwardLineage flag to PatientRecord and run both scenarios back-to-back (happy path + negative), purging state after each so the app exits on its own - Make DispenseMedication refuse to dispense when no propagated history is received, returning a refused DispenseResult with a Reason field - Match the Go README: title, propagation-scope table, STEP markers, expected output for both scenarios - dapr.yaml: appID=patient-app (was order-processor), resourcesPath=../../resources (was ../../components), appLogDestination/daprdLogDestination=console to match sister Python tutorials and Cassie's Go example - Use correct Python SDK API names: get_last_workflow_by_name / get_last_activity_by_name (the earlier draft used get_workflow_by_name / get_activity_by_name, which were renamed in dapr/python-sdk#1025) Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
…code - README: drop the Go-sibling reference paragraph - README: simplify the requirements line to just "Requires Dapr 1.18+" - README: drop the "exits on its own — no Ctrl+C needed" sentence - README: drop the "## Files" tree at the bottom - workflow.py: trim repetitive docstrings and inline Step comments; the step prints already carry the same information Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
- Merge 'Key demonstration' into 'Scenarios' so the LINEAGE/OWN_HISTORY behavior is explained once instead of three times. - Cut the unsigned-history warning note from a paragraph to one line.
refactor: mv py qs from pip -> uv
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
bump cli and various other versions
feat(java): workflow context propagation quickstart
Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
…python feat(python): workflow context propagation quickstart
Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
…block. Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
Add workflow context propagation sample
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
chore: bump everything for 1.18 release
Signed-off-by: Alice Gibbons <alice@diagrid.io>
[chore] JS SDK v3.18.0
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.
Description
Issue reference
We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: