You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Concourse extension doesn't know about "check_every: never" for a resource #816
check_every: never is not recognize for a resource
The extension wrongly reports
'never' is not a valid 'Duration'. A duration string is a sequence of decimal numbers, each with optional fraction and a unit suffix, such as '300ms', '1.5h' or '2h45m'. Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'.vscode-concourse(YamlSchemaProblem)
changed the title [-]Concourse extension doesn't know about check_every: never[/-][+]Concourse extension doesn't know about check_every: never for a resource[/+]on Aug 18, 2022
changed the title [-]Concourse extension doesn't know about check_every: never for a resource[/-][+]Concourse extension doesn't know about "check_every: never" for a resource[/+]on Aug 18, 2022
Indeed, the way it is implemented is that it just checks syntax for a 'Duration', it doesn't allow for the never value. It should be an easy thing to fix.
I've confirmed the fix with latest vscode vsxi snapshot build. It can be downloaded from this page if you want to try it (or if you just want early access to the fix before the next release).
Activity
[-]Concourse extension doesn't know about check_every: never[/-][+]Concourse extension doesn't know about check_every: never for a resource[/+][-]Concourse extension doesn't know about check_every: never for a resource[/-][+]Concourse extension doesn't know about "check_every: never" for a resource[/+]kdvolder commentedon Aug 23, 2022
Indeed, the way it is implemented is that it just checks syntax for a 'Duration', it doesn't allow for the
nevervalue. It should be an easy thing to fix.kdvolder commentedon Aug 23, 2022
Fix pushed: cfa1aa7
kdvolder commentedon Aug 23, 2022
I've confirmed the fix with latest vscode vsxi snapshot build. It can be downloaded from this page if you want to try it (or if you just want early access to the fix before the next release).
https://dist.springsource.com/snapshot/STS4/nightly-distributions.html