Skip to content

Synchronise master with upstream - #113

Open
github-actions[bot] wants to merge 1 commit into
stackhpc/masterfrom
upstream/master-2026-08-03
Open

Synchronise master with upstream#113
github-actions[bot] wants to merge 1 commit into
stackhpc/masterfrom
upstream/master-2026-08-03

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 3, 2026

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 3, 2026 07:25
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 3, 2026
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.

1 participant