github VersusControl/versus-incident v1.4.37

43 minutes ago

Kubernetes History That Keeps Up on Large Clusters

  • Run clusters with tens of thousands of open issues and keep history
    saving. Each save reads at most a few thousand issues, not every open
    issue, and a backlog of 53,000 open issues clears in about 10 minutes.
  • Keep Kubernetes pages loading while the database is busy. History saves
    have their own connections, and incident writes can no longer take every
    connection.
  • Write far less to the database. The Kubernetes inventory, capture
    ownership and break logs move to their own tables, and each save writes
    only what changed. On our four-cluster test, database writes fell from
    879 MB to 328 MB an hour.
  • See long-open issues close once their resource has recovered, oldest
    first.
  • Roll out a new version without two replicas capturing the same cluster.
    Capture moves to the new replica within a second of a graceful stop.
  • See a coverage gap on the Timeline only where history is really missing.
    A save the next capture recovers leaves no gap.
  • Remove a cluster from the config and its stored inventory and break logs
    are cleaned up after 24 hours.

Incident Counts That Stay Fast

  • Open as many tabs as you like. The header badge, the Now page and the
    Incidents tabs share one count per server, refreshed every 30 seconds.
  • See your own ack or resolve on the next refresh. New incidents show
    within 30 seconds.
  • Keep the last numbers on screen when a refresh fails, with "Counted at
    HH:MM" on hover. A count that isn't known yet shows "—", never 0.
  • Read large tab counts at a glance: 1,000 or more shows as "1.2k", with the
    full number on hover.
  • The incident list and search ask you to retry when a page can't load in
    5 seconds, instead of waiting.

AKS and GKE Stay Connected Across Credential Renewals

  • Keep AKS and GKE views steady when their tokens renew every hour: no
    "Preparing", no relisting of every kind, no pause in saved history.
    Versus proves each renewed token belongs to the same identity before it
    uses it.
  • See credential problems by their real cause: an unreachable proof host, a
    clock out of sync, a refused identity review or a cloud token endpoint
    that doesn't answer. Only a credential that was actually rejected asks you
    to rotate it.
  • Start faster with several cloud clusters: they connect in parallel, and a
    cluster whose token endpoint is down at start connects as soon as it
    answers.

Clearer Kubernetes Status

  • See a slow history database named as the database ("The history database
    is not responding"), with a retry, instead of a cluster timeout or an
    expired credential.
  • Keep the last status on screen when a refresh fails: "Couldn't refresh
    status — try again in Ns". The status turns amber only when the data is
    really due to go stale.
  • Every replica shows the same history-save notice, and it clears as soon as
    any replica saves again.
  • Kubernetes pages no longer flash on a healthy cluster.
  • Timeline totals count only the rows the list can show.
  • Screen readers hear sync status changes, not a ticking age.

Alert Delivery IDs

  • Drop repeated alerts in your own tools. Every notification carries a
    DeliveryID that stays the same on each resend and changes when the
    severity rises. Teams and Lark also get it as an Idempotency-Key header.

Log Level Setting

  • Choose how much Versus logs with LOG_LEVEL (debug, info, warn or
    error, default info).
  • A healthy Kubernetes cluster logs one line when it connects and nothing on
    each sync. Failures are logged once with their cause, and repeats at most
    once a minute.

Safer File Storage

  • File storage keeps every read and write inside the data directory, even
    when a link inside it points elsewhere.

Upgrading

Read the v1.4.37 migration guide before
you upgrade on PostgreSQL: add a startup probe, allow the btree_gist
extension, and upgrade very large clusters with a stop and start.

What's Changed

  • ci: run only the checks a change needs, and separate dev and main images by @hoalongnatsu in #415
  • docs(ci): publish dev pages marked dev with the dev image tag by @hoalongnatsu in #416
  • docs(ci): keep the docs sidebar in dev's order and entries by @hoalongnatsu in #420
  • ci: fix detect change by @hoalongnatsu in #421
  • feat(logging): add a leveled logger set by LOG_LEVEL by @hoalongnatsu in #424
  • perf(storage): cut Kubernetes evidence lock waits and issue rewrites by @hoalongnatsu in #425
  • perf(kubernetes): skip unchanged breaks in break-log capture by @hoalongnatsu in #426
  • feat(kubernetes): keep AKS and GKE clusters connected across credential renewals by @hoalongnatsu in #431
  • ci: fix test by @hoalongnatsu in #433
  • fix(kubernetes): stable alert delivery IDs, access re-check state, contained file storage by @hoalongnatsu in #435
  • fix(kubernetes): read the real level of break-log lines in common app formats by @hoalongnatsu in #436
  • refactor(agent): split worker.go into files by function group by @hoalongnatsu in #437
  • docs: kubernetes anomaly detection by @hoalongnatsu in #438
  • fix(kubernetes): show live issues when the history store is slow by @hoalongnatsu in #440
  • fix(kubernetes): report history store faults as the store, not the cluster by @hoalongnatsu in #443
  • feat(storage): session-scoped advisory locks and DeleteBlob by @hoalongnatsu in #444
  • fix(kubernetes): close long-open issues and bound the changes in one save by @hoalongnatsu in #445
  • perf(incidents): serve status counts from a per-server cache by @hoalongnatsu in #446
  • perf(kubernetes): move history state out of vs_blobs and bound saves by @hoalongnatsu in #448
  • build(deps): bump react-router and react-router-dom in /ui by @dependabot[bot] in #450
  • build(deps-dev): bump cross-spawn from 7.0.6 to 7.1.2 in /ui by @dependabot[bot] in #451

Full Changelog: v1.4.36...v1.4.37

Don't miss a new versus-incident release

NewReleases is sending notifications on new releases.