Skip to content

Synchronise master with upstream - #116

Merged
priteau merged 1 commit into
stackhpc/masterfrom
upstream/master-2026-08-10
Aug 11, 2026
Merged

Synchronise master with upstream#116
priteau merged 1 commit into
stackhpc/masterfrom
upstream/master-2026-08-10

Conversation

@github-actions

Copy link
Copy Markdown

This PR contains a snapshot of master from upstream master.

The plugin's enabled file sets AUTO_DISCOVER_STATIC_FILES = True, so
django-compressor bundles grouping.js into Horizon's global script
bundle, executed on every page. Its top-level JSON.parse of the
groupby_list_config json_script element throws a TypeError on every
non-CloudKitty page, aborting the bundle mid-file: angular.module()
registrations after the abort point never run and Angular bootstrap
fails with [$injector:modulerr] — every Angular panel in Horizon
(Images, Key Pairs, Server Groups, ...) breaks cloud-wide, with no
failed network request to hint at the cause.

Guard the whole body on the element's existence. Block scoping the
const/class declarations also fixes the redeclaration SyntaxError from
the file being executed twice on CloudKitty's own pages (global bundle
plus the template's explicit script tag).

Closes-Bug: #2160103

Change-Id: I556b77996f09b0259cb9fcc5b1e6ba53d5bcf68c
Signed-off-by: Mahmoud Abouzeid <abouzeid@momentumx.cloud>
@github-actions
github-actions Bot requested a review from a team as a code owner August 10, 2026 06:45
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 10, 2026
@priteau
priteau merged commit 08cf585 into stackhpc/master Aug 11, 2026
6 checks passed
@priteau
priteau deleted the upstream/master-2026-08-10 branch August 11, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants