Skip to content

Print the OpenSSL each gate leg's :crypto linked - #94

Merged
HackTuah merged 1 commit into
mainfrom
ci/record-openssl
Oct 20, 2026
Merged

HackTuah merged 1 commit into
mainfrom
ci/record-openssl

Conversation

@HackTuah

Copy link
Copy Markdown
Member

CI only, plus one census test. Nothing a consumer of the package can hit changes.

Why. The box leg runs on ubuntu-26.04-arm so that it runs the OpenSSL 3.5 line a fielded box runs, but its log never said which OpenSSL its OTP linked. The toolchain step printed the OTP release, elixir --version and .tool-versions only, so the 3.5 line was inferred from another run on the same image rather than read from this one.

What changes

  • gate.yml: the toolchain step prints crypto linked to <version> from crypto:info_lib() on every leg. It loads the crypto application first; without that, OTP 28.5 prints a warning report beside the line.
  • governance_test.exs: the step must call crypto:info_lib().

Evidence

  • The test fails on main's gate.yml and passes after the change.
  • The line prints "OpenSSL 3.0.13 30 Jan 2024" on OTP 28 over the system library, and "OpenSSL 3.5.9 29 Sep 2026" on OTP 28.5.0.8 built over 3.5.9: exit 0, one line each.

Not yet measured

  • The line in CI. This run's box leg is the first to print it.

The box leg moved to ubuntu-26.04-arm so that it runs the OpenSSL 3.5
line a fielded box runs, but its log never said which OpenSSL its OTP
linked: the toolchain step printed the OTP release, elixir --version
and .tool-versions only. The 3.5 line was inferred from another run on
the same image, not read from this one.

- gate.yml: the toolchain step prints "crypto linked to <version>" from
  crypto:info_lib() on every leg. It loads the crypto application
  first; without that, OTP 28.5 prints a warning report beside the
  line.
- governance_test.exs: the step must call crypto:info_lib().

Measured locally: the test fails on main's gate.yml and passes after
the change. The line prints "OpenSSL 3.0.13 30 Jan 2024" on OTP 28
over the system library and "OpenSSL 3.5.9 29 Sep 2026" on 28.5.0.8
built over 3.5.9, exit 0, one line each.

Signed-off-by: Ayla Croft <aylacroft@proton.me>
@HackTuah
HackTuah merged commit 501a5fa into main Oct 20, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant