Skip to content

ci(oracle): default to OTP 27.3.4.19; OTP 28.5.0.8 also segfaults - #1061

Merged
hyperpolymath merged 5 commits into
mainfrom
marina/zen-galileo-9l9f42
Nov 13, 2026
Merged

hyperpolymath merged 5 commits into
mainfrom
marina/zen-galileo-9l9f42

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Why

rsr-oracle.yml defaults to OTP 28.5.0.8. The #1032 matrix found that release clean, but later trees crash it. The crash is in sweep_off_heap, reached from the JIT's bs_init_bits, the same crash as in #1032. OTP 27.3.4.19 runs cleanly on the same trees (rsr-template-repo#333, #339).

The template pinned 27.3.4.19 in its own copies (rsr-template-repo#335, #340). That fixes only the template. Every other caller of this reusable workflow still gets 28.5.0.8 by default. This PR fixes the default here, at source.

Changes

  • .github/workflows/rsr-oracle.yml: the otp-version default changes from 28.5.0.8 to 27.3.4.19.
  • .github/workflows/ci.yml: the 2 jobs pinned "identical to the dogfood gate", and their Mix cache keys, change to 27.3.4.19. The template's gate runs 27.3.4.19 now.
  • docs/consumers/rsr-oracle.adoc: the stated toolchain changes to match.
  • docs/consumers/standards-governance.adoc: states the OTP the pinned standards reusables really run (28.3 at 7641c7f). Those reusables move to 27.3.4.19 in fix(ci): run the Hypatia scanner on OTP 27.3.4.19, not 28.5.0.8 metadatastician/standards#1508.
  • CHANGELOG.adoc: a new entry corrects the entry of 2026-11-09 that called 28.5.0.8 clean.

Evidence

Measured on 2026-11-13: this repository at be98f74, mix hypatia.rsr_score on 3 rsr-template-repo trees, 5 runs each. OTP and Elixir builds come from builds.hex.pm, SHA-256 verified.

OTP Elixir 3213333 a55669e af8665c
28.5.0.8 1.19.4 5 of 5 clean 5 of 5 exit 139 5 of 5 exit 139
27.3.4.19 1.19.4 5 of 5 clean 5 of 5 clean 5 of 5 clean
29.1 1.20.5 5 of 5 clean 5 of 5 clean 5 of 5 clean

On OTP 28.5.0.8, neither a UTF-8 locale nor +JMsingle true stops the crash (3 of 3 each). The scanner crash (hypatia-cli.sh scan) comes from the template's CI record (rsr-template-repo#339); I did not rerun it.

Checks I ran

  • Both edited workflows parse as YAML.
  • scripts/check-readme-claims.sh passes.

Limits

  • OTP 29.1 is clean in these runs, but it needs Elixir 1.20, so that row changes 2 things.
  • The cause inside OTP is not known, and it is not yet reported to erlang/otp.
  • The red "Build Test Images", "Integration Status", "Rust Dependency Audit" and "Security Status" checks also fail on main. None of them is a required check. The audit failure is fixed in fix(deps): bump quinn-udp 0.5.14 -> 0.5.16 (RUSTSEC-2026-0538) #1071.
  • Downstream: canonry, chancel, czech-file-knife and occupancy-types still pin 28.5.0.8 in their own dogfood-gate.yml. anytype, autoformal-fidelity, secret-types, system-et and zig-unorm (and the 4 above) pin it in hypatia-scan.yml. These are copies of the template, so they follow the template's realign. This PR does not change them.

🤖 Generated with Claude Code

https://claude.ai/code/session_0136P7Zp7h93ZYjxoVNQQYRR

rsr-oracle.yml defaulted to OTP 28.5.0.8 after the #1032 matrix found it
clean. Later trees crash it: mix hypatia.rsr_score exits 139 in
sweep_off_heap (JIT bs_init_bits) on rsr-template-repo af8665c and
a55669e, and hypatia-cli.sh scan crashes the same way on some trees.
OTP 27.3.4.19 is clean on all of them (rsr-template-repo#333, #339).

The template pinned 27.3.4.19 in its own copies (#335, #340). Every
other caller of the reusable oracle still gets 28.5.0.8 by default, so
fix the default here, at source.

- rsr-oracle.yml: otp-version default 28.5.0.8 -> 27.3.4.19.
- ci.yml: the two jobs pinned to the dogfood gate, and their Mix cache
  keys, follow (the gate runs 27.3.4.19 now).
- docs/consumers: the stated toolchain follows.
- CHANGELOG: corrects the 2026-11-09 entry that called 28.5.0.8 clean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7Zp7h93ZYjxoVNQQYRR
@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 67d23b69-b1ae-415f-a3ca-5680a8cea3a9
Commits

Reviewing files that changed from the base of the PR and between f070c37 and e42fa26.

Files selected for processing: 5

  • .github/workflows/ci.yml
  • .github/workflows/rsr-oracle.yml
  • CHANGELOG.adoc
  • docs/consumers/rsr-oracle.adoc
  • docs/consumers/standards-governance.adoc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copy link
Copy Markdown
Owner Author

Build Test Images fails, and the failure is not from this PR.

The job fails in cargo build --release --package hypatia-cli inside the container build:

This PR changes no Rust code and no container file. The same job also fails on main:

Run Commit Result
43357534889 a8e7866 (this PR's base) failure
43264284438 a8e7866 failure
43158429683 56d9d6b failure
43157929138 8a72cef failure

I leave it out of this PR, because the fix belongs to the Rust CLI and its builder image.


Generated by Claude Code

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 13, 2026 13:33
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T15:40:33.447335Z e42fa26 New commits
🔒 Security Review ❌ Failed 2026-11-13T15:39:22.589024Z
We couldn’t complete this review. Comment @codex security review to try again.
e42fa26 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2aa3302bac

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

The standards reusables at the pinned commit 7641c7f install OTP 28.3
(hypatia-scan-reusable.yml, governance-reusable.yml). The previous commit
wrongly said 27.3.4.19; this PR does not change those workflows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7Zp7h93ZYjxoVNQQYRR

Copy link
Copy Markdown
Owner Author

Rust Dependency Audit fails, and the failure is not from this PR.

cargo audit reports 1 vulnerable advisory: RUSTSEC-2026-0538 in quinn-udp ("Receive loop can spin after a truncated datagram"). This PR changes no Rust code and no Cargo.lock.

The same job fails on main with the same advisory:

Run Commit Result
43437132125 34a00b8 (current main) failure, RUSTSEC-2026-0538
43349875273 a8e7866 (this PR's base) success

So the advisory was published after the base run. The fix is a quinn-udp bump in Cargo.lock on main. It belongs in its own change, not in this OTP PR.


Generated by Claude Code

hyperpolymath added a commit to metadatastician/standards that referenced this pull request Nov 13, 2026
## Why

OTP 28.x segfaults the Hypatia scanner and oracle on some trees. The
crash is in `sweep_off_heap`, reached from the JIT's `bs_init_bits`. OTP
27.3.4.19 runs cleanly on all of the affected trees.

`hypatia-scan-reusable.yml` and `governance-reusable.yml` are what every
estate repo calls for the scan and governance lanes. They still install
28.5.0.8 on `main` (28.3 at `7641c7f`). This PR fixes them at source.

Related: rsr-template-repo moved its own copies (#335, #340).
[hyperpolymath/hypatia#1061](hyperpolymath/hypatia#1061)
moves Hypatia's oracle default.

## Changes

- `hypatia-scan-reusable.yml`, `governance-reusable.yml`: `otp-version`
changes from `28.5.0.8` to `27.3.4.19`. The scanner cache key carries
the new version, so no `_build` compiled under OTP 28 is restored. Each
pin has a comment with the reason.
- `self-test.yml`: the "Hypatia single-scan projection contract" job
follows, so it tests the toolchain the reusables run.

## Evidence

Measured on 2026-11-13: Hypatia `be98f74`, `mix hypatia.rsr_score` on 3
rsr-template-repo trees, 5 runs each. OTP and Elixir builds come from
builds.hex.pm, SHA-256 verified.

| OTP | Elixir | `3213333` | `a55669e` | `af8665c` |
|---|---|---|---|---|
| 28.5.0.8 | 1.19.4 | 5 of 5 clean | **5 of 5 exit 139** | **5 of 5 exit
139** |
| 27.3.4.19 | 1.19.4 | 5 of 5 clean | 5 of 5 clean | 5 of 5 clean |
| 29.1 | 1.20.5 | 5 of 5 clean | 5 of 5 clean | 5 of 5 clean |

On OTP 28.5.0.8, neither a UTF-8 locale nor `+JMsingle true` stops the
crash (3 of 3 each). The scanner crash (`hypatia-cli.sh scan`) comes
from the template's CI record (rsr-template-repo#339); I did not rerun
it.

## Checks I ran

- All 3 files parse as YAML.
- `scripts/check-workflow-duplicate-keys.sh` and
`scripts/check-inline-python.sh` pass.
- `scripts/check-workflow-coordinates.sh` did not run cleanly here. It
could not parse `apply-workflow-pins.yml`, a file this PR does not
touch, because the only `yq` in that container was the Python wrapper.

## Limits

- OTP 29.1 is clean in these runs, but it needs Elixir 1.20, so that row
changes 2 things. It is a possible later move, not part of this PR.
- The cause inside OTP is not known, and it is not yet reported to
erlang/otp.
- Consumers pinned to an older standards commit (for example `7641c7f`)
keep OTP 28.3 until they move their pin.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_0136P7Zp7h93ZYjxoVNQQYRR

Co-authored-by: Claude <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

hyperpolymath added a commit that referenced this pull request Nov 13, 2026
## Why

`quinn-udp` 0.5.14 is affected by
[RUSTSEC-2026-0538](https://rustsec.org/advisories/RUSTSEC-2026-0538)
(GHSA-6pp4-4cxf-xf88): the receive loop can spin after a truncated
datagram. Versions 0.5.16 and later are patched.

The "Rust Dependency Audit" job fails on `main` (`34a00b8`) on this
advisory, and the "Security Status" aggregator fails with it. Every open
PR shows both red, for example #1061.

## Change

`Cargo.lock` only:
- `quinn-udp` changes from 0.5.14 to 0.5.16. No other package changes
version.
- The `windows-sys` 0.60.2 / `windows-targets` 0.53 packages leave the
lock file. Only `quinn-udp` 0.5.14 used them; 0.5.16 uses a
`windows-sys` version that the lock file already has.

## Checks I ran

- `cargo audit`: 1 vulnerability (RUSTSEC-2026-0538) before, 0 after.
- `cargo check --workspace --locked`: passes.

Not in scope: the "Build Test Images" failure on `main` (E0658
`atomic_try_update` and an undefined `TARGET` in `hypatia-cli`). This PR
does not change it.

---
_Generated by [Claude
Code](https://claude.ai/code/session_0136P7Zp7h93ZYjxoVNQQYRR)_

Co-authored-by: Claude <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 9196b3b into main Nov 13, 2026
87 checks passed
@hyperpolymath
hyperpolymath deleted the marina/zen-galileo-9l9f42 branch November 13, 2026 15:46
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.

3 participants