Skip to content

test: live matrix + OpenCode e2e (context, tools, content) - #4

Closed
sdziupin wants to merge 1 commit into
feat/opencode-commandcode-36ebfrom
feat/live-matrix-36eb
Closed

sdziupin wants to merge 1 commit into
feat/opencode-commandcode-36ebfrom
feat/live-matrix-36eb

Conversation

@sdziupin

@sdziupin sdziupin commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Re-tested OpenCode ↔ Command Code / Laguna end-to-end and expanded coverage.

Results (this run)

Suite Result
bun run test (smoke) pass
bun run test:live pass
bun run test:live:matrix 17/17 pass
bun run test:opencode 19/19 pass
Ad-hoc ~180k context pass (prompt_tokens≈198k, compact tip at ~71%)

Matrix coverage (test/live-matrix.ts)

  • Stream / non-stream / model aliases
  • System + multi-turn memory
  • Unicode, markdown, code, JSON/XML
  • Text + PDF + image attachments
  • Tool park/resume, MCP-style tool names, multi-tool choice
  • Large context ~30k / ~90k / ~180k tokens
  • Long history compact + many tool-result trim
  • Usage snapshot + empty-body 400

OpenCode CLI (test/opencode-e2e.sh)

  • Plain / alias / unicode / code
  • --file attach
  • Large CLI prompt
  • --auto tools
  • --continue session memory

Fix

Live suites pin OPENCODE_COMMANDCODE_PROXY_PORT=8798 and configuredProxyPort() is read dynamically so tests do not collide with an OpenCode CLI proxy on :8797 (that race caused intermittent wrong answers).

Stacked on feat/opencode-commandcode-36eb.

Open in Web Open in Cursor 

Add proxy/live matrix (content shapes, attachments, tools/MCP,
30k–180k context, compact paths) and OpenCode CLI e2e. Read proxy
port from env dynamically and pin live suites to :8798 so they do
not collide with an OpenCode CLI proxy on :8797.

Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.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