Skip to content

chore: add astarte_core into Astarte release-1.3 monorepo#1960

Draft
mizzet1 wants to merge 759 commits into
astarte-platform:release-1.3from
mizzet1:core-into-one-dot-tree
Draft

chore: add astarte_core into Astarte release-1.3 monorepo#1960
mizzet1 wants to merge 759 commits into
astarte-platform:release-1.3from
mizzet1:core-into-one-dot-tree

Conversation

@mizzet1
Copy link
Copy Markdown
Contributor

@mizzet1 mizzet1 commented May 5, 2026

No description provided.

rbino and others added 30 commits March 25, 2020 13:19
Update version numbers and release date.
Bump version number to 0.11.0-rc.1
ex_doc is required when publishing a package to hex.pm
ubuntu-latest will change to ubuntu-20.4 soon, let's make tests
deterministic.
Use ubuntu-18.04 instead of ubuntu-latest
Bump version number and update CHANGELOG.md.
Add database_retention_policy and database_retention_ttl.
…on-schema

Add database_retention_policy/ttl to mapping JSON schema
database_retention_policy documentation wasn't clear, fix it.
Some deps got outdates, update all of them and rewrite mix.lock file.
Update .github/workflows/build-workflow.yaml and asdf .tool-versions .
mapping JSON schema: fix database_retention_policy doc
Merge release-0.11 branch.
Merge release-0.11 branch.
Make possible to use any AMQP exchange different than astarte_events.
Update mix.exs version number and add 0.11.1 release date.
Add support to other useful options such as priority, expiration and
persistency.
Add AMQP exchange to amqp_trigger_target.proto.
Astarte 1.0 aims to run on OTP23 by default.
Update deps and start using OTP23
SimpleTriggerConfig now allows to specify a device_id or a group_name that will
be used to limit the simple trigger to the specified device/group.

Signed-off-by: Riccardo Binetti <riccardo.binetti@ispirata.com>
Add support for device-specific and group-specific triggers
Use Elixir v1.3.0 action and ubuntu-latest.
Merge release-0.11 branch.
noaccOS and others added 16 commits October 6, 2025 09:30
…m#129)

Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
update version and CHANGELOG file

Signed-off-by: Arnaldo <arnaldo.cesco@secomind.com>
…astarte-platform#132)

Validate all possible mismatching mapping options in interfaces with object aggregation
(e.g. check if a mapping contains a different database_retention_ttl value). Test added.
This is needed to fix [astarte/astarte-platform#1072](astarte-platform#1072).
…te-platform#133)

BREAKING CHANGE: The trigger target decoding function now returns a map, in order to be compliant with the defined type specifications.

Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: frossq <francesco.asquini@secomind.com>
Signed-off-by: frossq <francesco.asquini@secomind.com>
fix: reject interfaces with conflicting options in aggregate mappings (fw-port for release 1.3)
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
update version in mix.exs

Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
Signed-off-by: Eddy Babetto <eddy.babetto@secomind.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

❌ Patch coverage is 86.04651% with 108 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.23%. Comparing base (e738bdf) to head (02728f0).
⚠️ Report is 1412 commits behind head on release-1.3.

Files with missing lines Patch % Lines
.../astarte_core/mapping/database_retention_policy.ex 24.00% 19 Missing ⚠️
...tarte_core/lib/astarte_core/mapping/reliability.ex 64.28% 10 Missing ⚠️
...astarte_core/lib/astarte_core/mapping/retention.ex 64.28% 10 Missing ⚠️
...rte_core/lib/astarte_core/interface/aggregation.ex 64.00% 9 Missing ⚠️
...tarte_core/lib/astarte_core/interface/ownership.ex 66.66% 9 Missing ⚠️
...bs/astarte_core/lib/astarte_core/interface/type.ex 68.00% 8 Missing ⚠️
...starte_core/lib/astarte_core/mapping/value_type.ex 84.44% 7 Missing ⚠️
...e_core/lib/astarte_core/triggers/policy/handler.ex 74.07% 7 Missing ⚠️
...lib/astarte_core/triggers/simple_trigger_config.ex 95.77% 6 Missing ⚠️
libs/astarte_core/lib/astarte_core/cql_utils.ex 86.11% 5 Missing ⚠️
... and 7 more

❌ Your patch check has failed because the patch coverage (86.04%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.3    #1960      +/-   ##
===============================================
- Coverage        86.38%   86.23%   -0.15%     
===============================================
  Files              621      647      +26     
  Lines            10861    11635     +774     
===============================================
+ Hits              9382    10034     +652     
- Misses            1479     1601     +122     
Files with missing lines Coverage Δ
libs/astarte_core/lib/astarte_core/device.ex 100.00% <100.00%> (ø)
libs/astarte_core/lib/astarte_core/group.ex 100.00% <100.00%> (ø)
...re/lib/astarte_core/mapping/endpoints_automaton.ex 100.00% <100.00%> (ø)
libs/astarte_core/lib/astarte_core/realm.ex 100.00% <100.00%> (ø)
...rte_core/lib/astarte_core/triggers/data_trigger.ex 100.00% <100.00%> (ø)
.../lib/astarte_core/triggers/policy/keyword_error.ex 100.00% <100.00%> (ø)
...re/lib/astarte_core/triggers/policy/range_error.ex 100.00% <100.00%> (ø)
...lib/astarte_core/triggers/simple_events/encoder.ex 100.00% <100.00%> (ø)
...te_core/triggers/simple_triggers_protobuf/utils.ex 100.00% <100.00%> (ø)
...tarte_core/lib/astarte_core/device/capabilities.ex 66.66% <66.66%> (ø)
... and 16 more

... and 6 files with indirect coverage changes

Flag Coverage Δ
astarte_appengine_api 86.88% <ø> (-0.06%) ⬇️
astarte_core 86.04% <86.04%> (?)
astarte_data_access 82.35% <ø> (ø)
astarte_data_access_generators 100.00% <ø> (ø)
astarte_data_updater_plant 81.22% <ø> (-0.70%) ⬇️
astarte_events 79.40% <ø> (ø)
astarte_generators 97.74% <ø> (ø)
astarte_housekeeping 86.85% <ø> (ø)
astarte_pairing 84.25% <ø> (ø)
astarte_realm_management 88.62% <ø> (-0.08%) ⬇️
astarte_rpc 88.23% <ø> (ø)
astarte_test_suite 100.00% <ø> (ø)
astarte_trigger_engine 82.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mizzet1 mizzet1 force-pushed the core-into-one-dot-tree branch 2 times, most recently from 8705bcc to f7c10ba Compare May 6, 2026 08:45
mizzet1 and others added 3 commits May 6, 2026 11:01
Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
@mizzet1 mizzet1 closed this May 12, 2026
@mizzet1 mizzet1 force-pushed the core-into-one-dot-tree branch from f7c10ba to e738bdf Compare May 12, 2026 09:01
…3b1149733'

git-subtree-dir: libs/astarte_core
git-subtree-mainline: e738bdf
git-subtree-split: 58f4269
@mizzet1 mizzet1 reopened this May 12, 2026
Signed-off-by: Riccardo Nalgi <riccardo.nalgi@secomind.com>
@mizzet1 mizzet1 force-pushed the core-into-one-dot-tree branch from fcaf24e to 02728f0 Compare May 12, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants