Commit graph

15 commits

Author SHA1 Message Date
Trevon
d0b86106d2
fix(release): ship the daemon in the MSI, unblock experimental publishing, find the Windows hang (#238)
* fix(windows): ship yams-daemon and yams-mcp-server in the MSI

The Windows release already builds both and meson install stages them next
to yams.exe, but yams.wxs only packaged yams.exe, so daemon-backed commands
and yams serve failed after an MSI install. Package both, and make
build-msi.ps1 fail when a required executable is missing from the stage or a
staged executable is not packaged.

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

* ci(release): fall back to the stable R2 and signing secrets for experimental

The experimental channel needs EXPERIMENTAL_* Cloudflare and GPG secrets that
were never created, so even a passing nightly could not publish and
repo.yamsmemory.ai/experimental/* has never existed. Fall back to the stable
token, account and key when the channel-specific secrets are unset; setting
them later still takes precedence.

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

* ci: add a manual Windows workflow that finds hanging test cases

search_service times out at 360 s on Windows in every Tests run, which keeps
experimental from going green and blocks every nightly. The meson log only
shows the timeout. This workflow builds once and runs each Catch2 case on its
own with a per-case timeout, then reports durations and the cases that hang.
It runs only on workflow_dispatch or a push to a diagnose/** branch.

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

---------

Signed-off-by: trvon <me@trevon.dev>
2026-09-30 18:11:34 -06:00
Trevon
468e1f9982
Revert "ci: make immutable uploads atomic" (#206)
This reverts commit 296e7320.

296e7320 moved R2 publication from wrangler (authenticated by
CLOUDFLARE_API_TOKEN) to boto3 over R2's S3 API, which needs
R2_ACCESS_KEY_ID / R2_SECRET_ACCESS_KEY (and EXPERIMENTAL_* pairs). Those
secrets were never configured, so the first stable release built after
the change (v0.20.2, run 36084509789) failed at 'Publish channel package
repositories to R2' with 'Missing channel-specific Cloudflare R2 S3
authority', and the APT/RPM/Arch repositories were not updated.

Restore the wrangler path so releases publish with the existing token.
2026-09-25 08:44:43 -06:00
trvon
296e732064 ci: make immutable uploads atomic
Signed-off-by: trvon <me@trevon.dev>
2026-09-04 17:14:43 -06:00
trvon
618bd5e0c0 ci: isolate experimental package repositories
Signed-off-by: trvon <me@trevon.dev>
2026-09-04 17:14:43 -06:00
trvon
80738eb3e8
fix(release): repair package repo publish
Arch repo metadata and R2 uploads need to be reproducible from CI, with retry hardening for transient Cloudflare failures.
2026-07-05 23:33:37 -04:00
trvon
5ce5e6a774
feat: Arch Linux packaging + CI
Add arch:
   - PKGBUILD + yams.install in packaging/arch/
   - build-arch-pkg.sh (pacman deps, makepkg, repo-add)
   - arch-lane.Dockerfile systemd validation substrate
   - arch-package.Dockerfile pre-baked CI builder
   - package-lane.sh --only arch (build + validate local lane)
   - package-validate.sh Arch lane (pacman -U/-R smoke-test)
   - release.yml: 2 new matrix entries, arch-repo metadata, R2 upload
   - publish-repos.yml: arch-repo download + R2 upload
   - yams-repo worker: /archrepo route, .pkg.tar.zst + .db/.files types
2026-07-01 05:50:59 +00:00
trvon
2d84e44013
security: addressing codeql security finding and expanding opengrep rules 2026-05-05 15:38:59 -04:00
trvon
8b7bfe575d
feat: improved search fusion logic and tuning parameters. CI improvements, reverting to push with wrangler in CI. Experimenting with vector rebuild to address additional lost overhead in search 2026-05-05 08:58:20 -04:00
trvon
76f917051f
fix: fixing apt update, re-rolling gpg public key 2026-04-18 21:08:25 -04:00
trvon
8b9a443280
fix: fixing ci push to repo 2026-04-18 18:39:40 -04:00
trvon
451b44147b
fix: fixing ci upload and release trigging logic 2026-03-15 03:11:25 -04:00
trvon
8516a1b779
feat: tuning improvements with expanded db metrics, package hardening and updated tests 2026-02-15 17:52:43 -05:00
Trevon
e39ccefae4
test expansion from meson migration and ci improvements 2025-09-24 18:42:35 -04:00
Trevon
db22bd3651
ci fixes 2025-09-21 16:44:57 -04:00
Trevon
80b7f84893
improvements and bug fixes. v0.6.27 2025-09-14 22:55:33 -04:00