Skip to content

Concourse extension doesn't know about "check_every: never" for a resource #816

Closed

Description

@guillaumBrisard

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)

The documentation about check_every for resource: https://concourse-ci.org/resources.html#schema.resource.check_every

Activity

  1. 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
  2. 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
  3. added
    for: eclipse
    for: vscode
    and removed on Aug 20, 2022
  4. added this to the 4.16.0.RELEASE milestone on Aug 20, 2022
  5. kdvolder commented on Aug 23, 2022

    @kdvolder
    Member

    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.

  6. kdvolder commented on Aug 23, 2022

    @kdvolder
    Member

    Fix pushed: cfa1aa7

  7. kdvolder commented on Aug 23, 2022

    @kdvolder
    Member

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodestatus: needs-investigationtheme: concourse-supporttype: bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions