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

next/sv/653/20241202/v1 #2158

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

victorjulien
Copy link
Member

Only for 8.0 for now.

requires-fail: With the change to unknown requires statements treated as
not meeting requirements, update the rule to use an unknown keyword to
make it fail out.

This is to test an edge case from ticket #6710.

Ticket: #7403
@jufajardini
Copy link
Contributor

What about the comment here? #2133 (comment)

@jasonish
Copy link
Member

jasonish commented Dec 2, 2024

What about the comment here? #2133 (comment)

I think the test serves its purpose, just need a rule to fail loading. The previous way of relying on it to fail, use an unknown requires and a unknown action didn't cause it to fail with the new code, but be skipped. Its catching and edge cases during development were a skipped rule followed by a failed to load rule wasn't being caught properly.

@victorjulien victorjulien merged commit 5fe298c into OISF:master Dec 2, 2024
3 of 5 checks passed
@victorjulien victorjulien deleted the next/sv/653/20241202/v1 branch December 2, 2024 19:11
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