Skip to content

Conversation

filintod
Copy link
Contributor

@filintod filintod commented Sep 24, 2025

Try to avoid needing to set a component_name on DaprChatClient if there is only one

Some information: https://github.com/dapr/dapr-agents/pull/214/files#diff-af44c8a9ee00a1e8c503613a8e0a033597c81dd1ecc35fb4a196d2322152c098R41

@filintod filintod marked this pull request as ready for review September 24, 2025 14:02
@filintod filintod force-pushed the filinto/dapr-default-better-devex branch from 7725a5b to 4090c5f Compare September 25, 2025 19:28
@filintod
Copy link
Contributor Author

@sicoyle ptal

self.wf_runtime_is_running = True

logger.info("Sleeping for 5 seconds to ensure runtime is started.")
time.sleep(5)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

helps with actor runtime not found

Copy link
Contributor

Choose a reason for hiding this comment

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

should we rm since i have the open pr upstream and theyre planning to cut 1.16.1 next week

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure that will fix that, if there is no app port define won't you still need some time to have the runtime ready?

Copy link
Contributor

@sicoyle sicoyle left a comment

Choose a reason for hiding this comment

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

few comments - thank ya!

dapr_runtime_version = extended_metadata.get("daprRuntimeVersion", None)
if dapr_runtime_version is not None:
# Allow only versions >=1.16.0 and <2.0.0 for Alpha2 Chat Client
if not is_version_supported(str(dapr_runtime_version), ">=1.16.0, <2.0.0"):
Copy link
Contributor

Choose a reason for hiding this comment

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

add "edge" as valid here too pls

Copy link
Contributor

Choose a reason for hiding this comment

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

and in the err log pls

self.wf_runtime_is_running = True

logger.info("Sleeping for 5 seconds to ensure runtime is started.")
time.sleep(5)
Copy link
Contributor

Choose a reason for hiding this comment

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

should we rm since i have the open pr upstream and theyre planning to cut 1.16.1 next week

<details open>
<summary><strong>Option 1: Using uv (Recommended)</strong></summary>

<!-- We include setting up the venv as part of the first step to make sure the venv is created and activated before the examples are run.-->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the first step was moved up to setup the environment, we probably should add an option in mechanical markdown for SETUP/TEARDOWN

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added this issue in mm repo dapr/mechanical-markdown#38 that I'll try to implement

@filintod filintod requested a review from sicoyle September 30, 2025 00:00
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
@filintod filintod force-pushed the filinto/dapr-default-better-devex branch from 7ae8c70 to 237d5e7 Compare September 30, 2025 18:46
@yaron2 yaron2 merged commit 1d3a6a1 into dapr:main Sep 30, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants