Skip to content

Conversation

@salaboy
Copy link
Collaborator

@salaboy salaboy commented Oct 1, 2025

Description

Add new method signature to support metadata map, I've added a test that validates that the custom metadata is added.

Issue reference

We strive to have all PR 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: #1569

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@salaboy salaboy requested review from a team as code owners October 1, 2025 11:05
@salaboy salaboy force-pushed the 1569-save-metadata branch from 1da2f75 to 62f1fda Compare October 1, 2025 11:06
@salaboy salaboy force-pushed the 1569-save-metadata branch 3 times, most recently from 9746e04 to d6fe7d5 Compare October 2, 2025 07:25
Copy link
Contributor

@artur-ciocanu artur-ciocanu left a comment

Choose a reason for hiding this comment

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

@salaboy nice job! I just think we should be careful not to change the incoming parameter. For example if someone would send an unmodifiable map as parameter, it will result in a runtime exception.

@salaboy salaboy force-pushed the 1569-save-metadata branch 5 times, most recently from 4450500 to a528661 Compare October 24, 2025 10:13
salaboy and others added 10 commits October 24, 2025 11:29
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
* Force Jackson version to override the SB Jackson version

Signed-off-by: Artur Ciocanu <[email protected]>

* Move all the Jackson deps to parent POM.

Signed-off-by: Artur Ciocanu <[email protected]>

* Ensure app JAR build order

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove explicit Jackson from sdk-tests module.

Signed-off-by: Artur Ciocanu <[email protected]>

* Make sure <scope>test</scope> is used for test dependencies.

Signed-off-by: Artur Ciocanu <[email protected]>

* Remove extra Jackson modules.

Signed-off-by: Artur Ciocanu <[email protected]>

---------

Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
@salaboy salaboy force-pushed the 1569-save-metadata branch from 47b855c to c7f2aea Compare October 24, 2025 10:29
Copy link
Contributor

@artur-ciocanu artur-ciocanu left a comment

Choose a reason for hiding this comment

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

@salaboy looks great!

@dapr-bot dapr-bot merged commit 6e9ee5a into dapr:master Oct 24, 2025
10 checks passed
@codecov
Copy link

codecov bot commented Oct 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.49%. Comparing base (d759c53) to head (778ff77).
⚠️ Report is 234 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1570      +/-   ##
============================================
+ Coverage     76.91%   78.49%   +1.57%     
- Complexity     1592     1931     +339     
============================================
  Files           145      216      +71     
  Lines          4843     5868    +1025     
  Branches        562      658      +96     
============================================
+ Hits           3725     4606     +881     
- Misses          821      924     +103     
- Partials        297      338      +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to pass state metadata into saveState method

4 participants