Skip to content

Backport to 1.8.x: Add option to disable newsfeed in UI (#1109, #1110)#1111

Merged
chaptersix merged 2 commits into
temporalio:release/1.8.xfrom
chaptersix:cherry-pick-disable-newsfeed-1.8.x
Jul 7, 2026
Merged

Backport to 1.8.x: Add option to disable newsfeed in UI (#1109, #1110)#1111
chaptersix merged 2 commits into
temporalio:release/1.8.xfrom
chaptersix:cherry-pick-disable-newsfeed-1.8.x

Conversation

@chaptersix

Copy link
Copy Markdown
Contributor

What changed?

Cherry-picks the News Feed disable feature to release/1.8.x:

  • Bump ui-server to v2.50.1 #1109 — Bump ui-server to v2.50.1 (required for the News Feed feature). Applied against the 1.8.x dependency baseline via go mod tidy rather than pulling main's full dependency tree, so go.temporal.io/api, sdk, and server stay pinned at their 1.8.x versions; only the transitive deps ui-server v2.50.1 requires were bumped.
  • Add option to disable newsfeed in UI #1110 — Add --ui-disable-news-fetch option (and TEMPORAL_DISABLE_NEWS_FETCH env 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; generated commands.gen.go matches)
  • go test ./internal/temporalcli/ (server/devserver command tests pass)

chaptersix and others added 2 commits July 7, 2026 10:24
## 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>
@chaptersix chaptersix requested a review from a team as a code owner July 7, 2026 15:28
@chaptersix chaptersix merged commit 62915c5 into temporalio:release/1.8.x Jul 7, 2026
8 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.

2 participants