-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update Configuration Loading #8477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
2ddcd10
Refactor config loader to support template validation
chaptersix ab88fdc
Embed default config template in binary
chaptersix e78a760
Remove duplicate config template from docker directory
chaptersix c704415
Make embedded config the default for temporal server
chaptersix a21c685
Add template coverage test and refactor config loading
chaptersix 30fb3a4
Fix linting errors in config loader
chaptersix b90e387
Revert embed file changes to maintain Helm chart compatibility
chaptersix 6bdb4d5
Refactor config loader to use functional options pattern
chaptersix 46dffd7
Remove obsolete comments from config loader
chaptersix 30378c9
Revert logger configuration changes
chaptersix 7c38020
Rename config environment variable for clarity
chaptersix 09502e3
Fix default values in embedded config template
chaptersix e26974e
Refactor config loader structure and simplify tests
chaptersix 9f035cb
Add README documentation for Docker configuration
chaptersix 26060a5
Update Docker README to reflect new config loading
chaptersix f8a3f0f
Fix broken documentation links
chaptersix 0515cac
Fix config tests and update development config
chaptersix e44db02
Add backward compatibility tests for config loading
chaptersix 47331e0
Clean up config loader code formatting
chaptersix d7f33e1
Add config file path option to FX provider
chaptersix 6086881
Fix race by extracting out CloseTransferTask while holding lock (#8548)
michaely520 ecf3887
Fix queue slice count action (#8550)
yycptt 62cc6e1
CHASM: Workflow library (#8554)
yycptt 726bce4
Lock in rateLimitManager constructor and Stop (#8555)
dnr 4926e9b
Fix change tracking + improve fairness migration tests (#8556)
dnr 9d719b4
No-op close transfer task for SyncWorkflowState (#8507)
michaely520 52e213e
Clarify config-file flag usage text
chaptersix 410ef28
Fix unit test failure in config loader tests
chaptersix 1c712bf
fix bad merge.
chaptersix db9a226
Revert bad merge changes to service/, proto/, and tests/ directories
chaptersix dcc64aa
Reverts changes from main
chaptersix c57751f
revert
chaptersix eb74396
Merge branch 'main' into alex/fix_loader
chaptersix f55c9a7
Merge branch 'main' into alex/fix_loader
chaptersix bc4e516
address pr comments
chaptersix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you confirm that this behavior is 100% compatible with what we had before? I'm not super familiar and would rather not dive too deep into the implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There where not a a lot of existing tests to reference but I added tests to verify my understanding of how it works. It was also able to load the example configs in the make file before change it. I'll double check again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found some existing tests and modified them. It works.