Skip to content

Hotfix: fix compression and update libs reported by Aikido#142

Merged
odemkovych merged 3 commits into
developfrom
hotfix/compression_fix_and_aikido
May 25, 2026
Merged

Hotfix: fix compression and update libs reported by Aikido#142
odemkovych merged 3 commits into
developfrom
hotfix/compression_fix_and_aikido

Conversation

@odemkovych

Copy link
Copy Markdown
Collaborator

No description provided.

@odemkovych odemkovych self-assigned this May 25, 2026
@github-actions

github-actions Bot commented May 25, 2026

Copy link
Copy Markdown

Levitate is-compatible report:

🔍 Resolving @grafana/data@latest...
🔍 Resolving @grafana/ui@latest...
🔍 Resolving @grafana/runtime@latest...
🔍 Resolving @grafana/schema@latest...
🔍 Resolving @grafana/e2e-selectors@latest...
🔍 Resolving @grafana/experimental@latest...

🔬 Checking compatibility between ./src/module.ts and @grafana/data@13.0.1...
✔ Found @grafana/data version 12.4.2 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/ui@13.0.1...
✔ Found @grafana/ui version 12.4.2 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/runtime@13.0.1...
✔ Found @grafana/runtime version 12.4.2 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/schema@13.0.1...
✔ Found @grafana/schema version 12.4.2 locally

🔬 Checking compatibility between ./src/module.ts and @grafana/e2e-selectors@13.0.1...
Skipping package @grafana/e2e-selectors because it is not used in the project or not installed locally.
did you forget to run yarn install or npm install?

🔬 Checking compatibility between ./src/module.ts and @grafana/experimental@2.1.6...
Skipping package @grafana/experimental because it is not used in the project or not installed locally.
did you forget to run yarn install or npm install?

✔️ ./src/module.ts appears to be compatible with @grafana/data,@grafana/ui,@grafana/runtime,@grafana/schema,@grafana/e2e-selectors,@grafana/experimental

…user SETTINGS;

The rewrite exists only as an anti-override defense — to prevent a user-authored
SQL-level hdx_query_admin_comment from silently wiping out the session-level
managed Grafana attribution fragment. Previously it ran against any SETTINGS
clause and stapled the managed block onto user SQL even when there was nothing
to defend against, cluttering audit logs and user-authored queries with
plugin-injected metadata. Now the rewrite is skipped when the user's SETTINGS
clause does not already contain hdx_query_admin_comment; the session-level
injection still carries the managed fragment in that case.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@odemkovych odemkovych merged commit a9476a6 into develop May 25, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant