Skip to content

feat: add support for both Juju 3.6 and 4.0#2232

Open
huwshimi wants to merge 1 commit intocanonical:mainfrom
huwshimi:support-juju-3-and-4
Open

feat: add support for both Juju 3.6 and 4.0#2232
huwshimi wants to merge 1 commit intocanonical:mainfrom
huwshimi:support-juju-3-and-4

Conversation

@huwshimi
Copy link
Contributor

@huwshimi huwshimi commented Feb 24, 2026

Changes

Added support for Juju 3.6 and 4.0 facades. This mostly involved retrieving the model owner from the either owner-tag (for Juju 3.6) or qualifier (for Juju 4.0).

QA

  • Use the cloud init scripts to deploy a Juju 3.6 and Juju 4.0 controller.
  • Run the dashboard and check that for both controllers you can view the model details pages.

Details

https://warthogs.atlassian.net/browse/WD-33970

@webteam-app
Copy link

@huwshimi huwshimi force-pushed the support-juju-3-and-4 branch from ee16c30 to b0edff1 Compare February 24, 2026 03:27
@huwshimi huwshimi marked this pull request as ready for review February 24, 2026 03:31
@huwshimi huwshimi force-pushed the support-juju-3-and-4 branch from b0edff1 to 279602c Compare March 3, 2026 04:37
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 97.45% (🎯 95%) 17093 / 17540
🔵 Statements 97.45% (🎯 95%) 17093 / 17540
🔵 Functions 98.16% (🎯 95%) 696 / 709
🔵 Branches 92.01% (🎯 90%) 3388 / 3682
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/components/DestroyModelDialog/DestroyModelDialog.tsx 100% 82.6% 100% 100%
src/components/ModelTableList/ModelSummary/ModelSummary.tsx 100% 66.66% 100% 100%
src/components/ModelTableList/ModelTable/ModelTable.tsx 98.9% 87.5% 100% 98.9% 79-82
src/components/ModelTableList/StatusGroup/WarningMessage/WarningMessage.tsx 100% 83.33% 100% 100%
src/components/RelationIcon/RelationIcon.tsx 100% 100% 100% 100%
src/components/ShareCard/ShareCard.tsx 95.61% 90% 83.33% 95.61% 40, 105-106, 125-126
src/components/Topology/Topology.tsx 97.87% 85.36% 100% 97.87% 48-49, 77-78, 241-242
src/hooks/useModelAttributes.ts 100% 100% 100% 100%
src/hooks/useModelDestructionData.ts 100% 100% 100% 100%
src/juju/api.ts 98.19% 92.63% 94.44% 98.19% 129-130, 223-224, 444-445, 464-465
src/juju/api-hooks/application.ts 100% 100% 100% 100%
src/juju/jimm/JIMMV3.ts 100% 100% 100% 100%
src/juju/jimm/JIMMV4.ts 100% 100% 100% 100%
src/juju/jimm/api.ts 100% 100% 100% 100%
src/pages/EntityDetails/counts.ts 100% 93.54% 100% 100%
src/pages/EntityDetails/Model/Model.tsx 97.77% 89.47% 100% 97.77% 61-62, 69-70
src/pages/EntityDetails/Model/ApplicationsTab/LocalAppsTable/LocalAppsTable.tsx 100% 83.33% 100% 100%
src/pages/EntityDetails/Model/ApplicationsTab/LocalAppsTable/useTableSelect.tsx 98.31% 66.66% 100% 98.31% 63, 144
src/pages/EntityDetails/Model/ApplicationsTab/SearchResults/SearchResults.tsx 97.01% 90.9% 100% 97.01% 58-59
src/panels/ShareModelPanel/ShareModel.tsx 98.69% 93.1% 100% 98.69% 87, 104-105, 199
src/store/juju/selectors.ts 97.5% 91.84% 100% 97.5% 539-540, 579-580, 599-600, 715, 719, 741, 748, 754-755, 854-855, 880-881, 918-919, 944-945, 973-974, 1262, 1286, 1304
src/store/juju/slice.ts 98.02% 94.87% 100% 98.02% 597-601, 633-637
src/store/juju/thunks.ts 85.71% 66.66% 100% 85.71% 33-35, 57-61
src/store/juju/utils/models.ts 99.23% 95.08% 100% 99.23% 161-162
src/store/juju/utils/units.ts 95.13% 77.63% 100% 95.13% 70-71, 101-102, 110-112, 185-186, 215-216
src/tables/tableRows.tsx 88.58% 59.74% 100% 88.58% 103-104, 272-273, 279-280, 297, 385-449, 463-464, 564-565
Generated in workflow #2617 for commit 279602c by the Vitest Coverage Report Action

@huwshimi huwshimi added e2e Run E2E tests on this PR. and removed e2e Run E2E tests on this PR. labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants