Skip to content

Conversation

@helto4real
Copy link
Collaborator

Breaking change

Proposed change

Adds debug support for dynamic compiled apps.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the [development checklist][dev-checklist]
  • The code compiles without warnings (code quality chek)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2022

Codecov Report

Merging #637 (0dd6856) into dev (1dc8628) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #637      +/-   ##
==========================================
+ Coverage   80.13%   80.15%   +0.02%     
==========================================
  Files         111      111              
  Lines        2904     2898       -6     
  Branches      308      311       +3     
==========================================
- Hits         2327     2323       -4     
+ Misses        450      449       -1     
+ Partials      127      126       -1     
Flag Coverage Δ
unittests 80.15% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
...el/Common/Extensions/ServiceCollectionExtension.cs 93.33% <100.00%> (+0.09%) ⬆️
...odel/Internal/AssemblyResolver/AssemblyResolver.cs 100.00% <100.00%> (ø)
...emon.AppModel/Internal/Compiler/CompileSettings.cs 100.00% <100.00%> (ø)
...l/NetDaemon.AppModel/Internal/Compiler/Compiler.cs 98.66% <100.00%> (+0.07%) ⬆️
...mon.HassClient/Internal/HomeAssistantConnection.cs 88.57% <0.00%> (+1.90%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dc8628...0dd6856. Read the comment docs.

@helto4real helto4real force-pushed the include_integration_dynamic branch from c106d1c to ceedf0d Compare January 29, 2022 01:13
@helto4real
Copy link
Collaborator Author

@BeeHiveJava I could not sleep so I ended up and doing the refactorings I wanted to do. Basically removed the factory pattern for compiler since I can use Compiler as singleton. This was on my todo list. Rather get it done now.

Copy link
Contributor

@FrankBakkerNl FrankBakkerNl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With one suggestion

@helto4real helto4real merged commit 7794732 into dev Jan 29, 2022
@helto4real helto4real deleted the include_integration_dynamic branch January 29, 2022 08:43
Ikcelaks pushed a commit to Ikcelaks/netdaemon that referenced this pull request Dec 23, 2022
* Added integration extension to default host

* Add support to debug dynamically compiled programs

* Change name to CompileSetting
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.

5 participants