Skip to content

panlint: store results of union#283

Merged
jrha merged 1 commit intoquattor:mainfrom
wpoely86:panlint2
Feb 20, 2026
Merged

panlint: store results of union#283
jrha merged 1 commit intoquattor:mainfrom
wpoely86:panlint2

Conversation

@wpoely86
Copy link
Copy Markdown
Member

@wpoely86 wpoely86 commented Feb 9, 2026

The code was not working

@wpoely86 wpoely86 requested a review from jrha February 9, 2026 11:31
@ned21
Copy link
Copy Markdown
Contributor

ned21 commented Feb 9, 2026

Can we have some more detail in the commit message please? I am particularly curious as to why this wasn't caught by the unit tests? Can we add one to check correct behaviour?

@wpoely86
Copy link
Copy Markdown
Member Author

wpoely86 commented Feb 9, 2026

Can we have some more detail in the commit message please? I am particularly curious as to why this wasn't caught by the unit tests? Can we add one to check correct behaviour?

Where should these tests run? 🙃

@wpoely86
Copy link
Copy Markdown
Member Author

wpoely86 commented Feb 9, 2026

Nevermind, found it.

There is no tests that uses that code. It directly tests with the subfunction.

Comment thread panc/src/main/scripts/panlint/panlint.py Outdated
@jrha
Copy link
Copy Markdown
Member

jrha commented Feb 11, 2026

Whoops, we should add at least a test_good_component.pan in panc/src/main/scripts/panlint/test_files/.

@ned21
Copy link
Copy Markdown
Contributor

ned21 commented Feb 12, 2026

Code is fine (I think, I defer to James). But the documentation (aka commit logs) could be improved :)

panlint: fix import
Not clear to me what is being "fixed" here, or rather what was broken. Can you describe what problem you observed to which this is the fix?

Also I think it would be efficient to merge the other 2 commits into 1 with a nice explanation.

The results of the union operations needs to be stored again.
@jrha jrha added the panlint label Feb 16, 2026
@jrha jrha added this to the 10.9 milestone Feb 16, 2026
@jrha jrha merged commit c405a6d into quattor:main Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants