You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A full incremental cdidx index . --json --no-progress run against an existing large database completed file scanning and spent about 69 minutes finalizing the reference graph, then exited with code 99:
Error: command failed before it could complete. Run `cdidx report` for details.
The database remained readable after rollback, had no WAL, and status --check --json reported the prior stale/incomplete generation. cdidx report generated a bundle but excluded the current failure as invalid, despite the saved failure event matching the command time and binary version.
Expected
FTS synchronization triggers should be restored without an unhandled exception after graph finalization. If restoration cannot proceed, indexing should retain the original actionable failure and cdidx report should include the bounded failure event.
Notes
Observed with local version 1.40.3 on macOS/arm64.
English
Symptom
A full incremental
cdidx index . --json --no-progressrun against an existing large database completed file scanning and spent about 69 minutes finalizing the reference graph, then exited with code 99:The bounded redacted
last-failure.jsonrecorded:The database remained readable after rollback, had no WAL, and
status --check --jsonreported the prior stale/incomplete generation.cdidx reportgenerated a bundle but excluded the current failure asinvalid, despite the saved failure event matching the command time and binary version.Expected
FTS synchronization triggers should be restored without an unhandled exception after graph finalization. If restoration cannot proceed, indexing should retain the original actionable failure and
cdidx reportshould include the bounded failure event.Notes
1.40.3on macOS/arm64.RestoreFtsSyncTriggers,FtsBulkLoadTriggerGuard, FTS trigger failures, and index exit 99 found no duplicate.日本語
事象
既存の大規模 DB に対して
cdidx index . --json --no-progressを実行すると、全ファイル走査後に約69分間参照グラフを確定したのち、終了コード99で失敗しました。匿名化済みの
last-failure.jsonでは、DbWriter.RestoreFtsSyncTriggersからFtsBulkLoadTriggerGuard.Dispose、IndexCommandRunner.RunFullScanへ至るSystem.InvalidOperationExceptionが記録されています。rollback 後も DB は読み取り可能で WAL はなく、
status --check --jsonは以前の stale / incomplete generation を報告しました。またcdidx reportは bundle を生成しましたが、今回の保存済み failure event をinvalidとして除外しました。期待結果
参照グラフ確定後に FTS 同期 trigger を未処理例外なしで復元できること。復元できない場合は、元の実行可能な診断を保持し、
cdidx reportが上限付き failure event を収録すること。