Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.

test(app): E2E Analyst brief local LLM + Caddy fixes (closes #589) - #590

Merged
yohei1126 merged 3 commits into
mainfrom
e2e/issue-589-analyst-brief
May 25, 2026
Merged

yohei1126 merged 3 commits into
mainfrom
e2e/issue-589-analyst-brief

Conversation

@yohei1126

Copy link
Copy Markdown
Contributor

Summary

  • Playwright Tier 1 (CI): mock https://localhost:8443/v1/chat/completions, fixture watchlist, Regenerate → brief text, no mmsi Binder Error on regime-only causal_effects stub.
  • run_llama.sh / Caddy: --adapter caddyfile, macOS mktemp fix, strip upstream CORS headers (duplicate ACAO).
  • CI job test-e2e; docs in docs/ref-llm-grounding.md.
  • Tier 3 preview opt-in: npm run test:e2e:preview (optional, not in CI).

Closes #589

Test plan

  • cd app && npm test
  • cd app && npm run test:e2e
  • cd app && npm run test:e2e:preview (local)
  • Manual: bash scripts/run_llama.sh → both ✅ → ?local_llm=1 on production SPA

Made with Cursor

yohei1126 and others added 3 commits May 25, 2026 19:18
…589)

Add Playwright Tier 1 mock-LLM tests (Regenerate, causal mmsi guard) and CI job.
Fix Caddy: caddyfile adapter, macOS mktemp, strip duplicate CORS from llama upstream.
Document failure modes in ref-llm-grounding.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@yohei1126
yohei1126 merged commit e622947 into main May 25, 2026
15 checks passed
@yohei1126
yohei1126 deleted the e2e/issue-589-analyst-brief branch May 25, 2026 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E: Analyst brief local LLM (run_llama.sh, CORS, ?local_llm=1)

1 participant