Skip to content

Valkey Support, Storage Alert Fix, and Multiple Improvements#119

Merged
Skyfay merged 15 commits into
mainfrom
dev
Jul 4, 2026
Merged

Valkey Support, Storage Alert Fix, and Multiple Improvements#119
Skyfay merged 15 commits into
mainfrom
dev

Conversation

@Skyfay

@Skyfay Skyfay commented Jul 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

Skyfay added 14 commits June 30, 2026 19:25
Use the latest successful backup execution as the primary signal for missing-backup alerts, with snapshot count-change history only as a fallback when no executions exist. This prevents false alerts when retention keeps file counts flat even though backups continue to run. Updated the changelog under vNEXT with the bug-fix entry and Docker tags.
Adds Valkey (Redis-compatible fork) as a first-class database adapter. The ValkeyAdapter reuses the Redis implementation with a distinct id/name. Includes: adapter registration, icon, form/UI wiring, backup extension, credential requirements, adapter permissions, version detection (prefers valkey_version over redis_version), test infrastructure (docker-compose + integration test config), seed script, and documentation (changelog, user guide, valkey.md).
Adds Valkey to the docs navigation and homepage support lists, updates database support tables to include connection modes plus restore capabilities, and aligns Redis compatibility to 2.8+ with Guided restore. The changelog was also updated with the Redis docs correction and an adapter form UX improvement entry.
Moved scrolling from the dialog wrapper into AdapterForm so the form body scrolls while actions stay fixed at the bottom. The dialog header was adjusted to remain stable, nested ScrollArea usage was removed, and form section indentation was cleaned up for consistency.
Updated the Redis restore UX and adapter messaging to handle both Redis and Valkey consistently. The restore client now derives an engine name from backup metadata and passes it into the wizard, which now renders engine-specific step titles, warnings, service/container names, paths, config filenames, and CLI commands. Backend restore preparation now detects Valkey via INFO server, uses engine-aware defaults and manual command output, and updates connection error text to Redis/Valkey.
Add INFO server mocks to Redis restore tests. The restore function now detects the Redis version before performing configuration steps, so all test cases need to mock this initial INFO server call to match the updated implementation.
Health check log retention now runs through the daily CLEAN_OLD_LOGS task using the healthcheck.logRetentionDays setting. This removes the per-run cleanup from the health check service, drops the redundant storage snapshot cleanup from dashboard stats refresh, and updates docs and tests accordingly.
Adds a Valkey badge to the technology list in the README.
Replace the generic hard drive icon in the dashboard storage status and storage volume chart with the adapter-specific brand icon. This keeps storage widgets aligned with the Destinations page and makes each destination easier to पहचान.
Harden the internal SQLite setup by forcing a single Prisma connection, enabling WAL mode, and applying a busy timeout to reduce "database is locked" errors during concurrent access. Also ignore SQLite WAL companion files and document their presence and backup requirements in the installation guide and changelog.
Introduces a new `SQLITE_WAL_MODE` environment variable (default `true`) to control whether Prisma enables SQLite WAL mode at startup. When set to `false`, WAL is skipped and a clear log message is emitted, while busy timeout hardening remains in place. Updated env validation, unit tests, changelog, and installation/developer docs to document the new behavior and when disabling WAL is useful (for filesystems without WAL shared-memory locking support).
Document Valkey as a supported database engine in the README and update the engine count from 7 to 8 so the feature list matches current support.
Updated assistant guidance to better reflect current architecture and process expectations. The changes expand adapter and notification documentation, add clearer server action and UI/logging rules, tighten changelog entry conventions, and include workflow instructions in CLAUDE.md so agents consistently apply release-note requirements.
Finalize the 2.9.0 release by bumping version metadata in the main package, docs package, and both OpenAPI specs. Update the changelog from vNEXT to a dated v2.9.0 release entry, including Docker image tags for the new version.
@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.67347% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/services/system/system-task-service.ts 50.00% 2 Missing and 2 partials ⚠️
src/services/storage/storage-alert-service.ts 78.57% 1 Missing and 2 partials ⚠️
src/lib/adapters/database/redis/restore.ts 92.85% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Updates the Valkey source guide to point the Retention Policies link to the correct `/user-guide/jobs/retention` path.
@Skyfay Skyfay merged commit e3ef0ca into main Jul 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant