Skip to content

build: add the Darwin analysis runtime - #6

Draft
Rajioba1 wants to merge 39 commits into
easyCris-software:mainfrom
Rajioba1:macos/01-runtime
Draft

build: add the Darwin analysis runtime#6
Rajioba1 wants to merge 39 commits into
easyCris-software:mainfrom
Rajioba1:macos/01-runtime

Conversation

@Rajioba1

@Rajioba1 Rajioba1 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • adds the bundled macOS CPython analysis runtime with fail-closed installed-app resolution
  • preserves the existing Windows release and Nuitka paths
  • adds identical native Intel and Apple Silicon fast CI lanes under Node.js 24
  • adds protected dual-architecture runtime provisioning, staging, manifest validation, inside-out signing, strict signature verification, and post-sign backend/export execution
  • prevents bundled backend child processes from writing bytecode into the immutable runtime

Validation status

  • complete clean local Node.js 24 gates pass on frozen candidate b4dff3b
  • all 254 frontend test files pass: 3,418 tests passed with one existing skip
  • targeted private M1 stats and RNA-seq parity gates pass with zero skips (37 statistical metrics; 19 RNA-seq models and 95 metrics)
  • fresh local Intel provisioning, staging, unsigned app packaging, installed backend/export validation, and deterministic GSEApy dependency smoke pass with no development reuse
  • source, staged, and installed runtimes remain free of bytecode-cache directories after execution
  • public Windows, Intel macOS, and Apple Silicon CI: pending/current run
  • protected Intel and Apple Silicon packaged-runtime validation: starts only after public CI passes

Public scope

Private E2E sources, generated runtimes, provisioning logs, signing credentials, and compiled macOS backend artifacts are intentionally excluded. This PR remains draft until complete M1 closeout evidence, dual-architecture protected validation, and independent reviews are green on the same frozen SHA.

Rajioba1 added 29 commits August 1, 2026 19:13
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
macOS hardened builds select BackendMode::BundledRequired and launch
stats/rnaseq/plot via the Task 6 staged interpreter with -I -B -m after
a light manifest and module contract check. Dev/e2e stay Script; Windows
Compiled paths are unchanged; RNA-seq script fallback remains Compiled-only.

Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Keep the public macOS matrix on native Intel and arm runners, add
provisioner unit tests and BundledRequired Rust filters to the fast lane,
and tighten the privacy contract against release mutation.

Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Pin Node 24 across .nvmrc, package engines/devEngines, routine CI, and
the Windows release workflow so local and hosted toolchains match.

Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Add a protected dual-architecture validation workflow that provisions the
pinned Darwin runtime, stages and validates it, builds an ad-hoc app, signs
nested Mach-O inside-out, and re-validates installed backends without
touching private E2E or public release channels.

Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Use a macOS validation Tauri overlay that disables updater artifacts and
Windows PowerShell resources, run the public GSEApy dependency smoke on
staged and installed runtimes, and invoke the lockfile Tauri CLI.

Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
GitHub Actions only applies GITHUB_ENV to later steps, so the protected
validation sign step now exports APP_PATH in-shell and passes the path as
python argv before writing GITHUB_ENV for the installed-validate step.

Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
Signed-off-by: Rajioba1 <196587943+Rajioba1@users.noreply.github.com>
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