Merged
Conversation
…agent-..' for -registry, -wfstatestore, -pubsub and -statestore. Set these if available a no other component provided Signed-off-by: Casper Nielsen <casper@diagrid.io>
Signed-off-by: Casper Nielsen <casper@diagrid.io>
Collaborator
|
Casper, can you show here one/two examples of minimalistic agent configuration and what will be the default components the agent will be looking for? What happens if components are not present? |
Contributor
Author
|
Absolutely @bibryam i'll push that to dapr/docs |
sicoyle
reviewed
Dec 16, 2025
Collaborator
sicoyle
left a comment
There was a problem hiding this comment.
Overall LGTM - thank you 🙌 can you pls update the documentation for these fields to denote these new defaults?
Contributor
Author
It's in the dapr/docs#4979 PR 🤝 |
sicoyle
approved these changes
Dec 16, 2025
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
Allow Dapr Agents to discover default named stores for wf, pubsub, state and registry. This allows an agent to be started without any of these in its configuration. Upon start it will query the metadata api for available stores and if the following are returned:
agent-registry-> set the registry statestore if none providedagent-statestore-> set the agent memory statestore if none providedagent-wfstatestore-> set theDurableAgents wf statestore if none providedagent-pubsub-> set the agent pubsub if none provided.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 closes: N/A
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:
Note: We expect contributors to open a corresponding documentation PR in the dapr/docs repository. As the implementer, you are the best person to document your work! Implementation PRs will not be merged until the documentation PR is opened and ready for review.