yams/.github/workflows
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
..
act-sanity.yml ci: check the wrangler content-type flag in the publication sanity step 2026-09-30 17:00:49 -06:00
commitlint.yml security: dev scripts and hooks update, perf update, security fixes for quality issues 2026-05-02 21:40:47 -04:00
dco.yml security: dev scripts and hooks update, perf update, security fixes for quality issues 2026-05-02 21:40:47 -04:00
deps-audit.yml security: dev scripts and hooks update, perf update, security fixes for quality issues 2026-05-02 21:40:47 -04:00
docker.yml ci: relax workflow shell lint 2026-05-21 11:26:16 -04:00
draft-promotion.yml ci(release): decouple draft promotion and enforce non-squash merge policy 2026-09-22 07:58:31 -06:00
gitleaks.yml [04/14] Repository hygiene and reviewable configuration/retrieval contracts (#144) 2026-09-12 10:09:18 -04:00
matrix-warm.yml ci: pin experimental release source 2026-09-03 21:39:16 -06:00
mirror-forgejo.yml Update mirror-forgejo.yml 2026-09-23 20:38:24 -06:00
publish-repos.yml fix(release): ship the daemon in the MSI, unblock experimental publishing, find the Windows hang (#238) 2026-09-30 18:11:34 -06:00
release-candidate.yml ci(release): refuse stable releases from non-version refs 2026-09-22 12:18:20 -06:00
release-please.yml fix: release please fix, improvements for embedding generation (check if model is loading an query that). continue work on search retrieval improvement related to on going graph improvements 2026-04-06 07:07:36 -04:00
release.yml fix(test): make Tests green on every platform (#264) 2026-10-02 18:47:29 -06:00
tests.yml fix(tests): replace frozen expectations and harden release gates (#323) 2026-10-19 19:16:57 -06:00
windows-test-diagnose.yml ci: capture stacks and dialogs for hung Windows test cases 2026-10-01 08:49:55 -06:00