-
Notifications
You must be signed in to change notification settings - Fork 51
SchemaError: '^[^\\/~\\^\\: \\[\\]\\\\]+(\\/[^\\/~\\^\\: \\[\\]\\\\]+)*$' is not a 'regex' #550
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
Comments
the problem uses the wrong validator, azure can't use so with CLI use |
Sorry I wasn't able to reply earlier; I see that you've been working through this in the past few days. I think this raises some questions for me about how I document changes, rather than what is or is not supported. This was known to me as the In #511 I implemented the new regex mode and customized the Azure hook defined in the hook catalog to use Changes like the one in v0.31.0 are the reason that |
I think that the challenge is that the default configuration does not work, as a user would expect that using any builtin schema would work with default parsing but for Azure, it does not and the error does not help, so maybe wrap the error and if you use default and Azure tell the user he needs to use this |
I understand what you're saying, but I have a slightly different take. What you're requesting sounds to me like a reshaping of the CLI -- one which I'm fundamentally onboard with, but want to pursue via a different path. Right now, no option implies another -- if you pass Suppose one of the schemas and files targeted require an additional accommodation. To get slightly silly about it, imagine a usage
I agree that we want a simple CLI usage which matches the relevant hook. I need to get back to working on
That gives some pretty clear semantics and doesn't force us to document that, for example " We can do this with |
I think wrapping this error with a suggestion to use another |
I don't think wrapping or replacing the error is simple to do in a way which isn't breaking/wrong for some other use-case. This is a format validation failure ( I agree that |
I think I can help / add it :) |
Hello, recently we started to see the following validation error on workflows that are running correctly
with the latest release
0.31.3
and the schema is https://github.com/Lightning-AI/torchmetrics/blob/master/.azure/gpu-integrations.ymlref: https://github.com/Lightning-AI/torchmetrics/actions/runs/14233511381/job/39888573782?pr=3038
The text was updated successfully, but these errors were encountered: