Skip to content

DMN config checks / digest email#4413

Closed
sergei-maertens wants to merge 4 commits intomasterfrom
feature/4284-dmn-config-checks
Closed

DMN config checks / digest email#4413
sergei-maertens wants to merge 4 commits intomasterfrom
feature/4284-dmn-config-checks

Conversation

@sergei-maertens
Copy link
Copy Markdown
Member

Closes #4284

Changes

...

Checklist

Check off the items that are completed or not relevant.

  • Impact on features

    • Checked copying a form
    • Checked import/export of a form
    • Config checks in the configuration overview admin page
    • Problem detection in the admin email digest is handled
  • Release management

    • I have labelled the PR as "needs-backport" accordingly
  • I have updated the translations assets (you do NOT need to provide translations)

    • Ran ./bin/makemessages_js.sh
    • Ran ./bin/compilemessages_js.sh
  • Commit hygiene

    • Commit messages refer to the relevant Github issue
    • Commit messages explain the "why" of change, not the how

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 35.13514% with 72 lines in your changes missing coverage. Please review.

Project coverage is 96.22%. Comparing base (e643c92) to head (179e277).
Report is 1866 commits behind head on master.

Files with missing lines Patch % Lines
src/openforms/emails/digest.py 28.00% 69 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4413      +/-   ##
==========================================
- Coverage   96.50%   96.22%   -0.29%     
==========================================
  Files         720      720              
  Lines       23845    23944      +99     
  Branches     2813     2835      +22     
==========================================
+ Hits        23012    23039      +27     
- Misses        565      634      +69     
- Partials      268      271       +3     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

DMN action checks are also logic rule checks, so the collector function
and context variables are renamed to better cover what they actually
detect.
Added explicit message parameter that can be accessed, instead of
having to rely on exc.args[0] which *could* be empty. Now you must
instantiate this exception with a message argument.

The message is still forwarded to the parent exception in case other
usages still rely on exc.args[0], but this will be refactored later.
Detect which DMN plugins are enabled and used in (live) forms, and
run the config check for them. If problems are detected, they will
be reported in the digest email.
@sergei-maertens sergei-maertens force-pushed the feature/4284-dmn-config-checks branch from 0b72d29 to 179e277 Compare June 27, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add DMN configuration checks

2 participants