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

[IMP] runbot: qualify errors on selected field #1007

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

d-fence
Copy link
Contributor

@d-fence d-fence commented Dec 5, 2024

The previous qualifying implementation was only qualifying errors based on error content. With this commit the field on which the qualifying applies can be selected on a qualifying regex.

@C3POdoo C3POdoo requested a review from a team December 5, 2024 12:17
@d-fence d-fence force-pushed the 17.0-qualify-other-fields-moc branch from dfa75ed to 6199874 Compare December 5, 2024 12:25
@d-fence d-fence requested a review from Xavier-Do December 6, 2024 12:21
@d-fence d-fence force-pushed the 17.0-qualify-other-fields-moc branch from 6199874 to 3f34aad Compare December 23, 2024 09:46
@d-fence d-fence changed the base branch from 17.0 to 18.0 December 23, 2024 09:46
Copy link
Contributor

@Williambraecky Williambraecky left a comment

Choose a reason for hiding this comment

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

LGTM 👍
summary in build.error.content uses 80 characters while you are using 70 but it doesn't really matter much.

@d-fence
Copy link
Contributor Author

d-fence commented Feb 5, 2025

Finally another idea emerged by discussing with xdo.
The user should be able to choose multiple fields on which the regex apply.
The use case is to avoid having a too "weak" qualifier. e.g.: a wrong module is worst that no module at all.

The current qualifying implementation is based solely on error content.
With this commit the fields on which the regular expression will apply
can be choosen with checkboxes. It defaults to the `content` field.
@d-fence d-fence force-pushed the 17.0-qualify-other-fields-moc branch from 3f34aad to 8cf7b95 Compare February 7, 2025 08:23
@Xavier-Do Xavier-Do merged commit d6a77ce into 18.0 Feb 10, 2025
3 checks passed
@d-fence d-fence deleted the 17.0-qualify-other-fields-moc branch February 24, 2025 17:08
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.

None yet

3 participants