Skip to content

Add storage type to the platform health page - #3196

Merged
rbev merged 4 commits into
masterfrom
storage-type
Nov 24, 2026
Merged

rbev merged 4 commits into
masterfrom
storage-type

Conversation

@rbev

@rbev rbev commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This pull request enhances the platform health page by adding support for displaying and exporting the storage/persistence type for ServiceControl instances (primary and remote), including comprehensive test coverage and documentation updates. The changes ensure that the persistence type is mapped, displayed in the UI, included in support exports, and omitted from sensitive settings.

Persistence Type Support and Mapping:

  • Added a persistenceType field to the PlatformInstance model, mapped from storage.storage_type or persistence.persistence_type in configuration responses for both primary and remote instances, with storage taking precedence when both are present. [1] [2] [3] [4] [5] [6]

UI and Documentation Updates:

  • Updated the health page to show the persistence type as "Storage Type" in the info details for each instance, and documented the mapping logic and display behavior. [1] [2] [3] [4] [5]

Test Coverage:

  • Added and extended tests to verify correct mapping, UI display, and export of persistence type, including edge cases (e.g., field absence, precedence, clearing on refresh). [1] [2] [3] [4] [5] [6]

Support Export Improvements:

  • Ensured that the support JSON export includes the mapped persistence type but omits sensitive persistence_settings fields such as connection strings and certificates. [1] [2]

Documentation and Test List Updates:

  • Updated documentation to describe the new persistence type logic, added test file references, and included new test commands for running the expanded test suite. [1] [2]

Reviewer Checklist

  • Components are broken down into sensible and maintainable sub-components.
  • Styles are scoped to the component using it. If multiple components need to share CSS, then a .css file is created containing the shared CSS and imported into component scoped style sections.
  • Naming is consistent with existing code, and adequately describes the component or function being introduced
  • Only functions utilizing Vue state or lifecycle hooks are named as composables (i.e. starting with 'use');
  • No module-level state is being introduced. If so, request the PR author to move the state to the corresponding Pinia store.

@rbev rbev modified the milestone: 2.14.0 Nov 24, 2026
Comment thread docs/frontend/platform-health-page.md Resolved
rbev and others added 2 commits November 24, 2026 15:47
Co-authored-by: Warwick Schroeder <warwick.schroeder@particular.net>
@rbev
rbev enabled auto-merge November 24, 2026 08:00
@rbev
rbev merged commit b048ec7 into master Nov 24, 2026
5 checks passed
@rbev
rbev deleted the storage-type branch November 24, 2026 08:16
@warwickschroeder warwickschroeder added this to the 2.14.0 milestone Nov 25, 2026
@warwickschroeder warwickschroeder added the Improvement Improvement label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants