Commit graph

21 commits

Author SHA1 Message Date
Trevon
d398556ee5
fix(tests): replace frozen expectations and harden release gates (#323)
* test(search,daemon,storage): assert behaviour instead of frozen literals

Several suites encoded exact internal values that legitimate tuning and
ranking changes are allowed to move: SCIENTIFIC-era profile weights and
rrfK values, corpus-statistic figures, and hardcoded timeout/cancellation
numbers. They failed on every platform after those changes landed, so the
real behaviour regressions they should catch were hidden behind noise.

Replace the frozen literals with contract assertions: weights are finite,
non-negative and normalize, state selection still holds, capability-gated
sources stay zeroed, and hybrid results keep matching canonical hash/path
sets. Deadlines are not widened and the daemon paths they cover are
unchanged.

Also add independent corpus and adapter oracles, deterministic collector
cancellation and late-result gates, and synchronize ServiceManager
shutdown observation, so the tests fail for the behaviour they name.

The portability allowlist keeps its two reviewed raw test-env reads; only
their line numbers moved.

Signed-off-by: trvon <git@trevon.dev>

* ci(tests): summarise Meson failures without flooding the log

A failing test run printed the whole Meson suite output, so the actual
failing test names and their assertion messages were buried and the
uploaded logs were dominated by passing-test chatter.

Add a bounded reporter that extracts the failing test names plus their
surrounding diagnostics, keeps an overall cap on emitted lines, and is
unit-tested against representative Meson output. Wire it into the Tests
workflow so failures stay readable.

Signed-off-by: trvon <git@trevon.dev>

* build(deb): validate candidate identity, mapping and upgrade ordering

The Debian packaging scripts took filenames and versions on trust, so a
misnamed candidate or a wrong package ordering could pass validation while
the real install path was never exercised.

Fail closed on candidate identity, version and architecture, verify the
package-to-source mapping, seed the legacy-only layout, wait on the actual
services, and assert install/upgrade/remove ordering for both Debian and
RPM in an offline container. Cases that cannot be proven on a host are
reported as skipped rather than silently passing.

Signed-off-by: trvon <git@trevon.dev>

---------

Signed-off-by: trvon <git@trevon.dev>
2026-10-19 19:16:57 -06:00
trvon
94c8e6a9db
feat(linter): running linter on codebase 2026-04-20 16:13:30 -04:00
trvon
1c9f03c486
fix: fixing stale issue related to repair manager, mcp suggestions logic that leads to looped behavior in long sessions and ci test failures 2026-04-11 08:37:07 -04:00
trvon
bed12ed2d2
fix: fixing stop regression when socket exists to fast, fixing bug in binary detection where agent added files were seen as text. Added repair fix to improve binary classification of files without extensions 2026-03-15 08:13:41 -04:00
trvon
2e966c4f1b
fix: windows build fixes 2026-02-09 23:26:33 -05:00
trvon
448f5e47b4
fix: fixing repairmanager logic, windows build issues, linting, resource scaling 2026-02-07 22:07:56 -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
f780513889
optimizations for data ingestion and search, updating documentation 2026-01-07 17:36:56 -05:00
trvon
f129e0f81e
test updates, mcp graph tool, search bug fixes, grep UI updates 2025-12-22 19:38:09 -05:00
trvon
aacd7af41f
running linter 2025-12-13 16:27:07 -05:00
trevon
e47142343e
updating tests / completing catch2 migration. plugin trust fixes 2025-12-12 10:58:48 -05:00
Trevon
43699f99a3
v0.7.0-prerelease 2025-09-20 22:55:34 -04:00
Trevon
abdbd68e06
build system improvements, clang-tidy integration for warnings equals errors (need to continue). POSIX socket legacy code removal 2025-09-03 13:22:30 -04:00
Trevon
7c92f09d21
v0.5.7 2025-08-29 06:12:50 -04:00
Trevon
171f6ba958
v0.5.3 staging v3 2025-08-26 19:56:47 -04:00
Trevon
c0fad1d5ca
v0.5.0 2025-08-23 21:57:36 -04:00
Trevon
ba8595a31c
v0.4.6 2025-08-21 17:28:01 +00:00
Trevon
d0342a4ed6
v0.4.0 staging 2025-08-20 12:17:48 -04:00
Trevon
3defa60de5
v0.3.3 clang-format now in use 2025-08-15 15:51:18 -04:00
Trevon
642d8e270f
v0.1.3 2025-08-13 13:59:02 -04:00
Trevon
2d5261bbcc
v0.1.2 improvements and CI updates. 2025-08-13 11:48:58 -04:00