-
Notifications
You must be signed in to change notification settings - Fork 9
Elixir: Update to Erlang/OTP 28 and Elixir 1.19 #1258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughUpdates CI matrix to test newer OTP/Elixir versions and switches to expanded array formatting, relaxes the Changes
Sequence Diagram(s)sequenceDiagram
participant Test as BasicTest
participant DB as PostgreSQL
rect rgb(232,245,233)
Note over Test,DB: New behavior — KNn vector ordering with LIMIT 3
Test->>DB: Execute KNn query (2 vectors, ORDER BY VECTOR_SIMILARITY, LIMIT 3)
DB-->>Test: Return top 3 rows (IDs: 42, 44, 45)
Test->>Test: Assert returned IDs == [42, 44, 45]
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-11-15T16:07:11.693ZApplied to files:
🔇 Additional comments (1)
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. Comment |
By using `ORDER BY VECTOR_SIMILARITY()` within the vector storage integration test, we hope for a better sorting stability, i.e. less flaky outcomes.
- Elixir 1.17 is no longer supported on Erlang/OTP 28. - Relax Postgrex dependency to 0.21.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/lang-elixir-postgrex.yml(1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: amotl
Repo: crate/cratedb-examples PR: 1257
File: .github/workflows/lang-csharp-npgsql.yml:85-100
Timestamp: 2025-11-15T16:07:11.693Z
Learning: In the cratedb-examples repository CI workflows for .NET/Npgsql testing, conditional branches in test scripts (such as for "latest" versions) are intentionally kept even when not currently in the matrix, to allow easy toggling on/off by modifying the matrix values without changing the script logic.
📚 Learning: 2025-11-15T16:07:11.693Z
Learnt from: amotl
Repo: crate/cratedb-examples PR: 1257
File: .github/workflows/lang-csharp-npgsql.yml:85-100
Timestamp: 2025-11-15T16:07:11.693Z
Learning: In the cratedb-examples repository CI workflows for .NET/Npgsql testing, conditional branches in test scripts (such as for "latest" versions) are intentionally kept even when not currently in the matrix, to allow easy toggling on/off by modifying the matrix values without changing the script logic.
Applied to files:
.github/workflows/lang-elixir-postgrex.yml
📚 Learning: 2025-07-23T22:00:51.593Z
Learnt from: amotl
Repo: crate/cratedb-examples PR: 1038
File: application/open-webui/compose.yml:44-48
Timestamp: 2025-07-23T22:00:51.593Z
Learning: In the cratedb-examples repository, hard-coded credentials like "crate:crate" in Docker Compose files are acceptable for demonstration purposes to maintain simplicity and avoid unnecessary layers of indirection, even when flagged by security tools like Checkov.
Applied to files:
.github/workflows/lang-elixir-postgrex.yml
🪛 actionlint (1.7.8)
.github/workflows/lang-elixir-postgrex.yml
52-52: value "1.17" in "exclude" does not match in matrix "elixir-version" combinations. possible values are "1.18", "1.19"
(matrix)
About
Just maintenance, and an attempt for a CI stability improvement.
References