Skip to content

Commit d4e218e

Browse files
ci: quote Khronos sample smoke step name (YAML colon-in-paren)
CI on commit 67c8827 failed at workflow-load time with: Invalid workflow file You have an error in your yaml syntax on line 331 Root cause: the Phase 1 Khronos sample step name I added in 67c8827 read - name: Run smoke benchmark (split: vision+framework, then enhanced_vision, VGA x 5 iters) The colon inside "(split:" is parsed by YAML 1.2 as a mapping key separator inside the otherwise-unquoted scalar, which fails the workflow-syntax check at run start. Every other step name in this file uses parentheses without an inner colon, so this is the only place that needed quoting. Fix: quote the step name and replace the inner colon with an em-dash to make the intent visually unambiguous: - name: "Run smoke benchmark (split - vision+framework, then enhanced_vision, VGA x 5 iters)" Added an inline comment noting why this one step name is quoted so a reviewer doesn't strip the quotes thinking they're cosmetic. Verified with python3 -c "import yaml; yaml.safe_load(...)" that the full workflow now loads cleanly. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 67c8827 commit d4e218e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,10 @@ jobs:
328328
# crashed, the merger silently skips its missing JSON. End
329329
# result: we ALWAYS get the vision+framework smoke data, and
330330
# we get enhanced_vision data when the sample impl cooperates.
331-
- name: Run smoke benchmark (split: vision+framework, then enhanced_vision, VGA × 5 iters)
331+
# Step name quoted because the `(split: ...)` parenthesised list
332+
# contains a colon, which YAML 1.2 would otherwise try to parse
333+
# as a mapping separator inside the unquoted scalar.
334+
- name: "Run smoke benchmark (split — vision+framework, then enhanced_vision, VGA × 5 iters)"
332335
continue-on-error: true
333336
run: |
334337
set -eo pipefail

0 commit comments

Comments
 (0)