Commit graph

902 commits

Author SHA1 Message Date
trevon
7fe8721c5b
daemon worker coordinator race condition fix for windows 2025-11-25 20:11:06 -05:00
trevon
2a3f5be870
Merge branch 'main' of https://github.com/trvon/yams 2025-11-25 13:18:24 -05:00
trevon
6b8084ec04
daemon improvements for windows 2025-11-25 13:16:04 -05:00
trvon
70e88af608
running linter 2025-11-25 13:10:29 -05:00
trvon
b6d024ff70
fixing regressions from windows ifdef block code compatibility leaking into macos/linux 2025-11-25 13:10:02 -05:00
trevon
e6991b4813
Merge branch 'main' of https://github.com/trvon/yams 2025-11-25 10:41:19 -05:00
trevon
eb7e9c27e2
windows build running. resolving plugin loading 2025-11-25 09:56:50 -05:00
trevon
244cf02822
windows build stable on dev machine 2025-11-23 23:22:30 -05:00
trevon
27186dabcd
windows setup support added 2025-11-20 10:56:46 -05:00
trvon
c4c42e0266
additional streaming fixes for idle daemons 2025-11-18 16:16:39 -05:00
trvon
34edf49dc1
adding test for idle bug 2025-11-17 20:00:32 -05:00
trvon
cbfca7ae23
resolve tuning manager bug that shrunk worker pool to 0 when daemon idle 2025-11-17 09:49:02 -05:00
trvon
f6b8334371
removing working pool and daemon cleanup 2025-11-16 22:42:56 -05:00
trvon
18b8be4fbf
removing unnecessary artifacts 2025-11-16 13:45:30 -05:00
trvon
5b23afa99d
adding dedicate graph component for graph operations, updating socket stale logic and fixing CI issues in release. 2025-11-16 13:31:04 -05:00
trvon
41bb390be9
hot fix v0.7.9 2025-11-15 11:02:30 -05:00
trvon
4df7ade4f1
release improvements for linux packaging and homebrew formula automation nightly-20251115-4df7ade 2025-11-14 21:49:18 -05:00
trvon
d9c7b14208
bug fixes. v0.7.8 v0.7.8 2025-11-14 20:26:09 -05:00
trvon
ea9341303f
fixing stale connection bug 2025-11-14 16:44:43 -05:00
trvon
7f763587be
compat fix for macos builds 2025-11-14 14:38:17 -05:00
trvon
9259886cde
additional workpool removal 2025-11-14 14:13:54 -05:00
trvon
3032d1747b
fixing worker calls that were deleted 2025-11-14 12:57:03 -05:00
trvon
faeb4ae82a
fixing syntax error of deleted class 2025-11-14 12:49:09 -05:00
trvon
2913adcd20
pre-release v0.7.8 2025-11-14 11:58:19 -05:00
trvon
b06e9335b9
staging v0.7.8. running benchmarks on updated search engine and improving code for testing/benchmarking 2025-11-13 10:27:10 -05:00
trvon
352ee45a69
updating files with linter run nightly-20251111-352ee45 2025-11-11 10:11:27 -05:00
trvon
12fc1b8a50
resolved concurrency bugs in daemon. added fuzzing work in progress per issue #8 2025-11-11 10:10:07 -05:00
trvon
ebd0701054
search and retrieval optimizations leveraging parallel processing introduced with grep nightly-20251109-ebd0701 2025-11-09 08:42:21 -05:00
trvon
c1d6a992fc
feat(search): implement parallel post-processing (PBI-001 Phase 3)
Parallel Post-Processor with Threshold-Based Activation
--------------------------------------------------------
- New ParallelPostProcessor class (120 lines header, 247 lines impl)
- Uses std::async for concurrent facet/highlight/snippet generation
- Threshold = 100 results (sequential below, parallel at/above)
- Facets now operate on filtered results (fixed data flow bug)

Performance Results (100 iterations)
------------------------------------
- 100 results: 0.06ms (~1.66M ops/sec) - sequential path
- 500 results: 0.23ms (~2.21M ops/sec) - parallel path
- 1000 results: 0.43ms (~2.32M ops/sec) - parallel path
- Speedup: ~3.4x faster at 1000 results

Test Coverage
-------------
- 5 unit tests (threshold behavior, facets, snippets, edge cases)
- All tests passing (5/5 ✅)
- 3 benchmarks added to search_benchmarks.cpp

Files Changed
-------------
- include/yams/search/parallel_post_processor.hpp (NEW)
- src/search/parallel_post_processor.cpp (NEW)
- src/search/search_executor.cpp (integrated)
- tests/unit/search/search_executor_test.cpp (+6 tests)
- tests/benchmarks/search_benchmarks.cpp (+3 benchmarks)
- CHANGELOG.md (documented with measured results)
- docs/delivery/001/prd.md (Phase 3 → ✅ COMPLETED)

Technical Details
-----------------
- Parallel path: filtering → parallel(facets + highlights) → wait
- Sequential path: identical logic, no std::async overhead
- Correctness preserved: identical output to previous sequential impl
- Build: 46/46 targets compiling successfully
2025-11-09 08:04:15 -05:00
trvon
52d27169c9
re-running lint nightly-20251109-52d2716 2025-11-09 02:24:39 -05:00
trvon
66825f8219
grep bug fixes and performance improvements 2025-11-09 02:24:07 -05:00
trvon
f7d559b2a9
docs: update README with Homebrew installation and simplified init nightly-20251108-2707399 nightly-20251108-a597c6c nightly-20251108-f7d559b
- Add Homebrew installation section with brew link workaround
- Simplify Quick Start to use 'yams init .' for current directory
- Update caveats in formula template with cleaner instructions
- Add links to yamsmemory.ai docs
2025-11-08 15:48:15 -05:00
trvon
a597c6cf98
fix(homebrew): update template with working install paths
- Use local/* paths instead of usr/local/* (Homebrew strips usr)
- Use if/else for architecture URLs (on_arm/on_intel can't have url)
- Remove bundled spdlog to avoid conflicts
- Matches tested and working formula
2025-11-08 15:45:41 -05:00
trvon
2707399001
updating homebrew module 2025-11-08 15:11:45 -05:00
trvon
435bb14745
fix(homebrew): update template with correct install paths
- Use buildpath/ prefix for reliable file discovery
- Use .glob() method instead of Dir[]
- Matches fix applied to homebrew-yams repo
2025-11-08 15:08:06 -05:00
trvon
2fc5067a4d
fix(release): initialize yams-repo submodule for R2 uploads
- Add step to initialize external/yams-repo submodule before R2 upload
- Required to read bucket_name from wrangler.toml
- Fixes missing APT/YUM repos and latest.json in repo.yamsmemory.ai
2025-11-08 15:04:06 -05:00
trvon
8c6913d655
fix(homebrew): use pre-built binaries and update workflow
- Update template to use pre-built macOS binaries (arm64 + x86_64)
- Remove build-from-source approach (no more cmake/ENV.cxx20)
- Update release workflow to compute SHA256s for both architectures
- Simplify formula by removing build dependencies
2025-11-08 15:01:12 -05:00
trvon
d491081bd4
v0.7.7 re-release nightly-20251108-d491081 v0.7.7 2025-11-08 09:43:48 -05:00
trvon
b4c25bfbeb
CI fixes nightly-20251108-b4c25bf 2025-11-07 23:39:02 -05:00
trvon
4cad9a8152
mcp fix and ci / repo updates nightly-20251107-4cad9a8 nightly-20251107-8d79c8a 2025-11-07 15:51:23 -05:00
trvon
8d79c8a695
fixing release for x86 macos ci nightly-20251107-4702a34 2025-11-07 14:20:08 -05:00
trvon
4702a345ad
ci fixes, test updates and documentation imrpovements nightly-20251107-65bdf3d nightly-20251107-eba4721 2025-11-07 13:20:58 -05:00
trvon
65bdf3dac8
CI bug fixes 2025-11-07 11:37:02 -05:00
trvon
eba47216a3
search engine improvements 2025-11-07 11:08:32 -05:00
trvon
23d2b7043a
Merge branch 'main' of github.com:trvon/yams 2025-11-07 08:31:48 -05:00
trvon
db8c7decf9
build improvements for conan formula on macos 2025-11-07 08:31:29 -05:00
trvon
6bde08b60b
small UI and bug fixes 2025-11-06 21:55:58 -05:00
trvon
c0fde23eb5
small bug fixes for retrieval 2025-11-06 17:00:34 -05:00
trvon
d989da66dd
fixing prune command and tests fixes 2025-11-06 12:19:08 -05:00
trvon
1366eeeb1d
test fix 2025-11-06 09:14:41 -05:00