Forward-port release-1.3#124
Merged
noaccOS merged 43 commits intoastarte-platform:masterfrom Mar 2, 2026
Merged
Conversation
Edit versions in mix file and changelog Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
v1.2.x is now a supported version. Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Update astarte_core and astarte_rpc to 1.2rc-0 Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Prepare 1.2rc0
Update astarte_core and astarte_rpc to 1.2.0 Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Bump version and update CHANGELOG.md Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
Prepare 1.2.0
[Cache `v1` is deprecated](https://github.com/orgs/community/discussions/148746) Updates the cache CI action version to 4. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
ci: fix deprecated cache
This PR modifies the `vernemq.sh` entrypoint script to support dynamic configuration of the Erlang distribution cookie used for clustering VerneMQ nodes. Key changes: - The script now reads the `RELEASE_COOKIE` environment variable, if set, and injects it into the vm.args file at runtime. - If `RELEASE_COOKIE` is not set, the behavior falls back to the default (previously set value `vmq` in vm.args), ensuring backward compatibility. Motivation: In our deployment architecture, each instance of Astarte (Elixir services + VerneMQ with the custom plugin) will require a possibly unique Erlang cookie to securely form a cluster between the Erlang nodes. This change enables per-instance configuration without modifying the Docker image or baked-in vm.args file. Signed-off-by: Davide Briani <davide.briani@secomind.com>
…ie-via-env-variable feat(docker): allow dynamic Erlang cookie via environment variable
RPC requests are currently handled both by an `astarte_rpc` client and a dedicated `GenServer`. This allows external services to also use the default erlang clustering strategy to perform RPC calls instead of relying on the custom library `artarte_rpc` Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
rerfactor: Add RPC server to handle RPC calls
Moves the `case` caluse of the lookup of an existing RPC server to a `with` cluase, effectively starting a new child only if no other children are present in the registry for the `:server` key Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
…p_case fix: wrong supervisor behavior
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Add release date and a missing entry Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Prepare 1.2.1-alpha.0 release
Merge `feature/erlang-rpc` into `release-1.2`
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
The most relevant change is the introduction of property-based tests where relevant. Related to that, a number of support files are added (e.g. generators for MQTT topics and Astarte payloads) or reworked (e.g. most of database setup has been moved to a CaseTemplate). This is the first step in reworking the whole test suite, therefore existing tests have not been changed. Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Tests: improve Plugin module coverage
Make sure the final message is sent and deletion is acked Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
As title says, just one test. Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Allow the external VerneMQ API dependency to be mocked in order to better test code depending on it (e.g. device disconnection). Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Increase coverage of the RPC server module. Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Tests: test RPC server
Tests: test minor details
previously, we avoided adding the server as a child to the supervisor if a server existed already, leaving the job to horde to eventually create a consistent status between the supervisors. now, we do the same while making sure the rpc server is always added as a child to the supervisor, so that it is not possible for it to just not start fixed some typos while at it Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Adds support for capabilities messages from devices Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Fix ENV vars definition Define a single layer for ports Pin the Debian image to avoid unwanted changes Signed-off-by: Luca Marchiori <luca.marchiori@secomind.com>
feat: support capabilities messages
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
chore: prepare v1.2.1-rc.0
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
add a wrapper around the keepalive transport option, which is enabled by default as it resolves a connection issue with scylla cloud mimics astarte-platform/astarte_data_access#126 Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
feat: add keepalive option
Use \'- YYY-MM-DD\' everywhere Signed-off-by: Arnaldo <arnaldo.cesco@secomind.com>
Bump version and update CHANGELOG.md Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
…rc.0 chore: prepare 1.3.0-rc.0
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
chore: prepare v1.3.0-rc.1
7fbf053 to
524cbc5
Compare
524cbc5 to
01ec228
Compare
noaccOS
approved these changes
Mar 2, 2026
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #124 +/- ##
==========================================
+ Coverage 76.80% 81.72% +4.91%
==========================================
Files 13 12 -1
Lines 332 279 -53
==========================================
- Hits 255 228 -27
+ Misses 77 51 -26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.