From 5c64d8d982e703d432f430bc9d7e965f319ee2c6 Mon Sep 17 00:00:00 2001 From: David Leong <116610336+leongdl@users.noreply.github.com> Date: Sat, 1 Aug 2026 19:36:13 -0700 Subject: [PATCH] test: Add a task parameter type case-insensitivity fixture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Template Schemas §2 makes job and task parameter type names case-insensitive when EXPR is enabled. The case was implemented for job parameter types only, so a task parameter spelled `type: int` was rejected. Both implementations have since merged the fix: openjd-rs #364 and openjd-model-for-python #350. The fixture runs as an ordinary conformance test rather than being parked. It covers the four task parameter types of §3.4.1 in mixed case. It fails on both lanes until those fixes are released, because the runner installs published artifacts: `pip install openjd-cli` resolves openjd-model 0.11.9, which predates #350, and `cargo install openjd-cli` resolves 0.1.14, which predates #364. Measured against both. Neither release is queued. Also drops the three fixtures this branch parked in proposed/, and that directory's README. They pinned int64 bounds in list elements and a range endpoint, all still failing in one or both implementations, and are better raised on their own once those bugs are fixed than carried here. Signed-off-by: David Leong <116610336+leongdl@users.noreply.github.com> --- ...4.1--task-param-type-case-insensitive.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 conformance-tests/2023-09/EXPR/job_templates/3.4.1--task-param-type-case-insensitive.yaml diff --git a/conformance-tests/2023-09/EXPR/job_templates/3.4.1--task-param-type-case-insensitive.yaml b/conformance-tests/2023-09/EXPR/job_templates/3.4.1--task-param-type-case-insensitive.yaml new file mode 100644 index 00000000..40fb2eb6 --- /dev/null +++ b/conformance-tests/2023-09/EXPR/job_templates/3.4.1--task-param-type-case-insensitive.yaml @@ -0,0 +1,30 @@ +# Template Schemas §2 makes task parameter type names case-insensitive when EXPR +# is enabled. This template demonstrates the four task parameter types of §3.4.1 +# spelled in mixed case, and must validate. +specificationVersion: jobtemplate-2023-09 +extensions: +- EXPR +name: TestJob +steps: +- name: Step1 + parameterSpace: + taskParameterDefinitions: + - name: Frame + type: int + range: "1-3" + - name: Scale + type: Float + range: ["1.0", "2.0"] + - name: Layer + type: sTrInG + range: ["fg", "bg"] + - name: Scene + type: pAtH + range: ["/tmp/a.blend", "/tmp/b.blend"] + script: + actions: + onRun: + command: python + args: + - "-c" + - "print()"