mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-23 06:40:23 -07:00
M01: Revert GITHUB_TOKEN (Repository not found). Document run analysis.
Made-with: Cursor
This commit is contained in:
parent
23575dc7d6
commit
f2db027b93
2 changed files with 56 additions and 2 deletions
2
.github/workflows/run_tests.yaml
vendored
2
.github/workflows/run_tests.yaml
vendored
|
|
@ -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 &
|
||||
|
|
|
|||
56
docs/milestones/M01/M01_run1.md
Normal file
56
docs/milestones/M01/M01_run1.md
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue