Skip to content

Fix potential crash with additional properties and multiple layers#603

Merged
jkloetzke merged 2 commits intoBobBuildTool:masterfrom
jkloetzke:fix-properties-crash
Dec 21, 2024
Merged

Fix potential crash with additional properties and multiple layers#603
jkloetzke merged 2 commits intoBobBuildTool:masterfrom
jkloetzke:fix-properties-crash

Conversation

@jkloetzke
Copy link
Copy Markdown
Member

No description provided.

Plugins might define new recipe/class keywords. Because recipes might
use classes from other layers, there could be a difference of the
additional keywords when the different layers are parsed. To prevent
inconsistencies, defer the parsing of recipes and classes until after
all plugins were loaded.

Previously Bob could crash when resolving the inherited classes.
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.85%. Comparing base (e794980) to head (bc8b9d8).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #603   +/-   ##
=======================================
  Coverage   88.85%   88.85%           
=======================================
  Files          48       48           
  Lines       15460    15463    +3     
=======================================
+ Hits        13737    13740    +3     
  Misses       1723     1723           

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

@jkloetzke jkloetzke merged commit d990c9c into BobBuildTool:master Dec 21, 2024
@jkloetzke jkloetzke deleted the fix-properties-crash branch December 21, 2024 22:11
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.

1 participant