revdeck 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,26 @@ All notable changes to this project are documented here. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.19.2] - 2026-11-30
8
+
9
+ ### Added
10
+
11
+ - The API client warns once in the console when a single path is requested more than 30 times per
12
+ second — the signature of an effect that reads the state it writes. Recovery, retries and polling
13
+ stay far below the threshold.
14
+ - `npm run audit:effects` parses every `$effect` in `ui/src` and reports the ones that read state they
15
+ also write; the CI job fails on a finding that is not in the reviewed list. The list names each
16
+ known-safe pattern with the reason it converges, so a new self-invalidating effect cannot sneak in
17
+ again.
18
+
19
+ ### Fixed
20
+
21
+ - The review Overview no longer refetches `/api/codeowners` and `/api/readiness` in an endless loop:
22
+ its effect read the `readinessLoading` flag it also wrote, so every response started the next
23
+ request (thousands per minute against the daemon and the platform). Loads are now keyed by the
24
+ review id and guarded by request counters: opening a review, switching reviews and “Refresh
25
+ readiness” send exactly one request each.
26
+
7
27
  ## [0.19.1] - 2026-11-30
8
28
 
9
29
  ### Fixed
package/CONTRIBUTING.md CHANGED
@@ -28,7 +28,8 @@ If a change is intentionally undocumented, say why in the pull request.
28
28
  git clone https://github.com/katrov/revdeck.git
29
29
  cd revdeck
30
30
  npm ci
31
- npm run typecheck # TypeScript 7 (server) + svelte-check (TS 6)
31
+ npm run typecheck # TypeScript 7 (server) + svelte-check (TS 6)
32
+ npm run audit:effects # Svelte effects that read the state they write
32
33
  npm test
33
34
  npm run build
34
35
  ```
@@ -90,7 +91,7 @@ overwrite files it does not own.
90
91
  ## Pull requests
91
92
 
92
93
  - One logical change per PR; include tests for behavior changes.
93
- - `npm run typecheck`, `npm test` and `npm run build` must pass.
94
+ - `npm run typecheck`, `npm run audit:effects`, `npm test` and `npm run build` must pass.
94
95
  - Do not commit secrets, `.env` files, tokens, or generated `dist/` artifacts.
95
96
  - UI changes: include a screenshot and check light/dark themes.
96
97
  - Commits: imperative mood, short subject, explain the *why* in the body. Conventional Commits
package/dist/cli.js CHANGED
@@ -853,7 +853,7 @@ var VERSION;
853
853
  var init_version = __esm({
854
854
  "src/version.ts"() {
855
855
  "use strict";
856
- VERSION = "0.19.1";
856
+ VERSION = "0.19.2";
857
857
  }
858
858
  });
859
859