Full Changelog 1.7.1
Released 2026-10-08 · Grafana1st · 2 issues · 1 feature · 8 fixes
The complete record: every commit in the release, grouped by type, including work that never reaches a customer-facing note. The external changelog is the readable summary of the same release.
Features
-
MySQLMetadataLockQueue — queries queued on a table metadata lock (#120)
A DDL statement waits for an exclusive metadata lock while a long query holds the table, and every later query on that table queues behind it. MySQL’s default lock_wait_timeout is one year, so nothing clears it. Observed on a Kubernetes 56-minute SELECT, 223 queries queued and the UI returned 504 for ~15 minutes with no alert. Warning after 2 minutes; over the previous 7 days the expression was non-zero only during that incident.
Bug Fixes
-
Replace the VERSION_FULL directory docker leaves behind
A stack brought up before bootstrap ever wrote VERSION_FULL makes docker create the missing bind source as an empty directory. bootstrap then failed to write the file on every run and /version stayed empty: grafrd from 26.09 to the 1.7.0 RC. bootstrap now removes an empty directory (never a non-empty one) and writes the file; restart_stale_mounts recreates a container that still holds a directory where a file now is, since a restart cannot mount a file over it.
Test 100, mutations 100-100c.
(cherry picked from commit 6111ad7a01c8c7be99390cd3275d8eb62288026d)
-
DEV-3178 - Grafana > Alert manager > SNMP notifier > SNMPv3, auth SHA + priv AES > trap not sent / sent unencrypted
-
Apply keeps an unchanged certificate; a failed issue keeps a working one
The SSL mark that shows a configured section doubled as "edited", so on every Let’s Encrypt host each Apply ran acme.sh --issue --force. That walks into Let’s Encrypt’s rate limit, and the fallback then replaced a valid certificate with a self-signed one, which browsers reject at once (grafrd, 05.10.2026). The certificate is now re-issued only when the SSL settings actually change, and a failed issue keeps the current certificate while it names the domain and has not expired.
Leaving the menu, and its review screen, said nothing was applied even after an Alerting channel had been saved and made live; both now say so.
Test 102, mutations 102-102c.
(cherry picked from commit 6ded331ecf9a0293e675d1b652bceb4794152059)
-
Leave a container that already serves :9363 alone
On the container branch install-native.sh never probed the native exited 3, so a deploy reported "Pending: clickhouse (config placed, container recreate still required)" with five manual steps even when ClickHouse already served its metrics from its own config (local-stack’s ls_clickhouse), and left an untracked file in the qa-shared tree.
The container branch now asks _metrics_answer first and, when the endpoint already serves the ClickHouse family, reports OK and exits 0 without writing anything. quick-deploy no longer advises restarting a clickhouse-server unit in that case (there is none on a container host); its endpoint probe is factored into _ch_native_live.
Test 103 runs the script against docker/curl stubs; Test 67 now stubs curl so a test host with a live :9363 cannot turn it into Test 103.
(cherry picked from commit f0412445a67d38223e2e9f4cafb7a8a637189493)
-
alert-channel test reads the stack .env it is given
bootstrap loaded notify-test.sh as
NT_ENV_FILE=<stack .env> source <lib>. A prefix assignment binds only whilesourceruns, so every later nt_* call read an unset path: saving SNMP in the installer menu warned "SNMP_TRAP_ADDRESS is empty; SNMP_COMMUNITY is empty" with both set, and "test all channels" found no channel configured.Assign NT_ENV_FILE on its own line in both _alert_test_prompt and _alert_test_all, and correct the usage comment in notify-test.sh that documented the broken form. Test 104 runs both functions against the real lib with a decoy .env in the working directory.
(cherry picked from commit bf793aaf7d5ea4854272570221131ecf61148327)
-
The SNMP test polls the Trap Catcher on its default port
env_get never fails (it ends in
|| true), so the|| echo 8089fallback never ran: without SNMP_CATCHER_WEB_PORT in .env the URL had no port and every SNMP test notification read FAILED although the trap reached the catcher (grafrd, 06.10.2026). Exposed once the test path could read the stack .env at all.Test 104 extended, mutation 104b.
(cherry picked from commit c0f8ce924c38d676b29690380edf3245b52fe73a)
-
A prompt exits when its terminal is gone instead of spinning
Every key read from /dev/tty ignored the read status. Once the terminal closed, read failed at once, the empty key was taken as Enter, and the prompt loop spun at 50-90% CPU indefinitely: an orphaned installer form ran for ~3 h on 06.10.2026. A failed read now exits 129, as the default SIGHUP would; returning "back" would only move the spin into the caller’s menu loop. _ui_form_edit without a TTY keeps the old value instead of retrying a read that can never succeed.
TerminalHangupTest (3 tests) in test_pipeline.py, mutation py-hung-up-prompt-spins.
(cherry picked from commit 51d4bcf7e73828f8b5a79ed3a6ca60fcbab7b326)
-
The IIS dashboard ships without a saved host or instance
Extended/windows-exporter-iis-node.json saved one machine’s selection as the current value of two query variables: hostname WIN-KV7EQSCVI3S and instance devops-ui.friendly-tech.com. Both are re-resolved from Prometheus on load, so the saved values only leaked an internal host name into every installation, and the Kubernetes chart cannot carry the dashboard while it contains one — it stayed out of step with this repository for that reason.
Documentation
-
Index in the CI/CD Manager format (#116)
From 1.7.1 the changelog pages are written by the CI/CD Manager. It adds each release to this index, newest first, but only recognizes its own different label. Same 1.7.0 entry, CI/CD Manager layout.
-
Release through the CI/CD Manager, like every other project (#117)
From 1.7.1 grafana is released by the CI/CD Manager in the model the team agreed on: develop is the release candidate, a release merges develop into main, and release/X.Y.Z is cut from main and kept for that version.
-
branches, feature/bugfix flow (QA on the branch), release steps, hotfixes on release/X.Y.Z, tags release-X.Y.Z
-
what the CI/CD Manager writes (version stamps, changelog pages) and the merge-commit rule for the release PR
-
commit rules the release notes depend on (types, Jira key,
!) -
branch protection with the CI/CD Manager on the bypass list
-
kept: own images, docs refs, interactive installer gate, bootstrap
-
"Before 1.7.1": the release.sh leftovers and what replaces them
release-workflow.adoc regenerated with misc/md2adoc.sh.
-
-
Update antora version to 1.7.1
Tests
-
The autostash permission check reads the mode on Linux
stat -f %Lp ran first; on Linux stat -f succeeds and prints filesystem status, so PERM held garbage and the pre-commit selftest failed on any Linux host. GNU stat -c %a now runs first, BSD stat -f as the fallback.
(cherry picked from commit 4e8d725adbda2ee5369950c91c6e4db69de43125)
-
verify-only matches what a -y install deploys
-
the ClickHouse panel check queried clickhouse_uptime, the name of the retired f1yegor exporter; the native :9363 endpoint emits ClickHouseAsyncMetrics_Uptime
-
mailpit runs only under compose profile
testing, which a -y install never enables; the container check now runs only when COMPOSE_PROFILES in the stack .env liststesting, and is reported as skipped otherwise(cherry picked from commit c6cfac7939c2bceec79c3fe46d0ea7c2c07768df)
-
-
The :9363 fixture’s state file is created on Linux too
mktemp -t tui_ch works on macOS but GNU mktemp rejects a template without X, so on Linux the fixture never reported its port and the probe assertion failed with 'the test’s own endpoint never came up'.
(cherry picked from commit 30475b9e84965cf2c3b2b8ba581c715e47b98bc4)