Skip to content

Optimization/v1#124

Open
Olympusxvn wants to merge 14 commits intoMystenLabs:devfrom
Olympusxvn:optimization/v1
Open

Optimization/v1#124
Olympusxvn wants to merge 14 commits intoMystenLabs:devfrom
Olympusxvn:optimization/v1

Conversation

@Olympusxvn
Copy link
Copy Markdown

Pushed 807eef4 to optimization/v1 , removed npm install -g npm@latest from both release workflows, updated CHANGELOG (entry #15) and lessons.md (entry #9).

Olympusxvn and others added 14 commits April 28, 2026 11:36
Server (Rust):
- Add IVFFlat index for vector search (migration 004)
- Add POST /api/remember/batch for batch memory storage
- Add Redis-backed search cache (60s TTL) for recall endpoints
- Add /embed-batch sidecar route for parallel text embedding
- Add upload_batch() for parallel Walrus uploads
- Increase DB pool to 20, add graceful SIGTERM shutdown

SDK (TypeScript):
- Add signedRequestWithRetry() with exponential backoff (429/network)
- Add rememberBatch() method for batch operations
- Add HttpClient wrapper with connection reuse (keep-alive)

Monorepo:
- Add Turborepo for cached builds with dependency graph
- Add TypeScript composite mode for project references
- Add GitHub Actions CI with pnpm + Rust caching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true to avoid deprecation
warnings and bump project node-version from 20 to 22 (current LTS).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Clone state before .with_state() consumes it, so shutdown
handler can still access the DB pool for cleanup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Allow dead_code on batch embedding/upload structs (available for future use)
- Replace as_bytes().len() with len() on strings
- Remove redundant .into_iter() in stream::iter()
- Allow clippy::too_many_arguments on upload_blob
- Allow clippy::type_complexity on batch insert tuple

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… time

Apps (chatbot, noter, researcher) run DB migrations during build which
requires a live PostgreSQL connection. CI only validates the SDK.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pnpm --filter triggers turbo's global task graph (^build resolves all
workspace packages). Using turbo run build --filter= properly scopes
execution to only the target package. Verified: Tasks 1/1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Chatbot uses React 19.0.1 and Next.js 16 but had @types/react ^18,
which lacks useActionState (introduced in React 19). Upgraded
@types/react and @types/react-dom to ^19 to match the runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
turbo is a devDependency, not globally installed in the runner.
pnpm exec resolves the binary from node_modules/.bin.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ixes

Added lesson MystenLabs#8 (turbo not in PATH — use pnpm exec) and CHANGELOG
entries MystenLabs#14 (@types/react upgrade) and MystenLabs#15 (turbo --filter for SDK).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…dy supports --provenance

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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