fix(tts): include status, attempts, and last HTTP code in LucyLab polling timeout#4
Open
nguyentran4896 wants to merge 1 commit into
Open
Conversation
…ling timeout Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
roottxt
pushed a commit
to roottxt/auto-create-video
that referenced
this pull request
May 7, 2026
…anghai#4) CI infrastructure - Add .github/workflows/test.yml — runs vitest + tsc on every push/PR - Add .github/workflows/typecheck.yml — fast typecheck-only job for faster feedback on TS-only PRs - Both run on ubuntu-latest with Node 22 and npm cache README updates (mirrored in README.md and README.vi.md) - Replace fake static "tests-35-passing" badge with dynamic GitHub Actions badges that link to the workflow runs - Add separate Typecheck badge alongside Tests badge - Update test count 35 -> 44 to match the actual current suite - Quick Start: split into Path A (Claude Code, recommended) and Path B (hand-written script.json), so visitors without Claude Code can still run the pipeline - HyperFrames vs Remotion FAQ: rewrite from defensive ("would be a 2-3 week rewrite for no real win") to a confident positioning ("different tools for different jobs"); keep the list of ideas borrowed from Remotion's design - Add <a id="top"></a> at the very top of both files and change the "Back to top" anchor target from #-auto-news-video (which GitHub may slug differently) to #top so the link reliably jumps to the top Verified locally before commit: vitest passes 44/44 tests in 6s, tsc --noEmit returns 0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
LucyLab export <id> polling timeout after <ms>ms. Users had no way to distinguish slow processing, server-side failure, auth problems (401/403), or network issues.lastStatus,pollAttempts, elapsed seconds, and the last HTTP status/response snippet. On timeout, the error includes all of this context.pendingjob contains the job ID, last status, and attempt count; (b) when all polls return 401, the error says "no successful poll" and includes the HTTP 401 status.Before / After
Before:
After (stuck pending):
After (auth failure):
Test plan
npm run typecheckpasses (0 errors)npm testpasses (46 tests, 9 test files)🤖 Generated with Claude Code