fix: pre-seed Comfy.TutorialCompleted to skip template gallery in QA

The Codex agent was spending 35s browsing the "Getting Started" template
gallery instead of testing the PR's changes. Pre-seeding this setting
via the ComfyUI API ensures the agent lands directly in the graph editor.
This commit is contained in:
snomiao
2026-03-19 15:57:40 +00:00
parent 3b2fdc786a
commit 4f1df7c7ce

View File

@@ -111,6 +111,15 @@ jobs:
done
echo "::error::Server timeout"; exit 1
- name: Pre-seed settings to skip onboarding
shell: bash
run: |
# Mark tutorial as completed so the template gallery doesn't appear
curl -sf -X POST http://127.0.0.1:8188/api/settings \
-H 'Content-Type: application/json' \
-d '{"Comfy.TutorialCompleted": true}'
echo "Pre-seeded Comfy.TutorialCompleted=true"
- name: Install playwright-cli and Codex CLI
shell: bash
run: |