From 6c4aedf60e6bb24483d004f4eb68f13131799e72 Mon Sep 17 00:00:00 2001 From: Gronod Date: Fri, 29 May 2026 13:37:56 +0100 Subject: [PATCH] chore: bump version to 1.7.36 and update CHANGELOG and docs --- CHANGELOG.md | 7 ++++++- package-lock.json | 4 ++-- package.json | 2 +- server/app.js | 2 +- server/openapi.yaml | 2 +- vitest.config.js | 4 ++++ 6 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65cce63..b2b709e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,12 @@ All notable changes to this project will be documented in this file. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).## [1.7.36] - 2026-05-29 + +### Fixed + +- **Test Timeout & Cross-Suite Background Event Pollution (V8 Coverage)** — Configured `fileParallelism: false` and `testTimeout: 15000` in `vitest.config.js`. This guarantees that slow code compilation/instrumentation under V8 coverage doesn't cause transient 5-second timeouts, and prevents asynchronous fire-and-forget background event loops (like Ombi webhook retry loops) in one test suite from running concurrently and overwriting cache singletons in other test suites. + ## [1.7.35] - 2026-05-29 ### Added diff --git a/package-lock.json b/package-lock.json index b8f8568..11712b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sofarr", - "version": "1.7.35", + "version": "1.7.36", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sofarr", - "version": "1.7.35", + "version": "1.7.36", "license": "MIT", "dependencies": { "axios": "^1.6.0", diff --git a/package.json b/package.json index 138fcac..604ea20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sofarr", - "version": "1.7.35", + "version": "1.7.36", "description": "A personal media download dashboard that shows your downloads 'so far' while you relax on the sofa waiting for your *arr services to finish", "main": "server/index.js", "scripts": { diff --git a/server/app.js b/server/app.js index f28035f..a6e6713 100644 --- a/server/app.js +++ b/server/app.js @@ -133,7 +133,7 @@ function createApp({ skipRateLimits = false } = {}) { * version: * type: string * description: sofarr version - * example: "1.7.35" + * example: "1.7.36" * x-code-samples: * - lang: curl * label: cURL diff --git a/server/openapi.yaml b/server/openapi.yaml index 346acf6..91a14a4 100644 --- a/server/openapi.yaml +++ b/server/openapi.yaml @@ -22,7 +22,7 @@ info: ## SSE Streaming Real-time updates are available via Server-Sent Events at GET /api/dashboard/stream. - version: 1.7.35 + version: 1.7.36 contact: name: sofarr license: diff --git a/vitest.config.js b/vitest.config.js index 7d0efce..550ef8f 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -5,6 +5,10 @@ export default defineConfig({ test: { // Global test helpers (describe, it, expect, vi) without per-file imports globals: true, + // Increase test timeout to avoid transient timeouts under coverage/heavy loads + testTimeout: 15000, + // Run test files sequentially to avoid cross-test background event pollution + fileParallelism: false, // Run each test file in an isolated module registry so module-level state // (tokenStore cache, config singletons) doesn't leak between files isolate: true,