Skip to content

desktop: programNameIndex retry/backoff + tests#2236

Merged
robgruen merged 5 commits intomainfrom
dev/robgruen/TODO/desktop
Apr 23, 2026
Merged

desktop: programNameIndex retry/backoff + tests#2236
robgruen merged 5 commits intomainfrom
dev/robgruen/TODO/desktop

Conversation

@robgruen
Copy link
Copy Markdown
Collaborator

  • Use generateEmbeddingWithRetry for 429 backoff in programNameIndex
  • Jest infra + tests

Split from #2210.

robgruen and others added 3 commits April 22, 2026 14:06
Replaces generateEmbedding with generateEmbeddingWithRetry in addOrUpdate,
which provides automatic exponential backoff (3 retries, 2500ms base delay).
Also refactors createProgramNameIndex to accept an optional model override
for testability, and adds jest test infrastructure to the desktop package.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 22, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.electronjs.org
    • Triggering command: /usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/TypeAgent/TypeAgent/ts/node_modules/.pnpm/@electron&#43;rebuild@4.0.3/node_modules/@electron/rebuild/lib/module-type/node-gyp/worker.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@robgruen robgruen temporarily deployed to development-fork April 22, 2026 23:41 — with GitHub Actions Inactive
@robgruen robgruen temporarily deployed to development-fork April 22, 2026 23:41 — with GitHub Actions Inactive
@robgruen robgruen added this pull request to the merge queue Apr 23, 2026
Merged via the queue into main with commit 8267c3b Apr 23, 2026
21 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.

2 participants