Skip to content

chore(release): staging to production - 2026.03.16 - #1030

Merged
maxtechera merged 3 commits into
productionfrom
staging
Mar 16, 2026
Merged

maxtechera merged 3 commits into
productionfrom
staging

Conversation

@github-actions

Copy link
Copy Markdown

🚀 Release: Staging to Production

Release Date: 2026-03-16

Changes in this release

  • fix(documentstore): select only id when fetching existingChunkIds (9d9a623)
  • fix(AAIDomains): separate Supabase fetch retry from onPage callback (2aebbb3)

This PR is automatically created/updated when commits are pushed to staging.
Merging this PR will trigger the release workflow to create a new GitHub release.

The retry loop was catching both Supabase fetch errors AND onPage (DB save)
errors. A failed DB insert would cause _executeLoad to re-fetch the same
Supabase page and retry the save, potentially creating duplicate chunks.

Restructure _executeLoad so the retry loop covers the Supabase fetch only.
onPage is called after a successful fetch — if it throws, the error
propagates up to the caller without retrying.
chunkRepository.find() was loading full DocumentStoreFileChunk entities
including pageContent (up to 1KB each). With 95k existing chunks from a
previous sync, this was loading ~143MB into memory before streaming even
started — explaining the crash at page 20 despite streaming being live.

Add select: { id: true } to both existingChunkIds fetches in
_saveChunksToStorage and syncAndRefreshChunks.
fix(AAIDomains): separate Supabase fetch retry from onPage callback
@vercel

vercel Bot commented Mar 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
answerai-docs Building Building Preview Mar 16, 2026 11:08pm
the-answerai Building Building Preview Mar 16, 2026 11:08pm

Request Review

@maxtechera
maxtechera merged commit e0737b3 into production Mar 16, 2026
8 checks passed
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck March 16, 2026 23:11 — with Render Inactive

This branch was successfully deployed

2 active and 1 inactive deployments
staging - aai-unified2-flowise-moonstruck — 397442a8 Deployed Mar 16, 2026 by maxtechera
Preview – answerai-docs — 397442a8 Deployed Mar 16, 2026 by vercel[bot]
Preview – the-answerai — 397442a8 Deployed Mar 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant