-
Notifications
You must be signed in to change notification settings - Fork 135
Fix Felix config for OS 3.31 #2506
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -726,6 +726,58 @@ | |||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||
| "Name": "Process: Logging", | ||||||||||||||||||||||||||||||||||||||||||
| "Fields": [ | ||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||
| "Group": "Process: Logging", | ||||||||||||||||||||||||||||||||||||||||||
| "GroupWithSortPrefix": "00 Process: Logging", | ||||||||||||||||||||||||||||||||||||||||||
| "NameConfigFile": "LogActionRateLimit", | ||||||||||||||||||||||||||||||||||||||||||
| "NameEnvVar": "FELIX_LogActionRateLimit", | ||||||||||||||||||||||||||||||||||||||||||
| "NameYAML": "logActionRateLimit", | ||||||||||||||||||||||||||||||||||||||||||
| "NameGoAPI": "LogActionRateLimit", | ||||||||||||||||||||||||||||||||||||||||||
| "StringSchema": "String matching regex `^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$`", | ||||||||||||||||||||||||||||||||||||||||||
| "StringSchemaHTML": "String matching regex <code>^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$</code>", | ||||||||||||||||||||||||||||||||||||||||||
| "StringDefault": "", | ||||||||||||||||||||||||||||||||||||||||||
| "ParsedDefault": "", | ||||||||||||||||||||||||||||||||||||||||||
| "ParsedDefaultJSON": "\"\"", | ||||||||||||||||||||||||||||||||||||||||||
| "ParsedType": "string", | ||||||||||||||||||||||||||||||||||||||||||
| "YAMLType": "string", | ||||||||||||||||||||||||||||||||||||||||||
| "YAMLSchema": "String matching the regular expression `^[1-9]\\d{0,3}/(?:second|minute|hour|day)$`.", | ||||||||||||||||||||||||||||||||||||||||||
| "YAMLEnumValues": null, | ||||||||||||||||||||||||||||||||||||||||||
| "YAMLSchemaHTML": "String matching the regular expression <code>^[1-9]\\d{0,3}/(?:second|minute|hour|day)$</code>.", | ||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+743
to
+745
|
||||||||||||||||||||||||||||||||||||||||||
| "YAMLSchema": "String matching the regular expression `^[1-9]\\d{0,3}/(?:second|minute|hour|day)$`.", | |
| "YAMLEnumValues": null, | |
| "YAMLSchemaHTML": "String matching the regular expression <code>^[1-9]\\d{0,3}/(?:second|minute|hour|day)$</code>.", | |
| "YAMLSchema": "String matching the regular expression `^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$`.", | |
| "YAMLEnumValues": null, | |
| "YAMLSchemaHTML": "String matching the regular expression <code>^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$</code>.", |
Copilot
AI
Feb 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The StringSchema and YAMLSchema specify a potentially confusing or incorrect range: Integer: [0,2^63-1], [9999,2^63-1]. This appears to list two ranges, but [9999,2^63-1] is a subset of [0,2^63-1]. This should likely be either just [0,2^63-1] if any value from 0 to the maximum is allowed, or [9999,2^63-1] if there's a minimum value of 9999. Please clarify the intended valid range for this parameter.
| "StringSchema": "Integer: [0,2^63-1], [9999,2^63-1]", | |
| "StringSchemaHTML": "Integer: [0,2<sup>63</sup>-1], [9999,2<sup>63</sup>-1]", | |
| "StringDefault": "5", | |
| "ParsedDefault": "5", | |
| "ParsedDefaultJSON": "5", | |
| "ParsedType": "int", | |
| "YAMLType": "integer", | |
| "YAMLSchema": "Integer: [0,2^63-1], [9999,2^63-1]", | |
| "YAMLEnumValues": null, | |
| "YAMLSchemaHTML": "Integer: [0,2<sup>63</sup>-1], [9999,2<sup>63</sup>-1]", | |
| "StringSchema": "Integer: [0,2^63-1]", | |
| "StringSchemaHTML": "Integer: [0,2<sup>63</sup>-1]", | |
| "StringDefault": "5", | |
| "ParsedDefault": "5", | |
| "ParsedDefaultJSON": "5", | |
| "ParsedType": "int", | |
| "YAMLType": "integer", | |
| "YAMLSchema": "Integer: [0,2^63-1]", | |
| "YAMLEnumValues": null, | |
| "YAMLSchemaHTML": "Integer: [0,2<sup>63</sup>-1]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The regex pattern in StringSchema and YAMLSchema fields are inconsistent for the LogActionRateLimit parameter. The StringSchema includes an optional empty match with
?at the end of the entire pattern:^([1-9]\\d{0,3}/(?:second|minute|hour|day))?$, while the YAMLSchema does not:^[1-9]\\d{0,3}/(?:second|minute|hour|day)$. This inconsistency means the StringSchema allows empty strings while YAMLSchema requires a value. Given that StringDefault and YAMLDefault are both empty strings, the schemas should match and both should allow empty values. The YAMLSchema should include the optional group with trailing?.