diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 705d0a6dc..61d7ce134 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -52,8 +52,6 @@ jobs: TORCH_INDEX_URL: https://download.pytorch.org/whl/cpu WEBUI_LAUNCH_LIVE_OUTPUT: "1" PYTHONUNBUFFERED: "1" - STABLE_DIFFUSION_REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Stability-AI/stablediffusion.git - STABLE_DIFFUSION_XL_REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Stability-AI/generative-models.git - name: Smoke startup run: | python launch.py --skip-prepare-environment --skip-torch-cuda-test --test-server --do-not-download-clip --no-half --disable-opt-split-attention --use-cpu all --api-server-stop --port 7860 & diff --git a/docs/milestones/M01/M01_run1.md b/docs/milestones/M01/M01_run1.md new file mode 100644 index 000000000..cc234f1d0 --- /dev/null +++ b/docs/milestones/M01/M01_run1.md @@ -0,0 +1,56 @@ +# M01 CI Run 1 — Analysis + +**Date:** 2025-03-07 +**Branch:** m01-ci-truthfulness +**Trigger:** Initial M01 push (9b96c916) + +--- + +## 1. Workflow Identity + +| Workflow | Run ID | Trigger | Status | Duration | +|----------|--------|---------|--------|----------| +| Linter | 22809624913 | push | ✓ success | 18s | +| Tests | 22809624907 | push | ✗ failure | 47s | + +--- + +## 2. Failure: CLIP pkg_resources + +**Step:** Setup environment +**Error:** `ModuleNotFoundError: No module named 'pkg_resources'` during CLIP wheel build + +**Fix applied:** Add `--no-build-isolation` to clip pip install in `modules/launch_utils.py` (commit 9ae76265) + +--- + +## 3. Run 2 (9ae76265): CLIP fixed, new failure + +| Workflow | Run ID | Status | +|----------|--------|--------| +| Tests | 22809670597 | ✗ failure | + +**Step:** Setup environment (after CLIP) +**Error:** `fatal: could not read Username for 'https://github.com': No such device or address` when cloning `Stability-AI/stablediffusion` + +**Fix applied:** Add GITHUB_TOKEN to repo URLs, cache repositories (commit 23575dc7) + +--- + +## 4. Run 3 (23575dc7): GITHUB_TOKEN made it worse + +**Error:** `remote: Repository not found` — GITHUB_TOKEN is scoped to current repo, cannot access Stability-AI. + +**Reverted:** Token-based URLs. Using default URLs. + +--- + +## 5. Current Blocker + +Git clone of `Stability-AI/stablediffusion` fails: +- Without token: "could not read Username" (possible rate limit / credential helper) +- With token: "Repository not found" (token has no cross-org access) + +**Note:** M00 never reached this step (failed at CLIP). This is a newly discovered CI gap. May require: +- Repositories cache from successful run +- Or alternative repo source (e.g. mirror, submodule)