Skip to content

Release/native - #1

Merged
arunviswanathan91 merged 3 commits into
mainfrom
release/native
Nov 23, 2026
Merged

arunviswanathan91 merged 3 commits into
mainfrom
release/native

Conversation

@arunviswanathan91

Copy link
Copy Markdown
Owner

No description provided.

… static CRT, windowed, icon

release.yml builds, tests and checks rust/ and publishes StreamFLOW-<version>-win-x64.exe. A manual run is a dry run unless 'publish' is ticked; a v* tag publishes.
…ackages, smoke-test the package, seed render_plot draws
The four tests in sf-gating/tests/flowkit.rs read test-assests/ (gitignored), so they panicked on the runner and stopped build-rust and release before the exe was built. They now skip like every other fixture test; with the fixture present they run in full.
@github-actions

Copy link
Copy Markdown

Review: PR #1 (release/native)

Should fix

  • rust/smoke-test.ps1:18 — --screenshot=$shot is passed unquoted to Start-Process; a %TEMP% path with spaces is split into two args, so the PNG is never written and the check fails misleadingly. Use --screenshot="$shot".
  • rust/crates/sf-gating/tests/flowkit.rs:14-20,133,147,162,180 — all four FlowKit parity tests now return early when the gitignored fixture is absent (always in CI), so this suite silently contributes zero coverage. Check in a small synthetic FCS fixture, or use explicit #[ignore] with a reason rather than silent passes.
  • .github/workflows/build-rust.yml:17-20 — pull_request.paths omits build/icon.ico, streamflow-icon.png and the workflow itself, which push.paths includes; icon-only PRs skip the build that verifies the icon.
  • .github/workflows/release.yml:92-151 / app/package.ps1:171-178 — no workflow runs package.ps1 or app/smoke-test.ps1 anymore, so the new image smoke test never gates anything. Also -SkipSmoke still permits -Installer; fail that combination.
  • .github/workflows/build-java.yml:69 — CI installs unpinned top-level packages while the shipped engine uses requirements-lock.txt with --no-deps; CI no longer validates the shipped dependency set. Install with -r engine/requirements-lock.txt --no-deps.
  • engine/streamflow_engine.py:399 — int(a.get("seed", 12345)) raises on explicit null and np.random.RandomState rejects negative or ≥2³² seeds; sibling paths use default_rng. Normalize seed = int(v) if v is not None else 12345 and use one RNG style.

Medium

  • engine/stage-python.ps1:150 — fatal import check omits phenograph, flowsom, flowio, flowutils, pandas, which app/smoke-test.ps1:66-67 requires; align the lists.
  • rust/check-binary.ps1:28-40 — DLL check is a raw byte-string scan (false positives; misses ucrtbase.dll/api-ms-win-crt-*), and the "icon" check only asserts ProductName. Parse PE imports/resources or use dumpbin/a resource reader.
  • engine/stage-python.ps1:85-104,163 — CA bundle includes Cert:/CurrentUser/Root (broader than needed), PID-based temp files, and PIP_CERT/SSL_CERT_FILE are left pointing at a deleted file on every failure path. Prefer New-TemporaryFile, LocalMachine\Root (or an existing PIP_CERT), and finally cleanup.
  • app/package.ps1:122-128 — sweeps all streamflow-pkg-* temp trees (breaks concurrent builds) and ignores robocopy exit codes ≥8. Scope cleanup to $stageRoot and throw on copy failure.
  • rust/smoke-test.ps1:19-33 — the PNG leaks in TEMP on every failure path; wrap checks in try/finally.

Low

  • Stale engine/win-ca-bundle.pem, engine/export-win-ca.ps1 and .gitignore:38 remain after switching to a runtime bundle — remove them.
  • Java rAvailable() helpers (app/src/test/java/org/streamflow/bridge/AnalysisCommandTest.java:41-44 et al.) leak the probe process on timeout; call destroyForcibly().
  • build.rs:13 sets LegalCopyright to a license identifier rather than a copyright string (cosmetic).

Verified sound

Version/tag gate and input validation, CPython SHA pin, static CRT config, windowed subsystem, winresource auto-versioning (version check will pass), app-image-then-installer flow, and the capabilities/smoke-test protocol all check out.

github run

@arunviswanathan91
arunviswanathan91 merged commit 5fe59d1 into main Nov 23, 2026
10 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