Skip to content

test: move harness and live tests into e2e/ - #14

Merged
TheGreatAxios merged 2 commits into
cl-9089-embedding-rewrite-readme-quickstart-to-embed-and-printfrom
cl-embedding-e2e-test-layout
Sep 27, 2026
Merged

TheGreatAxios merged 2 commits into
cl-9089-embedding-rewrite-readme-quickstart-to-embed-and-printfrom
cl-embedding-e2e-test-layout

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Stacked on docs: rewrite README quickstart and move dev docs to CONTRIBUTING #13; last in the stack.
  • tests/ and live/ move to root e2e/ (retry, base64, live), run by bun run test:e2e in CI; the live round trip skips unless EMBEDDING_E2E_BASE_URL is set.
  • Wire and bearer cases move from src/embed.test.ts to e2e/wire.test.ts; the empty-input and batchSize-schema units are dropped.
  • IMPLEMENTATION.md and CONTRIBUTING.md describe the new layout.
  • Version is 0.2.0; the release commit lists the breaking changes.

Verification

  • build, typecheck, lint, prettier, bun run test (5 pass), bun run test:e2e against http://100.113.184.123:11434/v1 (10 pass incl. live); npm pack --dry-run has no test files; CI passes.

Closes CL-9349

@TheGreatAxios
TheGreatAxios force-pushed the cl-embedding-e2e-test-layout branch from 457dc86 to 0547d39 Compare September 25, 2026 23:48
@TheGreatAxios
TheGreatAxios force-pushed the cl-embedding-e2e-test-layout branch from 0547d39 to da99612 Compare September 25, 2026 23:49
@TheGreatAxios TheGreatAxios changed the title Move harness and live tests into e2e/ Move harness and live tests into e2e/ and release 0.2.0 Sep 25, 2026
@TheGreatAxios
TheGreatAxios force-pushed the cl-embedding-e2e-test-layout branch from da99612 to 6945225 Compare September 26, 2026 00:37
@TheGreatAxios
TheGreatAxios force-pushed the cl-embedding-e2e-test-layout branch from 6945225 to 899b3b9 Compare September 26, 2026 01:29
@TheGreatAxios TheGreatAxios changed the title Move harness and live tests into e2e/ and release 0.2.0 test: move harness and live tests into e2e/ Sep 26, 2026
@TheGreatAxios
TheGreatAxios added this pull request to stack #15 September 26, 2026 01:58
@TheGreatAxios
TheGreatAxios force-pushed the cl-embedding-e2e-test-layout branch from 899b3b9 to 32601a8 Compare September 26, 2026 02:22
tests/ and live/ become e2e/, run by bun run test:e2e in CI; the live
round trip still skips unless EMBEDDING_E2E_BASE_URL is set. Wire and
bearer-header cases move from src/embed.test.ts to e2e/wire.test.ts. The
empty-input and batchSize-schema units are dropped.
Breaking changes:
- @intx/inference and @intx/types (^0.4.0) are peer dependencies;
  install them alongside.
- ModelRequestError is now EmbeddingRequestError; match on err.reason
  (InferenceError).
- runJSONRequest, extractRetryAfterMs and RunRequestOptions are no
  longer exported.
- Malformed replies throw EmbeddingRequestError instead of a plain
  Error.
- An invalid config (e.g. batchSize) throws arktype's TraversalError
  instead of RangeError.

EmbedConfig and wire behavior are unchanged, so existing configs keep
working.
@TheGreatAxios
TheGreatAxios force-pushed the cl-embedding-e2e-test-layout branch from 32601a8 to 98e14ec Compare September 26, 2026 02:29
@TheGreatAxios
TheGreatAxios merged commit 8ca6cf6 into main Sep 27, 2026
1 check 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.

1 participant