Commit graph

628 commits

Author SHA1 Message Date
trvon
c4a7992122
fix: repairmanager, post ingest and pipeline fixes 2026-02-08 14:02:57 -05:00
trvon
430057f4bf
fix: SocketServer slots for proxy and cli requests, fixed tests and increase doctor request handling 2026-02-08 13:02:08 -05:00
trvon
3c09becde5
fix: repair improvements and socketserver hardening 2026-02-07 23:37:32 -05:00
trvon
448f5e47b4
fix: fixing repairmanager logic, windows build issues, linting, resource scaling 2026-02-07 22:07:56 -05:00
trvon
c638d9aad4
fix: addressing test compilation issues 2026-02-06 10:37:08 -05:00
trvon
567ee32a99
fix: fixing macos coreml detection 2026-02-06 10:16:35 -05:00
trvon
df1348f3c7
fix: tuning improvements and better tests. Now working address memory issue of huge queue when ingesting allot of files 2026-02-06 04:31:09 -05:00
trvon
ab06614505
fix(repair): fix SIGSEGV crash, embedding failures, and runaway repair loops
- Fix writer_drain() SIGSEGV by setting connection_closing_ on write failure
- Add InternalError/ResourceExhausted to embedding retry list
- Fix document-level embedding chunk_id (0→999999) and level mismatch
- Add circuit breaker to bail out after consecutive/rate-threshold failures
- Add semaphore concurrency limiter (max 2) for repair embed requests
- Replace silent catch-all with error-logging catch blocks
2026-02-05 21:15:26 -05:00
trvon
ded16c11d4
improvements of parallel ingestion 2026-02-05 11:51:24 -05:00
trvon
8a06575a0c
fix: reverted bad change. moved embedding generation to repair coordinator. Still tuning resource usage and governors 2026-02-05 10:21:25 -05:00
trvon
f2a9adbd42
revert: test fixes 2026-02-05 00:09:31 -05:00
trvon
b071112836
feat: test coverage improvements. Scaling bug addresses 2026-02-04 20:20:18 -05:00
trvon
14c35926f1
test improvements and bug fixes in parser, scaling logic, and mcp tools 2026-02-04 14:42:28 -05:00
trvon
de5abde337
fix: test improvements 2026-02-03 12:49:05 -05:00
trvon
29de453020
fix: mcp improvements for grep and search, improving helper usage 2026-02-02 03:28:52 -05:00
trvon
79ea83eac8
fix: test fixes annd windows build downgrade to c++20 2026-02-02 02:15:09 -05:00
trvon
a8a9c74b31
fix: ci fixes for test compilation 2026-02-01 19:24:19 -05:00
trvon
747adbc62c
fix: mcp update 2026-02-01 14:11:35 -05:00
trvon
73b7d1eabb
fix: compiler issues addressed and homebrew updates 2026-01-31 21:52:13 -05:00
trvon
0049dbe900
fix: windows build fixes 2026-01-31 18:23:15 -05:00
trvon
8835d6704e
fix: removing mobile bindings from builds 2026-01-31 17:15:25 -05:00
trvon
e12b299fca
Merge branch 'experimental' 2026-01-31 01:31:41 -05:00
trvon
46aa12c0fd
fix: performance tuning improvements, windows build fixes and other improvements 2026-01-31 01:01:52 -05:00
trvon
12c039c33a
mcp tool exposure 2026-01-30 17:55:50 -05:00
trvon
2946b231dd
fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
trvon
33b83aeb53
fix: fixing windows head ordering, reducing complexity in mcp server (debugging opencode, claude, droid failed to list tools issues) 2026-01-30 09:57:27 -05:00
trvon
0614229387
fix: onnx pool model scaling improvements, test fixes and UX improvements 2026-01-29 23:18:50 -05:00
trvon
96f19e2cd2
feat: mcp ui work and stabiliizations 2026-01-29 16:55:21 -05:00
trvon
1e50b0c531
Improve daemon shutdown reliability and timeout handling
SocketServer:
- Increase connection handler wait timeout from 100ms to 2s
- Increase accept loop wait timeout from 500ms to 3s
- Prevents race conditions where handlers are cancelled mid-operation

WorkCoordinator:
- Replace thread detach with extended join attempt
- Prevents use-after-free from detached threads accessing freed resources

Daemon Command:
- Increase shutdown wait timeout from 3s to 6s
- Increase default waitForDaemonStop timeout from 5s to 10s
- Allows time for graceful SocketServer shutdown

These changes address SIGABRT and SIGTERM issues during daemon shutdown
by ensuring async operations complete before resources are freed.
2026-01-29 11:55:07 -05:00
trvon
b81040bffa
Update ONNX tuning tests for new profile scale values
Profile scale values changed to:
- Efficient: 0.0 (minimum 2 slots)
- Balanced: 0.5
- Aggressive: 1.0

Updated all test expectations accordingly.
2026-01-29 10:35:13 -05:00
trvon
c012adc03a
Fix client timeout recovery tests - add missing error message keywords
The tests were checking for specific error message keywords that didn't
cover all possible error scenarios:
- Added 'pipe' and 'shutdown' for cancellation errors
- Added 'establish' for connection refused errors

These keywords cover 'Broken pipe' and 'Failed to establish connection'
error messages that occur during daemon shutdown.
2026-01-29 09:39:08 -05:00
trvon
7416224ec6
Fix ONNX tuning integration tests - correct profile scale factor expectations
The tests had incorrect expectations for profile scale factors:
- Efficient: 0.40 (not 0.5)
- Balanced: 0.75 (not 1.0)
- Aggressive: 1.0 (not 1.5)

Updated all test assertions to match actual TuneAdvisor::profileScale() values.
2026-01-29 09:23:08 -05:00
trvon
49aa12fa90
improved tests and mcp improvements 2026-01-29 00:27:07 -05:00
trvon
41db2b1fb7
reverting metadata cache patch and fixing list metadata pathing for speed. cleaning up ux add and list commands and remove legacy metadata path 2026-01-28 16:51:03 -05:00
trvon
4fd0e35b37
test build fixes 2026-01-27 23:12:45 -05:00
trvon
8c9cd40c38
bug fixes and metrics exposure improvements 2026-01-27 21:35:21 -05:00
trvon
2b0f5f4d89
imrpoving daemon internals, mcp fixes for metadata queries 2026-01-27 12:09:08 -05:00
trvon
47e6292261
thread safety fixes and metric seeding fixes 2026-01-26 20:23:42 -05:00
trvon
0de5bdf466
bug fixes and additional tuning fixes 2026-01-26 19:30:38 -05:00
trvon
1bb333648c
improving tuning and pooling of daemon components 2026-01-25 23:47:35 -05:00
trvon
e309d96414
bug fixes for daemon, ui fixes for grep and search 2026-01-25 22:52:25 -05:00
trvon
210a6f005f
test improvements, bug fix for tuning clamps 2026-01-25 19:08:21 -05:00
trvon
80ceef9a93
additional bug fixes and testing improvements 2026-01-24 14:18:50 -05:00
trvon
36c587e776
bug fixes and test improvements 2026-01-24 11:49:48 -05:00
trvon
da12ead280
additional bug fixes 2026-01-24 00:32:05 -05:00
trvon
5af411d45c
test improvements 2026-01-23 23:00:56 -05:00
trvon
9d34326f44
concurrency scaling bug fix, windows build fix and daemon lifecycle improvements: 2026-01-23 14:37:09 -05:00
trvon
f654c26e92
grep and build optimizations, windows build fixes 2026-01-23 09:39:06 -05:00
trvon
c0e17835ac
search optimizations 2026-01-22 23:33:10 -05:00
trvon
633c3ce1cc
gliner term expansion for better search and search model ranking update 2026-01-22 23:17:40 -05:00