Sitelet https://github.com/temporalio/cli/pull/1111
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

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
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
temporal 1.8.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## New Features

### `temporal schedule list-matching-times`

New command that lists the next matching start times for a schedule, making it easier to preview when a schedule will fire. ([#1047](temporalio/cli#1047))

## Improvements

- **Persistence info in the dev server banner** — `temporal server start-dev` now reports its persistence configuration in the startup banner. ([#1033](temporalio/cli#1033))
- **Dev server cluster ID is now prefixed with `dev-server-`** ([#1059](temporalio/cli#1059))
- **Search attributes are now sorted** — the output of listing search attributes is sorted for stable, readable output. ([#1016](temporalio/cli#1016))
- **`temporal workflow delete` now prompts for confirmation** before deleting. ([#1029](temporalio/cli#1029))
- **Batch operations skip the pre-count when `--yes` is set** — `CountWorkflow` is no longer called for batch operations run with `--yes`. ([#1012](temporalio/cli#1012))
- **Clearer activity pause help** — clarified the timeout behavior described in `activity pause` help text. ([#1099](temporalio/cli#1099))
- **Correct fairness weight flag names in help** — `task-queue config set` help now shows the real fairness weight flag names. ([#1056](temporalio/cli#1056))

## Bug Fixes

- **`--help` no longer errors when combined with value flags** — passing `--help` alongside a value flag (e.g. `--address 123 --help`) previously surfaced `pflag: help requested` as an error. ([#1006](temporalio/cli#1006), addresses [#1003](temporalio/cli#1003))
- **TLS now applied for profiles without an explicit TLS block** — profiles that omitted a `tls` section were not getting TLS enabled. ([#1089](temporalio/cli#1089))
- **Extension delegation preserves exit codes** — when `temporal` delegates to an extension, it now exits with the same exit code the extension returned. ([#1116](temporalio/cli#1116))
- **Docs generation escapes MDX-incompatible patterns** — `gen-docs` now escapes MDX-incompatible content and supports a `-subdir` flag, fixing documentation builds. ([#1112](temporalio/cli#1112))

## Dependency Upgrades

- UI Server: upgraded to v2.50.1
- Temporal Server: v1.31.2
- Go: v1.26.4
- Pinned Alpine base image and bumped GitHub Actions dependencies (CI/tooling only)

## What's Changed
* chore: backport server-independent changes from main to release/1.8.x by @chaptersix in temporalio/cli#1104
* Backport to 1.8.x: Add option to disable newsfeed in UI (#1109, #1110) by @chaptersix in temporalio/cli#1111
* Backport to 1.8.x: MDX docs fixes, server v1.31.2, extension exit code (#1112, #1115, #1116) by @chaptersix in temporalio/cli#1118

**Full Changelog**: temporalio/cli@v1.7.3...v1.8.0
</pre>
  <p>View the full release notes at <a href="/sitelet?url=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fcli%2Fpull%2F%253Ca%2520href%3D"https://github.com/temporalio/cli/releases/tag/v1.8.0">https://github.com/temporalio/cli/releases/tag/v1.8.0</a>.</p">https://github.com/temporalio/cli/releases/tag/v1.8.0">https://github.com/temporalio/cli/releases/tag/v1.8.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!14039
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