Commit graph

7 commits

Author SHA1 Message Date
trvon
933a05c3bf
release: add a Debian forky (testing) build leg
Some checks failed
release / draft (push) Has been skipped
release / build (debian:forky, forky) (push) Failing after 4m13s
release / build (debian:trixie, trixie) (push) Successful in 1h6m14s
release / build (ubuntu:24.04, noble) (push) Successful in 1h1m20s
release / publish (push) Has been skipped
The Security Hub server runs Debian forky; build-release.sh accepts forky and the
release matrix gains a debian:forky leg (~1 h more per release, legs run one at a
time). Testing moves: rebuild after a library transition.
2026-11-20 07:44:12 -07:00
trvon
ccad00c431
CI: release build timeout 60 -> 120 min
The v0.2.6 trixie leg was cancelled by the job timeout at 60:04 (v0.2.5 took
~56 min on the single-CPU runner); the cold build + full suite outgrew it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:27:19 -07:00
trvon
c6754b19ff
CI: main pushes no longer build (test lane on ci/**, PRs, tags, manual)
Each run takes about two hours on the one-core runner; queued main runs
delayed the v0.2.3 release build by hours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 20:02:23 -07:00
trvon
e5ee53cf18
Review fixes: write->exec feature constant, accurate comments, tag-safe CI
All checks were successful
release / draft (push) Has been skipped
release / build (debian:trixie, trixie) (push) Successful in 56m31s
release / build (ubuntu:24.04, noble) (push) Successful in 51m33s
release / publish (push) Has been skipped
Address code-review findings on this session's changes (no behavior change):
- Share the dense-slot index for the write->exec feature as
  learn::kWriteExecFeatureIndex; featurize() and the model-score dev tool now
  reference it instead of a duplicated literal 42 (prevents silent column drift
  if the feature layout shifts).
- Fix the self_written_execs comments: the linkage is a GLOBAL bounded FIFO
  (recent_writes), not strictly "this window" — the docs now match replay.cpp.
- release.yml: never cancel a tag/release run (cancel-in-progress only for
  non-tag refs); push ordering doesn't guarantee the tag event arrives after the
  branch event, so a same-sha branch push must not abort an in-progress release.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-10 16:09:03 -07:00
trvon
42db81dc9e
CI: fix release-build contention (concurrency by sha, timeout, ccache)
All checks were successful
release / draft (push) Has been skipped
release / build (debian:trixie, trixie) (push) Successful in 58m22s
release / build (ubuntu:24.04, noble) (push) Successful in 55m6s
release / publish (push) Has been skipped
The single self-hosted runner ran the full matrix for BOTH a branch push and its
tag, so a commit's two runs fought for the one CPU (debian build failed on run 75
under that contention). Add:
- concurrency group keyed by sha + cancel-in-progress: a commit's tag run cancels
  its branch run instead of competing;
- timeout-minutes: 60 on the build job so a wedged build fails cleanly;
- a best-effort ccache cache (CCACHE_DIR + actions/cache, continue-on-error) so
  the cold single-CPU build goes warm/incremental when the runner has a cache
  service (meson uses ccache automatically); harmless cold otherwise.
No daemon code changed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-09 06:29:48 -07:00
trvon
e1a619f44d
CI: one compile job per build (runner caps jobs at one CPU)
Some checks failed
release / draft (push) Has been skipped
release / build (ubuntu:24.04, noble) (push) Has been cancelled
release / publish (push) Has been cancelled
release / build (debian:trixie, trixie) (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 16:34:07 -07:00
trvon
f58a765033
CI: Forgejo release workflow, test lane and runner probe
All checks were successful
release / draft (push) Has been skipped
release / build (debian:trixie, trixie) (push) Successful in 31m13s
release / build (ubuntu:24.04, noble) (push) Successful in 26m59s
release / publish (push) Has been skipped
release.yml builds, tests and packs a Linux install tree per distro
(debian:trixie, ubuntu:24.04), one at a time with JOBS=2 and nice.
Branches (main, ci/**) and PRs run the test lane and print each sha256;
a v* tag uploads the tarballs and .sha256 files to a draft release and
publishes it only when every build passed.

runner-probe.yml checks that a runner with the docker label picks up
jobs, can clone this repo with the job token and reach the API.

packaging/ci/build-release.sh is the shared build step. It refuses to
run outside CI because it installs packages.

Forgejo now reads .forgejo/workflows and ignores .github/workflows,
whose ubuntu-24.04/macos-15 labels no runner here provides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 18:26:02 -07:00