Skip to content

Comments

External environment configuration sample#420

Merged
yuandrew merged 6 commits intotemporalio:mainfrom
yuandrew:external-env-conf
Aug 27, 2025
Merged

External environment configuration sample#420
yuandrew merged 6 commits intotemporalio:mainfrom
yuandrew:external-env-conf

Conversation

@yuandrew
Copy link
Contributor

@yuandrew yuandrew commented Jul 31, 2025

What was changed

Added example using external environment configuration

Why?

new feature!

Checklist

  1. Closes

  2. How was this tested:
    Ran locally, some methods don't "work" out of the box, but demonstrate how users would use this new feature

  3. Any docs updates needed?

@yuandrew yuandrew requested a review from a team as a code owner July 31, 2025 21:16
Copy link
Contributor

@THardy98 THardy98 left a comment

Choose a reason for hiding this comment

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

LGTM, just a nit basically.

Wonder if it would be better to split the samples out into their own files, but it doesn't look like that's typical in this repo


return opts
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth leaving a comment here explaining what the default config is if you provide no config

Copy link
Member

Choose a reason for hiding this comment

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

This does not close #390. The issue there is to update every sample to using external environment configuration instead of assuming localhost default so every sample can use environment configuration. I'm not even sure we really need an environment configuration sample, but I have no problem with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point, made #421 to address 390

@yuandrew yuandrew requested a review from cretz August 26, 2025 18:45
@yuandrew yuandrew merged commit 2220984 into temporalio:main Aug 27, 2025
5 checks passed
@yuandrew yuandrew deleted the external-env-conf branch November 6, 2025 18:51
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