Backport to 1.8.x: Add option to disable newsfeed in UI (#1109, #1110)#1111
Merged
chaptersix merged 2 commits intoJul 7, 2026
Merged
Conversation
## Related issues Related to #[1104](temporalio#1104) ## What changed? <!-- Describe what this PR does at a high level. --> This adds a command-line option that configures the embedded UI server to disable the news feed feature. ## Checklist <!-- Your PR should satisfy all these requirements. However, feel free to remove items that don't apply to the PR. Consider giving this checklist to an AI agent before opening your PR. --> ## Manual tests <!-- Edit the code samples below to provide setup and happy-path and error-path testing instructions. --> **Setup #1 (default case)** ``` temporal server start-dev ``` **Happy path #1 (default case)** Open the Web UI and observe that the news fetch feature is enabled, as it is by default. This is visible by way of a megaphone icon in the top navigation. **Setup two (feature disabled)** ``` temporal server start-dev --ui-disable-news-fetch ``` **Happy path two (feature disabled)** Open the Web UI and observe that the news fetch feature is disabled, since the environment variable is set to disable it, as described in the documentation. This is evident by the megaphone icon being omitted from the top navigation and the Web UI not making a request for the feed. --------- Co-authored-by: alex.stanfield <13949480+chaptersix@users.noreply.github.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.
What changed?
Cherry-picks the News Feed disable feature to
release/1.8.x:go mod tidyrather than pullingmain's full dependency tree, sogo.temporal.io/api,sdk, andserverstay pinned at their 1.8.x versions; only the transitive deps ui-server v2.50.1 requires were bumped.--ui-disable-news-fetchoption (andTEMPORAL_DISABLE_NEWS_FETCHenv binding) to disable the UI newsfeed. Applied cleanly.Why?
Backport of the newsfeed-disable capability to the 1.8.x release line.
How was this tested?
go build ./...make gen(no drift; generatedcommands.gen.gomatches)go test ./internal/temporalcli/(server/devserver command tests pass)