mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-22 23:52:25 +02:00
- Add LLM executor supporting OpenAI vision, tool calling, embeddings, and structured outputs - Introduce event emitter/receiver workflows with deduplication and filtering (generate_event functions) - Add workflow extends/override system enabling inheritance chains and step merge modes - Update function naming to snake_case across all testdata (fileExists→file_exists, etc.) - Add comprehensive test fixtures for linter, events, CDN, step dependencies, and extends workflows
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
name: all-errors
|
|
kind: module
|
|
description: A workflow with all types of lint errors for testing
|
|
tags: test,linter,errors
|
|
|
|
params:
|
|
- name: target
|
|
required: true
|
|
|
|
steps:
|
|
# Error: undefined-variable - Taget is misspelled
|
|
- name: undefined-var-step
|
|
type: bash
|
|
command: echo "{{Taget}}"
|
|
|
|
# Error: duplicate-step-name
|
|
- name: duplicate-step
|
|
type: bash
|
|
command: echo "first"
|
|
|
|
- name: duplicate-step
|
|
type: bash
|
|
command: echo "second duplicate"
|
|
|
|
# Error: empty-step - bash step with no command
|
|
- name: empty-bash-step
|
|
type: bash
|
|
|
|
# Error: invalid-goto - references non-existent step
|
|
- name: decision-step
|
|
type: bash
|
|
command: echo "decision"
|
|
decision:
|
|
switch: "{{target}}"
|
|
cases:
|
|
"skip":
|
|
goto: nonexistent-step
|
|
default:
|
|
goto: _end
|
|
|
|
# Error: invalid-depends-on - references non-existent step
|
|
- name: invalid-dep-step
|
|
type: bash
|
|
command: echo "depends"
|
|
depends_on:
|
|
- step-that-does-not-exist
|
|
|
|
# Error: circular-dependency - creates a cycle
|
|
- name: cycle-step-a
|
|
type: bash
|
|
command: echo "a"
|
|
depends_on:
|
|
- cycle-step-b
|
|
|
|
- name: cycle-step-b
|
|
type: bash
|
|
command: echo "b"
|
|
depends_on:
|
|
- cycle-step-a
|