Skip to content
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

Capture and report CDS compilation errors #162

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

lcartey
Copy link
Contributor

@lcartey lcartey commented Nov 28, 2024

Compilation failures in CDS files were previously considered fatal. However, we have seen CAP projects which have old or unused CDS files, where it would be undesirable to block the whole analysis.

This PR therefore makes a compilation failure in CDS non-fatal, instead capturing and reporting the error via the diagnostics for CodeQL, which will ultimately appear on the tool status page in GitHub, e.g.:

image

This makes a compilation failure in CDS non-fatal, instead capturing
and reporting the error via the tool status page in GitHub.
@lcartey lcartey requested a review from jeongsoolee09 December 2, 2024 11:45
@jeongsoolee09
Copy link
Contributor

LGTM!

@lcartey lcartey merged commit 5dec654 into main Dec 3, 2024
5 checks passed
@lcartey lcartey deleted the lcartey/capture-and-report-compilation-errors branch December 3, 2024 13:18
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.

2 participants