Skip to content

ENT-10184: Top down evaluation #5834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

victormlg
Copy link
Contributor

No description provided.

@victormlg victormlg force-pushed the top-down-evaluation branch from 51e4721 to c255477 Compare July 1, 2025 15:03
@victormlg victormlg force-pushed the top-down-evaluation branch 4 times, most recently from eccfbbf to 29b776d Compare July 2, 2025 14:13
@victormlg victormlg force-pushed the top-down-evaluation branch 4 times, most recently from a66b123 to 5038b0c Compare July 2, 2025 15:16
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@victormlg victormlg force-pushed the top-down-evaluation branch from a76ce54 to 1f0e9b7 Compare July 3, 2025 11:23
@victormlg victormlg force-pushed the top-down-evaluation branch from 1f0e9b7 to b1b9bad Compare July 3, 2025 12:10
@victormlg victormlg force-pushed the top-down-evaluation branch 3 times, most recently from f9a9ac0 to 599311a Compare July 3, 2025 12:35
Ticket: ENT-10184
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@victormlg victormlg force-pushed the top-down-evaluation branch from 599311a to 797bed8 Compare July 3, 2025 12:45
@@ -1452,6 +1454,7 @@
}

SeqAppend(section->promises, pp);
SeqAppend(section->parent_bundle->all_promises, pp);

Check notice

Code scanning / CodeQL

Pointer argument is dereferenced without checking for NULL Note

Parameter section in BundleSectionAppendPromise() is dereferenced without an explicit null-check
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@victormlg victormlg marked this pull request as ready for review July 3, 2025 14:59
@victormlg victormlg requested a review from olehermanse July 3, 2025 15:05
Copy link
Member

@olehermanse olehermanse left a comment

Choose a reason for hiding this comment

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

Looks good so far, please add some examples and tests so we can discuss and experiment with how it works :)

elif self._validator_attributes[name]["typing"] is int:
try:
replacements[name] = int(value)
except ValueError:

Check notice

Code scanning / CodeQL

Empty except Note test

'except' clause does nothing but pass and there is no explanatory comment.
@victormlg victormlg force-pushed the top-down-evaluation branch 2 times, most recently from fd5b98b to cd37f33 Compare July 14, 2025 13:26
Signed-off-by: Victor Moene <victor.moene@northern.tech>
Signed-off-by: Victor Moene <victor.moene@northern.tech>
@victormlg victormlg force-pushed the top-down-evaluation branch from cd37f33 to 1dcceca Compare July 15, 2025 09:37
@victormlg
Copy link
Contributor Author

@cf-bottom jenkins, please :)

@cf-bottom
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants