Skip to content

ci: add dedicated Python and Rust integration pilot - #649

Merged
grazzolini merged 1 commit into
mainfrom
ci/cross-runtime-integration
Nov 23, 2026
Merged

grazzolini merged 1 commit into
mainfrom
ci/cross-runtime-integration

Conversation

@grazzolini

@grazzolini grazzolini commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

Run TuneForge’s Python and Rust result-sync matrix in a dedicated job on CI image candidates. The pilot validates the locked fixture environment and measures the cost of carrying it in the shared image.

Motivation

The ordinary Rust suite compiles the matrix and leaves it ignored. A dedicated job exercises Python and native persistence, apply, replay and the return path without adding backend setup to the Tauri job.

Refs #601

Changes

  • Run the exact ignored Rust library test and require all seven synthetic cases, including the 25- and 194-project rows and the verified native return.
  • Build and verify a CPython 3.14.7 fixture payload from the backend lock projection and the current native music-core binding.
  • Restore the exact Tauri Cargo cache in the integration job. Keep desktop_tauri as the sole writer and disable persistent uv caching in both Rust jobs.
  • Compare the shared image with a payload-free base plus a verified separate archive. A follow-up PR can promote the verified digest, activate routine path scope and remove the TODO after trusted main publication.

Testing

  • pnpm lint, pnpm typecheck, and pnpm test passed from the repository root. cargo check passed from apps/desktop/src-tauri.
  • The exact matrix ran with synthetic inputs and mocked inference. Local Linux AMD64 qualification exercised the shared and split payload layouts.
  • node --test --test-concurrency=1 scripts/ci-image-policy.test.mjs scripts/ci-scope-policy.test.mjs scripts/ci-cross-runtime.test.mjs scripts/verify-ci-image.test.mjs passed all 138 tests inside the final local AMD64 candidate.
  • The comparable local OCI exports were 609.30 MiB for the base and 785.45 MiB for the shared image. The separate payload archive was 172.27 MiB.

Hosted CI

Both runs passed exactly one named Rust test, all seven matrix cases, and the native return. The warm run reran only the integration job and used the same candidate artifact and image config. Cold job · Warm job

Integration job step Cold Warm
Actions archive download 14s 22s
Load and validate candidate 26s 25s
Verify image 6s 14s
Cargo cache Miss Exact hit
Cargo cache restore 0s 67s
Test-profile compilation 2m52s 16.37s
Matrix execution 122.39s 123.96s
Integration job wall time 6m17s 5m16s

The warm job restored the 2,295,123,687-byte Cargo cache saved by desktop_tauri. The first attempt used an 820,179,887-byte Actions archive across five consumers. All 11 CI jobs and CodeQL passed. The full CI run took 15m02s from the first job start to the last finish, with 43m16s of summed job time. Tauri finished last. Only the integration job ran again, so a full warm CI duration is unavailable. Full first attempt

The prior #648 main candidate took 14m55s with 35m59s of summed job time and used a 636,694,176-byte Actions archive across four consumers. Registry pull and hosted split-layout measurements are pending. Prior candidate

Checklist

  • Conventional Commit title
  • Local lint, typecheck, tests and Tauri compile
  • CI image input and publication documentation
  • Synthetic fixture data only

Run the result-sync matrix on candidate images with a locked Python payload.

Refs #601
@grazzolini
grazzolini marked this pull request as ready for review November 23, 2026 14:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T14:56:27.196968Z f4bdc53 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@grazzolini
grazzolini merged commit f03e639 into main Nov 23, 2026
29 checks passed
@grazzolini
grazzolini deleted the ci/cross-runtime-integration branch November 23, 2026 15:06
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