Skip to content

test(httpapi): cover sdk effect routes - #24836

Merged
kitlangton merged 4 commits into
devfrom
kit/httpapi-sdk-route-coverage
Apr 28, 2026
Merged

test(httpapi): cover sdk effect routes#24836
kitlangton merged 4 commits into
devfrom
kit/httpapi-sdk-route-coverage

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • Add generated SDK tests that call the Effect HttpApi web handler directly.
  • Cover newly wired global/control routes plus safe instance routes through SDK methods.
  • Exercise validation/error paths for auth and upgrade so tests avoid writing auth data or invoking installers.

Tests

  • bun typecheck
  • bun run test:ci test/server/httpapi-sdk.test.ts
  • bun run test:ci test/server/httpapi-sdk.test.ts test/server/httpapi-bridge.test.ts

Notes

  • No real LLM calls are made in this PR. Prompt/generation SDK coverage should use the repo mock LLM fixture in a separate follow-up.

Bojun-Vvibe added a commit to Bojun-Vvibe/oss-contributions that referenced this pull request Apr 28, 2026
… fix

- anomalyco/opencode#24836 SDK-level integration tests for newly-wired routes
- anomalyco/opencode#24835 wire global+control handlers and split routing
- openai/codex#20051 unbreak trunk argument-comment-lint after #20046
Base automatically changed from kit/httpapi-layer-composition to dev April 28, 2026 20:31
@kitlangton
kitlangton enabled auto-merge (squash) April 28, 2026 20:32
@kitlangton
kitlangton disabled auto-merge April 28, 2026 20:34
@kitlangton
kitlangton merged commit 379e7f3 into dev Apr 28, 2026
8 checks passed
@kitlangton
kitlangton deleted the kit/httpapi-sdk-route-coverage branch April 28, 2026 20:34
oleksii-honchar pushed a commit to oleksii-honchar/better-opencode that referenced this pull request Apr 29, 2026
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 9, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 15, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant