Skip to content

fix(deps): pin rebar3_kura to v0.15.4 (fixes nightly #172)#173

Open
Taure wants to merge 1 commit into
mainfrom
fix/pin-rebar3-kura-tag
Open

fix(deps): pin rebar3_kura to v0.15.4 (fixes nightly #172)#173
Taure wants to merge 1 commit into
mainfrom
fix/pin-rebar3-kura-tag

Conversation

@Taure

@Taure Taure commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Problem

Nightly #172 (2026-07-15) failed at dependency compile, not in the property tests:

```
===> Compiling _build/default/lib/kura/src/kura_dialect_pg.erl failed
11 │ -behaviour(kura_dialect).
│ ╰── undefined callback function delete/3 (behaviour 'kura_dialect')
```

rebar.config pinned rebar3_kura to {branch, "main"} — a moving target. rebar3_kura bundles its own kura via its dep declaration. When main pointed at a commit pulling an older kura (v2.6.0), that kura's kura_dialect behaviour requires delete/3 and shadowed asobi's kura 2.17.1 kura_dialect_pg (which implements delete/2), breaking the compile. Regular CI stayed green off cached _build; the nightly's fresh fetch hit it.

Fix

Pin to the latest tag v0.15.4, which declares {kura, "~> 2.17"} — the same kura line asobi uses, so no foreign dialect behaviour shadows the compile.

Verification

Wiped rebar3_kura + kura + kura_postgres from _build (mimicking the nightly's clean fetch), then:

  • rebar3 compile — green
  • rebar3 as test compile — green (the exact path that broke)

Closes #172.

The `{branch, "main"}` pin is a moving target. rebar3_kura bundles its
own kura via its dep declaration; when main pointed at a commit pulling
an older kura (v2.6.0), that kura's `kura_dialect` behaviour (which
requires `delete/3`) shadowed asobi's kura 2.17.1 `kura_dialect_pg`
(which implements `delete/2`), failing the dep compile with
`undefined callback function delete/3 (behaviour 'kura_dialect')`.

Regular CI stayed green off cached _build; the nightly does a fresh
fetch, so it hit the shadow (nightly #172, 2026-07-15).

v0.15.4 (latest tag) declares `{kura, "~> 2.17"}`, matching asobi's own
kura line, so no foreign dialect behaviour shadows the compile. Verified
with a clean-fetch `rebar3 compile` and `rebar3 as test compile` (both
green) after wiping the plugin + kura from _build.
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.

Nightly failure: 2026-07-15

1 participant