Skip to content

fix(web): recover pipeline polling and Ask AI streams; refresh stale search - #5

Merged
devin-ai-integration[bot] merged 5 commits into
mainfrom
devin/1795130733-web-reliability-fixes
Nov 20, 2026
Merged

devin-ai-integration[bot] merged 5 commits into
mainfrom
devin/1795130733-web-reliability-fixes

Conversation

@JeremyL691

@JeremyL691 JeremyL691 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fixes found during a web/server test pass:

  • Pipeline polling stopped after one failed request (recording/data.ts): a failed poll returned null, changed no state, and nothing rescheduled, so jobs looked stuck as queued/running. Polling now reschedules with backoff (2s → 30s cap), resets on success, and stops on completion/unmount.
  • Ask AI stream froze on drop (recording/chat/events.ts): a clean EOF before a terminal event silently ended the stream, and network errors did not reconnect. Incomplete streams now reopen (snapshot semantics, 5 attempts, 0.5s→4s backoff) and report the existing "connection lost" error after the bound. Terminal snapshot/state/error events end the stream.
  • Transcript search stayed stale after re-transcribing (recordings/hooks.ts): the search invalidation signature now includes updatedAt; browser transcription success also emits RECORDINGS_CHANGED.
  • Browser transcription strings were English-only: moved into all four locale catalogs.
  • spec/recording-chat.md, spec/transcription.md and CHANGELOG.md updated.

How I tested it

  • npm run typecheck && npm run build (i18n check: 1252 keys × 4 locales) pass.
  • Server tests (rust:1.94.1-trixie container): pass.
  • Standalone harness transpiling the changed modules with fake timers / controlled streams: polling recovers after 6 failed polls and stops on unmount; streams recover from clean EOF, network error and partial answers, give up after 5 attempts, and abort cleanly during backoff; search re-runs when only updatedAt changes.
  • Not verified in a real browser.

Checklist

  • Commit messages follow Conventional Commits.
  • Behavior changes update the matching file in spec/ and the tests that pin it.
  • Documentation in docs/ is updated for user-visible changes. (n/a)
  • The entry under Unreleased in CHANGELOG.md is updated for user-visible changes.
  • No secrets, personal data, recordings or generated files are included.

Anita opened this PR for Jeremy
Implemented in session Find and fix bugs in OpenAudioHub web app
Review with Devin · Open in Devin Desktop


JeremyL691 and others added 2 commits November 19, 2026 23:27
…ion locales

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit bf835fd into main Nov 20, 2026
11 checks passed
devin-ai-integration Bot pushed a commit that referenced this pull request Nov 20, 2026
…search (#5)

* Fix web polling and stream recovery, search freshness, and transcription locales

* docs: document web reliability fixes and retry behavior

* fix(chat): persist terminal states and cover reconnect recovery
@devin-ai-integration
devin-ai-integration Bot deleted the devin/1795130733-web-reliability-fixes branch November 20, 2026 04:36
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