Skip to content

Maintain CI: core pipeline job, layering guard, Electron fetch - #2

Merged
Escap1ng merged 2 commits into
mainfrom
qoder/simplify-core
Nov 25, 2026
Merged

Escap1ng merged 2 commits into
mainfrom
qoder/simplify-core

Conversation

@Escap1ng

Copy link
Copy Markdown
Owner

Follow-up to #1 (merged). The merge-time CI on main failed because the window-smoke job assumed npm ci downloads the Electron binary; it does not in this environment.

Changes

  • Fetch the Electron binary explicitly (node node_modules/electron/install.js, 3 retries) before fixing the SUID sandbox and running the window smoke.
  • New core-pipeline ubuntu job: installs numpy/matplotlib + xelatex/pandoc, runs python modeling/cli.py run offline end to end, and asserts result.json / figure.png / paper.pdf / paper.docx.
  • Layering guard: fail if any gateway/src module imports mms_modeling.
  • Per-job timeouts and npm caching.

Verification

  • Local: typecheck/build, window smoke 12/12, offline CLI + GUI full chain, real DeepSeek end-to-end.
  • This PR's CI exercises the new jobs on ubuntu/windows.

npm ci does not download the Electron dist in this environment, so the
sandbox-fix step failed on a missing chrome-sandbox; run install.js with
retries like the previous workflow did
- New ubuntu job installs numpy/matplotlib plus xelatex/pandoc and runs the
  offline pipeline end to end, asserting result.json, figure and PDF/DOCX
- Guard the layering rule: gateway must not import modeling
- Fetch the Electron binary explicitly with retries before the window smoke
- Add per-job timeouts and npm caching
@Escap1ng
Escap1ng merged commit e7462e8 into main Nov 25, 2026
4 checks passed
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