Skip to content

Conversation

ngjaying
Copy link
Collaborator

  • Rule add version property
  • Rule update API now do upsert (breaking change)
  • Rule update (both update API and partial import API) will check version, only do update when version is newer
  • init.json can use to migrate rules preset, also check version for preset migration

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
@ngjaying ngjaying marked this pull request as ready for review March 28, 2025 07:34
@ngjaying ngjaying requested a review from Yisaer March 28, 2025 07:34
- Check init rules for each start. If init.json changed, run init.
- Check version when updating a rule

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Signed-off-by: Jiyong Huang <huangjy@emqx.io>
mock server just cannot reconnect

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
@ngjaying ngjaying merged commit 1c44a74 into lf-edge:master Mar 28, 2025
58 checks passed
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (fe7dc24) to head (9411259).
Report is 7 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff       @@
##   master   #3644   +/-   ##
==============================
==============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

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.

2 participants