Skip to content

Releases

PageRewind 0.2.0

Choose a tag to compare

@Yohan-Senadheera Yohan-Senadheera released this 24 Nov 17:34
2719e8e

Added

  • Flight recorder and "what changed" (capture service): recent logs of opted-in namespaces, including
    pods that crashed and were deleted; recorded image and config changes; an evidence bundle and a likely
    cause on each new incident (reverts, rollbacks and re-deploys told apart).
  • Logins and roles: Keycloak sign-in through the new gateway (PKCE, CSRF checks, rate limits); viewer,
    responder and admin roles on every API; services call each other with their own tokens.
  • Incidents show repeat occurrences of an alert with exact times, and their evidence.
  • The status page lists the incidents of the last 14 days.
  • Helm chart (charts/pagerewind) with bundled or external data stores and Keycloak, a values schema
    and a read-only RBAC toggle for the flight recorder; installed on kind in CI.
  • Signed images: Trivy gate, keyless cosign signatures and signed SPDX SBOMs; gitleaks on every pull
    request.
  • Fault injection setting for rehearsing bad releases (pagerewind.status.fault-percent, off by default).

Changed

  • The RabbitMQ Java client is 5.38.0 (Spring Boot's 5.30.0 had four fixable HIGH CVEs).
  • The Compose quickstart now needs Keycloak and signs people in.

Reference deployment

Keycloak, Kyverno, External Secrets, Istio ambient mTLS, Prometheus with SLO burn-rate alerts, backups to
S3 with a restore test, Argo Rollouts canary releases and three failure drills with post-mortems
(docs/postmortems/).

Install

  • Helm: helm install pagerewind oci://ghcr.io/yohan-senadheera/charts/pagerewind --version 0.2.0 -n pagerewind --create-namespace (see charts/pagerewind/README.md)
  • Docker Compose: see the README

Images ghcr.io/yohan-senadheera/pagerewind-<service>:0.2.0 are signed (keyless cosign) and carry a signed SPDX SBOM.

v0.1.0 (preview)

Choose a tag to compare

@Yohan-Senadheera Yohan-Senadheera released this 17 Nov 21:43
034c125

First preview release of PageRewind, a self-hosted on-call and incident tool for Kubernetes teams.

Preview: there is no login yet (planned for v0.2.0). Run it only on a private network.

Try it

git clone https://github.com/Yohan-Senadheera/pagerewind.git && cd pagerewind
git checkout v0.1.0
cp .env.example .env            # replace every "change-me"
docker compose up -d
./scripts/seed-demo.sh
./scripts/send-test-alert.sh

Incidents: http://localhost:8082/ui · On call: http://localhost:8083/ui · Email pages: http://localhost:8025 · Status: http://localhost:8085

What is in it

  • Alert intake (ingest): Alertmanager and generic webhooks; bearer token or HMAC-SHA256 signature; 202 only after the broker has stored the alert, 503 with Retry-After otherwise; repeat detection with Redis that fails open.
  • Incidents (incident): duplicate alerts become one incident, enforced by a partial unique index; triggered → acknowledged → resolved with optimistic locking; timeline and notes; REST API with OpenAPI; web UI.
  • On-call (schedule): people, teams, rotations, overrides, escalation policies with repeat; handovers keep local time across daylight saving changes; escalation timers stored in PostgreSQL and fired with SKIP LOCKED, so restarts never lose or repeat a page.
  • Paging (notify): Telegram with Acknowledge and Resolve buttons (accepted only from chats that were paged); email with signed, single-use, 30-minute links that only act on POST; retries with exponential backoff and jitter; rate limits; idempotent per event and contact.
  • Status page (status): public page and JSON per service; safe with out-of-order events; never shows alert text.
  • Reliability: transactional outbox (shared libs/messaging), idempotent consumers, quorum queues with dead-lettering after 5 attempts.
  • Operations: health probes, Prometheus metrics, JSON logs.

Images

ghcr.io/yohan-senadheera/pagerewind-ingest:0.1.0
ghcr.io/yohan-senadheera/pagerewind-incident:0.1.0
ghcr.io/yohan-senadheera/pagerewind-schedule:0.1.0
ghcr.io/yohan-senadheera/pagerewind-notify:0.1.0
ghcr.io/yohan-senadheera/pagerewind-status:0.1.0

Quality

  • About 200 unit and Testcontainers integration tests (PostgreSQL, RabbitMQ, Redis, Mailpit), including concurrency tests.
  • An end-to-end test in CI runs this quickstart: 5 copies of an alert make one incident, the on-call person is emailed, the next person is emailed after 1 minute, the email link acknowledges once, the escalation stops, and the status page shows the outage and recovers.

Reference deployment

Terraform on AWS (two-node k3s), Argo CD app-of-apps, cert-manager with Let's Encrypt, and scripts/pagerewind.ps1 to build or rebuild it. Design decisions are in docs/adr/ (0001 to 0008).

Known limitations

  • No authentication or roles yet (v0.2.0).
  • No Helm chart yet; the reference deployment uses plain manifests (v0.3.0).
  • Flight recorder and "what changed" are not in this release (v0.4.0).