Skip to content

Conversation

@dreamorosi
Copy link
Contributor

Summary

Changes

Please provide a summary of what's being changed

This PR adds a new test case for Durable functions with Idempotency, reusing one of the existing stacks and using most of the existing patterns in the codebase.

The test verifies that a DF is idempotent by calling it twice sequentially, and then asserting that there's a single idempotency record in the persistence store. Contrary to other tests in the same file we don't make assertions on the function's logs because invoking a DF doesn't return logs directly and we'd have to scan/tail the CloudWatch Log group - which I considered overkill given the existing assertion.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #4839


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this Jan 29, 2026
@boring-cyborg boring-cyborg bot added dependencies Changes that touch dependencies, e.g. Dependabot, etc. tests PRs that add or change tests labels Jan 29, 2026
@pull-request-size pull-request-size bot added the size/L PRs between 100-499 LOC label Jan 29, 2026
@sonarqubecloud
Copy link

@dreamorosi dreamorosi merged commit 327b7dc into main Jan 29, 2026
49 checks passed
@dreamorosi dreamorosi deleted the test/df_idem branch January 29, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Changes that touch dependencies, e.g. Dependabot, etc. size/L PRs between 100-499 LOC tests PRs that add or change tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: Add E2E tests for Idempotency utility to verify behaviour with durable functions

2 participants