feat: add config resolution for agent execution config - #642
Draft
JeffreyJPZ wants to merge 59 commits into
Draft
Conversation
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 167a29f)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit d5a26f8)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 3d5fbd1)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 5a75f7d)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 40e247f)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 7b841e0)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 7fbe7f5)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com> (cherry picked from commit 1bd3973)
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
…l choices Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
… config-resolution-refactor
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
JeffreyJPZ
marked this pull request as ready for review
August 21, 2026 03:11
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
JeffreyJPZ
commented
Aug 21, 2026
Comment on lines
-883
to
-884
| def test_merge_none_values_dont_override(self, mock_llm): | ||
| """Test that None values in override don't override base values.""" |
Contributor
Author
There was a problem hiding this comment.
Should be safe to remove since its covered by the config tests
Comment on lines
-919
to
-920
| def test_merge_boolean_fields_correctly(self, mock_llm): | ||
| """Test that boolean fields merge correctly with None handling.""" |
Comment on lines
-955
to
-956
| def test_merge_empty_configs(self, mock_llm): | ||
| """Test merging two empty configs.""" |
Contributor
Author
There was a problem hiding this comment.
This becomes redundant with the refactor
JeffreyJPZ
marked this pull request as draft
August 21, 2026 06:11
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
JeffreyJPZ
force-pushed
the
config-resolution-refactor
branch
from
August 21, 2026 10:40
67aea22 to
2fb344e
Compare
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
JeffreyJPZ
commented
Aug 21, 2026
| getter=lambda: getenv("DAPR_MAX_GRPC_INBOUND_MESSAGE_SIZE_BYTES"), | ||
| should_raise=False, | ||
| ), | ||
| # TODO: support orchestration_mode from env |
Contributor
Author
There was a problem hiding this comment.
Ran into tons of issues trying to support orchestration_mode since None is a valid override, which conflicts with a lot of the existing behaviour. Putting this off for now since runtime config/hot-reloading doesn't support it (yet) which is probably the main benefit.
JeffreyJPZ
marked this pull request as ready for review
August 21, 2026 18:40
JeffreyJPZ
marked this pull request as draft
August 21, 2026 18:44
JeffreyJPZ
force-pushed
the
config-resolution-refactor
branch
from
August 21, 2026 20:34
f960d85 to
f9ae7f5
Compare
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
JeffreyJPZ
force-pushed
the
config-resolution-refactor
branch
from
August 21, 2026 21:15
f9ae7f5 to
d69bf16
Compare
Signed-off-by: Jeffrey Zhang <jeffreyjpizhang@gmail.com>
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
#590 naturally resulted in some refactoring/extra functionality related to agent config resolution that got mixed in with the health endpoints implementation. Since health endpoints is blocked for now I thought I'd open a separate PR for the other stuff.
AgentExecutionConfig(andAgentObservabilityConfig)AgentObservabilityConfigandAgentExecutionConfigout ofAgentBaseandDurableAgentinto their respective classesmax_grpc_inbound_message_size_bytesaccepts booleansIssue reference
Cherry picks some commits from #590
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.
TODO:
[x] Add unit tests for config helpers[x] Add unit tests for agent execution config