fix(indexing): bound transcript queues and recover omitted changes - #128
Merged
Conversation
…ndexing # Conflicts: # server/index.js # server/modules/diagnostics/README.md # server/modules/diagnostics/diagnostics.routes.test.ts # server/modules/diagnostics/diagnostics.service.test.ts # server/modules/diagnostics/diagnostics.service.ts # server/modules/providers/index.ts # shared/diagnostics.ts # src/components/settings/view/tabs/DiagnosticsSettingsTab.mounted.test.tsx # src/components/settings/view/tabs/DiagnosticsSettingsTab.test.tsx # src/components/settings/view/tabs/DiagnosticsSettingsTab.tsx # src/components/settings/view/tabs/diagnostics.testSupport.ts # src/i18n/locales/en/settings.json # src/i18n/locales/ko/settings.json
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.
Distinct transcript-file bursts now pass through bounded provider queues with fair admission: at most 64 pending paths per provider (448 total) and four active operations. Events for a file coalesce; overflow retains a provider recovery obligation instead of an unbounded path list.
Periodic reconciliation keeps the previous incremental provider behavior. Full streaming walks are reserved for actual gaps/restarts/failures and do not advance or filter against the shared startup cursor, so an omitted event cannot be hidden by a later cursor update. Receipt trees stay with discovery. Shutdown cancels queued work and drains existing callbacks.
The owner diagnostics screen now shows bounded queue/admission/recovery counters without paths or other private metadata. Admission state is not presented as proof of liveness; the initial bulk sync remains outside these limits.
Validation: 74 focused indexing, API/privacy, and UI tests passed after integration; typecheck and scoped ESLint passed. Combined integration verification also passed 359 focused checks and 1,628 server tests before stopping on separate socket-ID test expectations. Required Node 22/24 and bundle checks must pass against latest main before merge.