test: move harness and live tests into e2e/ - #14
Merged
TheGreatAxios merged 2 commits intoSep 27, 2026
Conversation
TheGreatAxios
force-pushed
the
cl-embedding-e2e-test-layout
branch
from
September 25, 2026 23:48
457dc86 to
0547d39
Compare
TheGreatAxios
force-pushed
the
cl-embedding-e2e-test-layout
branch
from
September 25, 2026 23:49
0547d39 to
da99612
Compare
TheGreatAxios
force-pushed
the
cl-embedding-e2e-test-layout
branch
from
September 26, 2026 00:37
da99612 to
6945225
Compare
TheGreatAxios
force-pushed
the
cl-embedding-e2e-test-layout
branch
from
September 26, 2026 01:29
6945225 to
899b3b9
Compare
TheGreatAxios
added this pull request to stack #15
September 26, 2026 01:58
TheGreatAxios
force-pushed
the
cl-embedding-e2e-test-layout
branch
from
September 26, 2026 02:22
899b3b9 to
32601a8
Compare
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
force-pushed
the
cl-embedding-e2e-test-layout
branch
from
September 26, 2026 02:29
32601a8 to
98e14ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/andlive/move to roote2e/(retry,base64,live), run bybun run test:e2ein CI; the live round trip skips unlessEMBEDDING_E2E_BASE_URLis set.src/embed.test.tstoe2e/wire.test.ts; the empty-input and batchSize-schema units are dropped.Verification
bun run test(5 pass),bun run test:e2eagainst http://100.113.184.123:11434/v1 (10 pass incl. live);npm pack --dry-runhas no test files; CI passes.Closes CL-9349