Skip to content

M03 test architecture#17327

Closed
m-cahill wants to merge 51 commits intoAUTOMATIC1111:masterfrom
m-cahill:m03-test-architecture
Closed

M03 test architecture#17327
m-cahill wants to merge 51 commits intoAUTOMATIC1111:masterfrom
m-cahill:m03-test-architecture

Conversation

@m-cahill
Copy link

@m-cahill m-cahill commented Mar 8, 2026

Description

  • a simple description of what you're trying to accomplish
  • a summary of changes in code
  • which issues it fixes, if any

Screenshots/videos:

Checklist:

m-cahill added 30 commits March 6, 2026 19:17
- docs/serena.md: Living ledger, phase map, invariants, milestone table
- docs/milestones/M00/: M00_plan, preflight, e2e_baseline, ci_inventory, toolcalls
- scripts/dev/: run_m00_baseline_e2e.ps1, .sh (thin verification helpers)
- Baseline tag baseline-pre-refactor created on 82a973c

No runtime/structural changes. Behavior-preserving docs and verification only.

Made-with: Cursor
- Add Invariant Registry and Serena Refactor Principles to serena.md
- Create M00_run1.md, M00_summary.md, M00_audit.md
- Update milestone ledger: M00 Completed
- Document CI evidence (Linter pass; Tests fail pre-existing)

Made-with: Cursor
…irmation

- Update ledger with CI run IDs 22794525690 (Linter ✓), 22794525698 (Tests ✗)
- Refresh M00_summary.md and M00_audit.md per governance closeout
- Add M00_run2.md (latest CI analysis)

Made-with: Cursor
- Remove same-repo PR skip condition (CI runs on all PRs)
- Install setuptools before env setup; add --do-not-download-clip
- Add pip-audit (non-blocking) before environment setup
- Add smoke startup step (verify app boots before full tests)
- Add --cov-fail-under=60 coverage threshold
- Pin GitHub Actions to commit SHAs
- Add .gitattributes for CRLF/LF normalization
- Add M01 plan and toolcalls ledger

Made-with: Cursor
Fixes pkg_resources in pip's isolated build env. Build-time fix only.

Made-with: Cursor
CLIP fix worked. Git clone of Stability-AI fails without auth.
Add token-based URLs for Stability-AI repos.

Made-with: Cursor
- Add --exit handling when --skip-prepare-environment (launch.py)
- Setup: python launch.py --skip-prepare-environment --skip-torch-cuda-test --exit
- Smoke: python launch.py --skip-prepare-environment --skip-torch-cuda-test --test-server --use-cpu all --exit

CI no longer depends on external git clones. Requires repositories cache to be seeded.

Made-with: Cursor
Fixes ModuleNotFoundError: torch when using --skip-prepare-environment.
Repositories still required from cache for paths.py.

Made-with: Cursor
- Create scripts/dev/create_stub_repos.py to satisfy paths.py assertion
  and import chain without cloning external repos
- Add Create stub repositories step before Setup environment in run_tests
- Remove Cache repositories step (stubs are deterministic, no network)

Made-with: Cursor
…onditioner stubs; M01_run3 and M01_summary

Made-with: Cursor
…Denoiser, BrownianTreeNoiseSampler, trange)

Made-with: Cursor
m-cahill added 21 commits March 7, 2026 18:59
@m-cahill m-cahill requested a review from AUTOMATIC1111 as a code owner March 8, 2026 23:46
@m-cahill m-cahill closed this Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant