Skip to content

ci: trim corpus LFS matrix + M2-03 nightly tiers (#20) - #147

Merged
DrunkOnJava merged 1 commit into
mainfrom
cursor/ci-speed-corpus-matrix-67f9
Aug 29, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
cursor/ci-speed-corpus-matrix-67f9

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Unblocked CI hardening after ElementId archaeology closed negative:

  1. Faster PR matrix — Autodesk LFS + corpus integration tests only on ubuntu-stable and windows-stable (Windows keeps the CFB path-separator regression). macOS + MSRV run lib/bins/doc only.
  2. Python wheels — fetch phi-ag LFS on Linux only; macOS/Windows still build/install the wheel and run always-on pytest (corpus tests skip).
  3. Deploy viewer — drop unused phi-ag clone; tier1 demos stage from in-repo corpus/tier1/ + gen-fixture. Keep magnetar for RVT_VIEWER_SAMPLE.
  4. M2-03 nightly — new .github/workflows/corpus-nightly.yml widens Tier 2, re-runs Tier 3 IFC validation, and runs Tier 4 family corpus + cargo bench --no-run. TODO.md marks M2-03 shipped.

Expected wall-clock win: two fewer multi-hundred-MB LFS clones on every PR (macOS test + MSRV) plus two fewer on Python macOS/Windows, and one fewer on every viewer deploy.

Test plan

  • YAML parse of ci.yml, deploy-viewer.yml, corpus-nightly.yml
  • CI green on this PR (matrix cells with with_corpus: false skip LFS steps)
  • Manual workflow_dispatch of Corpus nightly after merge (optional smoke)

Note

Low Risk
Changes are CI/workflow and documentation only; no application parsing or export logic. Slightly less per-PR corpus coverage on macOS/MSRV, with nightly and Ubuntu/Windows PR jobs retaining regression gates.

Overview
PR CI no longer clones the large Autodesk phi-ag/rvt LFS corpus on every matrix cell. The test job uses a with_corpus flag so Ubuntu and Windows stable still fetch samples and run field_type_coverage, samples, and ifc_roundtrip; macOS stable and MSRV (1.85) only build and run lib/bins/doc tests. Python wheel jobs fetch phi-ag LFS on Linux only; macOS/Windows wheels still build and run tier-1 pytest while corpus-dependent tests skip without the clone.

Deploy viewer drops the unused phi-ag checkout; demos stage from in-repo tier1 / gen-fixture, with magnetar kept for the optional real-project Playwright path.

New workflow .github/workflows/corpus-nightly.yml (schedule + workflow_dispatch) runs wider Tier 2 (RVT_CORPUS_TIER2_LIMIT: 32), Tier 3 IFC validation (IfcOpenShell + validate-real-ifc.py), and Tier 4 family corpus tests plus cargo bench --no-run. TODO.md records M2-03 as shipped.

Reviewed by Cursor Bugbot for commit 1b974b0. Configure here.

Skip Autodesk LFS on macOS and MSRV cargo-test cells; keep ubuntu +
windows for path-separator coverage. Fetch phi-ag for Python wheels on
Linux only. Drop the unused phi-ag clone from deploy-viewer (tier1
demos are in-repo). Add corpus-nightly.yml for wider Tier 2 / Tier 3
export / Tier 4 family+bench, and mark M2-03 shipped in TODO.md.

Co-authored-by: DrunkOnJava <[email protected]>
@DrunkOnJava
DrunkOnJava merged commit 4cf17a2 into main Aug 29, 2026
24 checks passed
@DrunkOnJava
DrunkOnJava deleted the cursor/ci-speed-corpus-matrix-67f9 branch August 29, 2026 15:02
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
Unblocked CI hardening: faster PR matrix (corpus only on ubuntu/windows-stable), Python LFS on Linux only, deploy-viewer without unused phi-ag clone, and corpus-nightly workflow for M2-03 tiers. Closes #20.
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.

2 participants