CI: reckon-db's workflows run on the forge (reckon-db#5) #6

Manually merged
terra merged 1 commit from neptunus/forge-ci-port into main 2026-12-02 06:57:16 +00:00
Member

Refs reckon-db-org/reckon-db#5 (threat model and Done-when are in the issue), #2, martha-ai/mcl-martha#1. This is evoq's forge shape: 8245b96, de01eb0 and 13232d0.

What changes

  • All three workflows move to .forgejo/workflows with git mv, so their history is kept. .github/workflows is gone.
  • lint-and-test:
    • Runs on the docker label, in macula-pub/macula-ci-otp pinned by evoq's digest. The image carries OTP 28.4.3, rebar3 3.27.0 and Rust 1.98.1 with rustup.
    • Uses the byte-identical plain-shell checkout, then is_erlang_the_pinned_version.sh.
    • Uses no JavaScript action (no actions/cache, no Swatinem/rust-cache).
    • Every gate stays. Clippy runs in the same image.
  • publish-hex:
    • evoq's forge file, plus reckon-db's does_package_carry_the_nifs.sh step. It has no docs job.
    • The reusable calls are local only and carry no if:.
    • publish now runs on the forge, for a pushed v*.*.* tag only. It needs HEX_API_KEY as a repository secret, which the owner sets; this change does not.
  • ci-images-release-guard: moved unchanged. It is byte for byte the pinned copy, and the check in its header passes.
  • .github/actionlint.yaml: evoq's. actionlint passes on all three files.

Proof before the GO (Actions is off):

  • I replayed both lint-and-test jobs' steps of af75fd4 inside the pinned image with podman. Every step passed: the OTP pin, cargo target dir, compile, the five NIFs built, xref, lint, eunit (703), ct (298), proper, dialyzer and clippy on all five crates. The script is replay_in_image.sh; there is one log per step.
  • The first real run comes after the Supervisor's GO turns Actions on.
Refs reckon-db-org/reckon-db#5 (threat model and Done-when are in the issue), #2, martha-ai/mcl-martha#1. This is evoq's forge shape: 8245b96, de01eb0 and 13232d0. **What changes** - All three workflows move to `.forgejo/workflows` with `git mv`, so their history is kept. `.github/workflows` is gone. - `lint-and-test`: - Runs on the `docker` label, in `macula-pub/macula-ci-otp` pinned by evoq's digest. The image carries OTP 28.4.3, rebar3 3.27.0 and Rust 1.98.1 with rustup. - Uses the byte-identical plain-shell checkout, then `is_erlang_the_pinned_version.sh`. - Uses no JavaScript action (no `actions/cache`, no `Swatinem/rust-cache`). - Every gate stays. Clippy runs in the same image. - `publish-hex`: - evoq's forge file, plus reckon-db's `does_package_carry_the_nifs.sh` step. It has no docs job. - The reusable calls are local only and carry no `if:`. - `publish` now runs on the forge, for a pushed `v*.*.*` tag only. It needs `HEX_API_KEY` as a repository secret, which the owner sets; this change does not. - `ci-images-release-guard`: moved unchanged. It is byte for byte the pinned copy, and the check in its header passes. - `.github/actionlint.yaml`: evoq's. actionlint passes on all three files. **Proof before the GO (Actions is off):** - I replayed both lint-and-test jobs' steps of `af75fd4` inside the pinned image with podman. Every step passed: the OTP pin, cargo target dir, compile, the five NIFs built, xref, lint, eunit (703), ct (298), proper, dialyzer and clippy on all five crates. The script is `replay_in_image.sh`; there is one log per step. - The first real run comes after the Supervisor's GO turns Actions on.
ci: reckon-db's workflows run on the forge (reckon-db#5)
All checks were successful
lint-and-test / rust (clippy, deny warnings) (pull_request) Successful in 41s
lint-and-test / compile + NIFs + xref + lint + eunit + ct + proper + dialyzer (OTP 28.4.3) (pull_request) Successful in 7m35s
lint-and-test / rust (clippy, deny warnings) (push) Successful in 56s
lint-and-test / compile + NIFs + xref + lint + eunit + ct + proper + dialyzer (OTP 28.4.3) (push) Successful in 7m44s
af75fd495f
The forge reads only .forgejo once it exists, so lint-and-test,
publish-hex and the release guard move there (git mv, history kept), in
reckon-db-org/evoq's forge shape (8245b96, de01eb0, 13232d0):

- lint-and-test: the `docker' label (the forge's `ubuntu-latest' is a
  node image with no Erlang), macula-pub/macula-ci-otp by evoq's digest
  (OTP 28.4.3, rebar3 3.27.0, Rust 1.98.1 + rustup), the byte-identical
  plain-shell checkout, and is_erlang_the_pinned_version.sh where
  setup-beam's strict pin stood. No JavaScript action: actions/cache
  and Swatinem/rust-cache go (the image has no node). Every gate stays:
  cargo target dir, compile, NIFs built, xref, lint, eunit, ct, proper,
  dialyzer; clippy runs in the same image.
- publish-hex: evoq's forge file with reckon-db's own NIF step
  (does_package_carry_the_nifs.sh) and no docs job. Local reusable
  calls only, no `if:' on them. `publish' now runs on the forge, for a
  pushed v*.*.* tag only; HEX_API_KEY becomes a repository secret (set
  by the owner, not here). reckon-db is public: fork PRs get no
  secrets, and only members push branches (the issue's threat model).
- ci-images-release-guard: moved unchanged, byte for byte the pinned
  copy (the check in its header passes).
- .github/actionlint.yaml: evoq's, declaring `docker'. actionlint passes.
- publish-to-hex.sh and the five clippy.toml comments name .forgejo.

Actions stays off until the Supervisor's GO after review.

Refs reckon-db-org/reckon-db#5, #2, martha-ai/mcl-martha#1
terra manually merged commit af75fd495f into main 2026-12-02 06:57:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
reckon-db-org/reckon-db!6
No description provided.