Skip to content

refactor(effect): migrate compaction runtime - #172

Merged
robinbraemer merged 1 commit into
mainfrom
feat/effect-compaction-runtime
Aug 1, 2026
Merged

refactor(effect): migrate compaction runtime#172
robinbraemer merged 1 commit into
mainfrom
feat/effect-compaction-runtime

Conversation

@robinbraemer

Copy link
Copy Markdown
Member

Summary

  • migrate OpenAI server compaction transport, timeouts, aborts, streaming, installation identity, config, and extension orchestration to typed Effect programs
  • scope HTTP response lifetimes and deterministically close injected/Web response bodies without consuming private upstream error bodies
  • replace the legacy remote/extension suites with 29 Effect-native grouped cases preserving all prior behaviors
  • remove the four superseded compaction runtime/test entries from the Effect migration baseline

Verification

  • bun ./node_modules/vitest/vitest.mjs run packages/agentos/src/openai-server-compaction/tests — 53 passed
  • bun run build
  • bun run typecheck
  • bun run effect:check — 411 TypeScript paths, zero violations
  • bun run site:lint
  • bun run site:typecheck
  • full local legacy lane — 462 passed, 4 skipped
  • full local Effect lane currently reproduces the unchanged services/ai-gateway/tests/storage.effect.test.ts TestClock/native-lock timeout (317 passed, 1 failed); this branch does not modify that store or test

Relates #98
Relates #102

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 1, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
agentos-site 73c152a Aug 01 2026, 11:36 PM

@robinbraemer
robinbraemer merged commit 63d44ff into main Aug 1, 2026
1 of 3 checks passed
@robinbraemer
robinbraemer deleted the feat/effect-compaction-runtime branch August 1, 2026 23:38
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