Skip to content

OTP29 support - #242

Merged
kjnilsson merged 10 commits into
mainfrom
fix-badfun
Oct 14, 2026
Merged

kjnilsson merged 10 commits into
mainfrom
fix-badfun

Conversation

@mkuratczyk

@mkuratczyk mkuratczyk commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor
  • run tests with OTP29, drop OTP26
  • with OTP29-specific compilation warnings
  • run tests with mixed OTP versions
  • fix a badfun in fetch_writer_seq
  • don't send anonymous funs to peer nodes in osiris_SUITE

@mergify

mergify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@mkuratczyk
mkuratczyk marked this pull request as draft October 12, 2026 15:28
@mkuratczyk mkuratczyk changed the title Fix badfun in fetch_writer_seq OTP29 support Oct 12, 2026
Dialyzer can see it now that read_header0/1 is no longer wrapped in catch.
Funs defined in the suite can't be called on a peer running a different OTP
version (badfun), which prevented running the whole suite in mixed OTP mode.
@mkuratczyk
mkuratczyk marked this pull request as ready for review October 12, 2026 17:54
@mkuratczyk
mkuratczyk requested a review from kjnilsson October 12, 2026 17:54
@kjnilsson
kjnilsson requested a balanced review from Copilot October 14, 2026 09:16

Copilot AI 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.

🟢 Approval recommended

The changes consistently address mixed-OTP execution and compatibility without identified unresolved defects.

0 open findings

What changed in this PR

Adds OTP 29 and mixed-version cluster support while preventing cross-node anonymous-fun failures.

Changes:

  • Updates CI and test dependencies for OTP 27–29.
  • Adds mixed-OTP testing and remote writer-sequence coverage.
  • Refines OTP 29 compatibility warnings and exception handling.
File Description
.github/​workflows/​erlang.yml Tests OTP 27–29.
.github/​workflows/​mixed-otp.yml Adds mixed-OTP CI matrix.
Makefile Updates test dependencies.
src/​osiris.erl Safely queries remote writer sequences.
src/​osiris.hrl Modernizes logger exception handling.
src/​osiris_log.erl Resolves type and catch warnings.
src/​osiris_util.erl Simplifies base64 URI validation.
src/​osiris_writer.erl Narrows batch exception handling.
test/​osiris_SUITE.erl Adds remote coverage and MFA peer helpers.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@kjnilsson
kjnilsson merged commit 01ad4f8 into main Oct 14, 2026
12 checks passed
@kjnilsson
kjnilsson deleted the fix-badfun branch October 14, 2026 09:21
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