Skip to content

PMM-14969: UI upgrade removal#5394

Open
fabio-silva wants to merge 6 commits into
v3from
PMM-14969-ui-upgrade-removal
Open

PMM-14969: UI upgrade removal#5394
fabio-silva wants to merge 6 commits into
v3from
PMM-14969-ui-upgrade-removal

Conversation

@fabio-silva
Copy link
Copy Markdown
Contributor

PMM-14969

Replace "Upgrade now" with documentation reference

@fabio-silva fabio-silva requested review from a team and Nailya as code owners May 21, 2026 10:11
@fabio-silva fabio-silva requested review from 4nte, JiriCtvrtka, Copilot, matejkubinec and mattiasimonato and removed request for a team, 4nte, JiriCtvrtka and Nailya May 21, 2026 10:11
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.19%. Comparing base (7fccd1e) to head (079ddc9).
⚠️ Report is 1 commits behind head on v3.

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #5394      +/-   ##
==========================================
- Coverage   43.22%   43.19%   -0.04%     
==========================================
  Files         413      413              
  Lines       42279    42279              
==========================================
- Hits        18277    18263      -14     
- Misses      22134    22149      +15     
+ Partials     1868     1867       -1     
Flag Coverage Δ
admin 34.94% <ø> (ø)
agent 49.04% <ø> (-0.12%) ⬇️
managed 42.33% <ø> (-0.01%) ⬇️
vmproxy 72.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the UI-driven PMM upgrade flow (and related Watchtower plumbing) and replaces the “Update now” action with a link to the official upgrade documentation, while cleaning up development/build tooling that previously supported Watchtower-based updates.

Changes:

  • Replaced the in-UI “Update now” action with an external link to upgrade documentation.
  • Removed update-progress/update-log UI components and associated hooks/types/messages.
  • Removed Watchtower configuration from compose files, installer script (get-pmm.sh), packer/ansible podman setup, and env examples; added a new Grafana provisioning file for dashboards dev.

Reviewed changes

Copilot reviewed 29 out of 31 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ui/docker-compose.yml Removes the Watchtower service from the UI dev compose stack.
ui/apps/pmm/src/pages/updates/update-log/UpdateLog.types.ts Deletes UpdateLog props type (UpdateLog feature removal).
ui/apps/pmm/src/pages/updates/update-log/UpdateLog.tsx Deletes UpdateLog modal component (UpdateLog feature removal).
ui/apps/pmm/src/pages/updates/update-log/UpdateLog.messages.ts Deletes UpdateLog UI strings.
ui/apps/pmm/src/pages/updates/update-log/UpdateLog.hooks.ts Deletes polling hook for update logs.
ui/apps/pmm/src/pages/updates/update-log/update-log-content/UpdateLogContent.types.ts Deletes UpdateLogContent props type.
ui/apps/pmm/src/pages/updates/update-log/update-log-content/UpdateLogContent.tsx Deletes UpdateLogContent rendering component.
ui/apps/pmm/src/pages/updates/update-log/update-log-content/index.ts Removes barrel export for UpdateLogContent.
ui/apps/pmm/src/pages/updates/update-log/index.ts Removes barrel export for UpdateLog.
ui/apps/pmm/src/pages/updates/update-in-progress-card/UpdateInProgressCard.types.tsx Deletes UpdateInProgressCard props type (in-progress UI removal).
ui/apps/pmm/src/pages/updates/update-in-progress-card/UpdateInProgressCard.tsx Deletes in-progress update card UI (in-app upgrade flow removal).
ui/apps/pmm/src/pages/updates/update-in-progress-card/UpdateInProgressCard.messages.ts Deletes in-progress update card strings.
ui/apps/pmm/src/pages/updates/update-in-progress-card/update-progress/UpdateProgress.types.ts Deletes UpdateProgress props type.
ui/apps/pmm/src/pages/updates/update-in-progress-card/update-progress/UpdateProgress.tsx Deletes update progress UI widget.
ui/apps/pmm/src/pages/updates/update-in-progress-card/update-progress/UpdateProgress.messages.ts Deletes update progress strings.
ui/apps/pmm/src/pages/updates/update-in-progress-card/index.ts Removes barrel export for UpdateInProgressCard.
ui/apps/pmm/src/pages/updates/update-card/UpdateCard.tsx Removes start-update logic and renders a docs link button instead.
ui/apps/pmm/src/pages/updates/update-card/UpdateCard.messages.ts Updates button text key; retains other messages.
ui/apps/pmm/src/pages/updates/update-card/UpdateCard.constants.ts Replaces old deprecation links with a single upgrade docs URL constant.
get-pmm.sh Removes Watchtower token option and Watchtower container/token setup logic.
docker-compose.dev.yml Removes Watchtower service/profile from the main dev compose stack.
dashboards/pmm-app/provisioning-dev.yml Adds a new Grafana provisioning definition for dashboards in dev.
build/packer/pmm.json Removes Watchtower image variable and stops passing it to Ansible.
build/packer/ansible/roles/podman-setup/templates/watchtower.service Deletes Watchtower systemd unit template.
build/packer/ansible/roles/podman-setup/templates/watchtower.env Deletes Watchtower env template.
build/packer/ansible/roles/podman-setup/templates/pmm-server.env Removes Watchtower-related env vars from podman PMM env template.
build/packer/ansible/roles/podman-setup/tasks/main.yml Removes SELinux/watchtower setup and service enablement tasks.
build/Makefile Removes Watchtower image variable and packer var wiring.
AGENTS.md Updates dev compose description to remove Watchtower mention.
.env.example Removes Watchtower example configuration block.
.env.dev.example Removes Watchtower dev example configuration block.
Comments suppressed due to low confidence (1)

ui/apps/pmm/src/pages/updates/update-card/UpdateCard.messages.ts:16

  • howToUpdateDocs: 'How to update docs' is ambiguous (it reads like documentation about updating documentation) and the deprecation copy below mentions removal in PMM 3.9.0 but the UI upgrade flow has already been removed in this PR. Consider renaming the button label to something like “View upgrade documentation” (or similar) and deleting/updating the now-unused deprecation message block to avoid stale strings lingering in the codebase.
  howToUpdateDocs: 'How to update docs',
  error: 'There was a problem during the update',

  deprecation: {
    heading: 'UI upgrades deprecated',

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ui/docker-compose.yml
Comment thread dashboards/pmm-app/provisioning-dev.yml Outdated
@fabio-silva fabio-silva force-pushed the PMM-14969-ui-upgrade-removal branch from eb1a26e to 44c1002 Compare May 21, 2026 10:24
Copy link
Copy Markdown
Contributor

@matejkubinec matejkubinec left a comment

Choose a reason for hiding this comment

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

@fabio-silva good from the FE side, it would be good to receive approval feedback on the other changes (build/get-pmm/etc.)

'https://per.co.na/pmm/upgrade-podman';
export const DEPRECATION_HELM_UPGRADE_HREF =
'https://per.co.na/pmm/upgrade-helm';
export const UPGRADE_DOCS_HREF = 'https://docs.percona.com/percona-monitoring-and-management/3/pmm-upgrade/index.html'; No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@catalinaadam it would be good to have a shortlink here

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.

4 participants