Skip to content

Ensure BIDS validator always uses latest version #139

Closed

Description

@neuromechanist

Problem

The BIDS validator runs via Deno using jsr:@bids/validator with no version pinning. While this theoretically fetches the latest, Deno caches modules after first download and won't auto-update unless the cache is explicitly reloaded.

Users could be running stale validator versions indefinitely without knowing.

Requirements

  • Add --reload flag to Deno invocations to force latest version fetch
  • Add a nemar validate --update or similar command to refresh the validator cache
  • Show the validator version being used during validation
  • Consider a periodic cache check (e.g., weekly) with user notification

Current Implementation

src/lib/bids-validator.ts uses deno run -ERWN jsr:@bids/validator which caches after first fetch. No --reload mechanism exists.

Acceptance Criteria

  • Validator always runs latest version (or user is informed when a newer version is available)
  • Minimal impact on validation speed for repeated runs

Activity

  1. added
    enhancement
    on Feb 13, 2026
  2. added 2 commits that reference this issue on Feb 13, 2026
    7a554fc
    d1fcfe2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions