Skip to content

Fix : validate name parity - #722

Merged
pradeeban merged 1 commit into
ControlCore-Project:devfrom
Devansh-18155:fix/validate-name-parity
Nov 29, 2026
Merged

pradeeban merged 1 commit into
ControlCore-Project:devfrom
Devansh-18155:fix/validate-name-parity

Conversation

@Devansh-18155

Copy link
Copy Markdown

Closes #721

Aligns concore validate with mkconcore build rules so invalid workflows are caught during validation before build fails:

  • Reject empty container names, spaces, slashes, and unsafe shell or control characters in node container names.
  • Reject path traversal (..), absolute paths, drive or colon paths, and empty path segments in node source paths.
  • Reject spaces and unsafe shell or path characters in file-based and ZMQ edge labels.
  • Recognize .sh as a valid extension and still check for missing source files when an unusual extension warning is emitted.
  • Add JSON format error types and unit tests for these checks.

@Devansh-18155
Devansh-18155 changed the base branch from main to dev November 28, 2026 06:49
@Devansh-18155 Devansh-18155 reopened this Nov 28, 2026
@Devansh-18155 Devansh-18155 changed the title Fix/validate name parity Fix : validate name parity Nov 28, 2026
@Devansh-18155

Copy link
Copy Markdown
Author

The package CI failure is the pre existing lxml 6.2.0 yEd label issue addressed in #720, unrelated to the validate.py changes here. Once the #720 is merged we can re run thr pr checks

@pradeeban
pradeeban merged commit 3cabb66 into ControlCore-Project:dev Nov 29, 2026
25 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants