Skip to content

concore validate passes workflows with invalid node/edge names or source paths that fail concore build #721

Done

Description

@Devansh-18155
  1. Align concore validate with mkconcore.py (safe_name / safe_relpath):
    • Reject empty node container names, spaces, /, and unsafe shell/control characters.
    • Reject traversal (..), absolute paths (/, ~), drive/: paths, and empty path segments in node source paths.
    • Reject spaces and unsafe shell/path characters in file-based and ZMQ edge labels.
  2. Fix extension & missing-file checks:
    • Include .sh in known node extensions and ensure missing source files are still checked even when an unusual extension warning is emitted.
  3. JSON output & tests:
    • Add --format json error classifications (invalid_node_container_name, unsafe_source_path, unsafe_edge_label) and unit tests covering all cases.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions