Skip to content

fix(release): drain the 2026-09-02 base-red — rerank-providers import + api-typecheck baseline ratchet - #12414

Merged
diegosouzapw merged 2 commits into
release/v3.8.51from
fix/release-v3.8.51-basereds-0902
Sep 2, 2026
Merged

diegosouzapw merged 2 commits into
release/v3.8.51from
fix/release-v3.8.51-basereds-0902

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Two-commit drain of the API Route Typecheck red on today's tip:

  1. src/app/api/memory/rerank-providers/route.ts TS2307: fix(memory): generic embedding/rerank provider listing + runtime fallback for all configured providers #11390 landed with a dynamic import of the @/lib/localDb barrel, which fix(barrel): migrate src/lib/ off the @/lib/localDb barrel import (#11795 Phase 3) #12052 had already removed (and Hard Rule build(deps): bump actions/github-script from 7 to 8 #2 forbids). Pointed at src/lib/db/readCache, where getCachedProviderNodes lives. Verified: the scoped tsc no longer reports the route.
  2. Baseline ratchet down: regenerated config/quality/api-typecheck-baseline.json with --update on a faithful npm ci environment (192.168.0.113, /tmp/apib-*.log) against tip+fix — 163 stale entries dropped, zero new entries, gate reads OK — 289 pre-existing error(s), all within frozen baseline. (The vendor TS2353s previously suspected were artifacts of stale local node_modules; they do not exist under the current lockfile.)

… module

#11390 landed with a dynamic import of the localDb barrel, which #12052 had
already removed from the base (and which Hard Rule #2 forbids) — the API
Route Typecheck gate reds on the tip with TS2307. getCachedProviderNodes
lives in src/lib/db/readCache.
…tries gone)

Regenerated with --update on a faithful npm ci environment (the .113 box)
against the current tip plus the rerank-providers import fix — the gate now
reads OK at 289 pre-existing errors, all baselined. No new entries added.
@diegosouzapw
diegosouzapw merged commit 6a91002 into release/v3.8.51 Sep 2, 2026
21 checks passed
@diegosouzapw
diegosouzapw deleted the fix/release-v3.8.51-basereds-0902 branch September 2, 2026 05:54
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
… + api-typecheck baseline ratchet (diegosouzapw#12414)

* fix(memory): point the rerank-providers dynamic import at the real db module

diegosouzapw#11390 landed with a dynamic import of the localDb barrel, which diegosouzapw#12052 had
already removed from the base (and which Hard Rule diegosouzapw#2 forbids) — the API
Route Typecheck gate reds on the tip with TS2307. getCachedProviderNodes
lives in src/lib/db/readCache.

* chore(quality): ratchet the api-typecheck baseline down (163 stale entries gone)

Regenerated with --update on a faithful npm ci environment (the .113 box)
against the current tip plus the rerank-providers import fix — the gate now
reads OK at 289 pre-existing errors, all baselined. No new entries added.
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