Commit graph

571 commits

Author SHA1 Message Date
trvon
cc28b8a343
feat: instrumented embedding for deeper insight into hotspots. Fixed CoreML scaling that resulted in high ram usage due to VRAM calculation. Expanded testing for embedding and draining of work 2026-02-11 12:07:08 -05:00
trvon
ff77c6b304
fix: improving socket and chunking reliability and robustness. Added better regression tests and errror logging logic for state connections 2026-02-10 12:25:30 -05:00
trvon
a177027320
fix: house cleaning 2026-02-09 21:12:26 -05:00
trvon
925426426a
feat: expanding mcp UI support, improvements for slots for component usage and other socket server stabilizations 2026-02-09 20:02:26 -05:00
trvon
1d255d59ce
feat: address bugs with scaling, batching in daemon processing 2026-02-09 17:07:00 -05:00
trvon
cc1212bb1f
fix: fixing pipeline ingestion of kg and embeddings. Still finding stalls and will continue to investigate 2026-02-09 10:39:48 -05:00
trvon
4d6c163c9d
feat: adding drain to constrexpr metrics 2026-02-09 01:45:38 -05:00
trvon
0c8ffea321
feat: improving ingestion speed with kg batch and updating metrics to use constexpr 2026-02-09 01:33:24 -05:00
trvon
c64a0b239d
feat: adding fuzzing updates and fixes in ipc 2026-02-08 22:20:47 -05:00
trvon
f4f3c055fe
feat: benchmark expansion and normalization. Imrpoving metrics for repair and models 2026-02-08 20:35:39 -05:00
trvon
c83110319d
feat: benchmark, model testing / enhancements, insertion performance updates 2026-02-08 18:33:29 -05:00
trvon
a3522b8b22
fix: expose gpu usage, add command imrpovments and other bug fixes 2026-02-08 14:04: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
567ee32a99
fix: fixing macos coreml detection 2026-02-06 10:16:35 -05:00
trvon
3fd243f687
fix: repair command improvements and optimizations 2026-02-06 10:15:50 -05:00
trvon
90d28d722e
fix: docker build fixes addition clamping logic for onbound memory group 2026-02-06 09:27:34 -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
fc4b5ceffb
fix: fixing metrics system and removing deadcode 2026-02-05 19:41:50 -05:00
trvon
e0612298d3
fix: fixing rocm builds, removing dead code and some optimizations 2026-02-05 18:33:54 -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
4b2185dbcf
feat(governance): implement Netflix Gradient2 adaptive concurrency limiters
Replace CPU-threshold-based scaling with latency-feedback-based adaptive
concurrency control using the Netflix Gradient2 algorithm.

Core Changes:
- Add GradientLimiter class implementing Netflix Gradient2 algorithm
- Integrate limiters into all 6 post-ingest stages (extraction, kg, symbol,
  entity, title, embed)
- Add TuneAdvisor configuration knobs for gradient limiter tuning
- Simplify ResourceGovernor to emergency-only backstop (CPU > 95%, mem > 95%)
- Update TuningManager to read dynamic limits from gradient limiters
2026-02-04 23:38:33 -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
f6251f6982
fix: performance updates, v0.8.2 pre-staging 2026-02-01 17:48:19 -05:00
trvon
7ca1afb954
fix: extract bug fixes and cleaning up unused session logic 2026-01-31 01:31:08 -05:00
trvon
46aa12c0fd
fix: performance tuning improvements, windows build fixes and other improvements 2026-01-31 01:01:52 -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
38ec4336bf
refactored memory scaling logic 2026-01-29 10:36:33 -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
1a2178af13
improving UX of metrics 2026-01-27 22:38:34 -05:00
trvon
8c9cd40c38
bug fixes and metrics exposure improvements 2026-01-27 21:35:21 -05:00
trvon
a43ddb99c3
bug fixes and improvements for the list, stats, daemon command UX. Exposing and optimizations metadata filtering logic 2026-01-27 17:36:22 -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