Skip to content

Add debug log panel to experiment pages#8

Open
bclinkinbeard wants to merge 4 commits intomainfrom
claude/check-branch-status-J8Yso
Open

Add debug log panel to experiment pages#8
bclinkinbeard wants to merge 4 commits intomainfrom
claude/check-branch-status-J8Yso

Conversation

@bclinkinbeard
Copy link
Copy Markdown
Owner

Adds a shared debug textarea that displays timestamped messages for
model loading, progress, file selection, and inference results. Helps
diagnose runtime behavior directly in the browser without dev tools.

https://claude.ai/code/session_018KRgyq2q4viPQU8HjtSJFo

Adds a shared debug textarea that displays timestamped messages for
model loading, progress, file selection, and inference results. Helps
diagnose runtime behavior directly in the browser without dev tools.

https://claude.ai/code/session_018KRgyq2q4viPQU8HjtSJFo
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
model-student Ready Ready Preview, Comment Mar 7, 2026 2:13pm

Request Review

- Debug textarea now has aria-label for WCAG compliance
- On page load, logs navigation type (navigate/reload/back_forward)
- Saves debug log to sessionStorage before unload; if the page reloads,
  the previous session's log is restored so you can see what happened
  right before the reload

https://claude.ai/code/session_018KRgyq2q4viPQU8HjtSJFo
Tests the exact scenario that crashes on production: run inference,
then select-all + delete the input text. Monitors for page crashes,
navigations, and JS errors. Passes with mocked models, confirming
the crash originates in the WASM/ONNX runtime, not application code.

https://claude.ai/code/session_018KRgyq2q4viPQU8HjtSJFo
Tests inference + text deletion with the actual @huggingface/transformers
pipeline and WASM/ONNX runtime (no mocks). Skipped in CI since it
requires network access to download the model. Run locally with:

  npx playwright test -g "real model" --project='desktop-chrome'

https://claude.ai/code/session_018KRgyq2q4viPQU8HjtSJFo
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.

2 participants