[PR #1377] [MERGED] Add pre-alpha platform build workflow #5046

Closed
opened 2026-10-22 04:12:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1377
Author: @ghost
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @undefined

Base: refactor ← Head: ci/prealpha-platform-builds


📝 Commits (2)

  • e79dc75 Add pre-alpha platform build workflow
  • 91db41f Scope pre-alpha workflow permissions

📊 Changes

5 files changed (+436 additions, -5 deletions)

View changed files

➕ .github/workflows/prealpha-platform-builds.yml (+335 -0)
📝 docs/developer/run-build.html (+69 -0)
📝 src-tauri/gen/android/app/build.gradle.kts (+10 -2)
📝 src-tauri/gen/android/app/src/main/AndroidManifest.xml (+3 -3)
➕ src-tauri/tauri.prealpha.conf.json (+19 -0)

📄 Description

Linked issue

Closes #1368
Closes #1369

Why this change

  • Adds a manual-only pre-alpha build channel for refactor branch testing across supported desktop platforms and Android without changing main, stable releases, or latest release behavior.
  • Documents the desktop/mobile distribution decision matrix requested by the audit issues.

What changed

  • Added .github/workflows/prealpha-platform-builds.yml for manual workflow_dispatch pre-alpha builds.
  • Guarded the workflow so it only runs from refactor.
  • Builds Windows x64, Linux x64, macOS x64, macOS Apple Silicon, and Android debug APK artifacts.
  • Publishes artifacts to a GitHub pre-release with make_latest: false and explicit pre-alpha warnings.
  • Uses stable tauri-apps/tauri-action@v0 for desktop builds and a manual Tauri Android debug APK build for Android.
  • Added src-tauri/tauri.prealpha.conf.json for a separate pre-alpha app name/window title/desktop identifier.
  • Added Android CI app-name/application-id overrides for pre-alpha debug builds.
  • Updated docs/developer/run-build.html with the pre-alpha desktop/mobile distribution matrix.

Refactor impact

Primary owner:

  • CI/release distribution, Tauri Android scaffold, developer docs

Impact areas reviewed:

  • GitHub Actions release behavior
  • Tauri desktop bundle config
  • Tauri Android generated Gradle/manifest config
  • Developer run/build docs

Boundary notes:

  • No React feature, engine, shared API, or remote-runtime behavior changed.
  • Android generated files are touched only to make CI-set pre-alpha app identity possible.
  • Stable updater metadata is intentionally not generated for these pre-alpha builds.

Pressure points touched:

  • GitHub release creation/upload flow
  • Tauri desktop build matrix
  • Android debug APK build path

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Parsed .github/workflows/prealpha-platform-builds.yml with PyYAML.
  • Parsed src-tauri/tauri.prealpha.conf.json as JSON.
  • Ran git diff --check.
  • Did not run the actual GitHub-hosted platform builds locally; the first manual workflow dispatch on refactor should validate runner-specific packaging.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

N/A — CI/distribution/docs only.

Summary by CodeRabbit

  • New Features

    • Pre-alpha platform builds and releases are now available for Windows, Linux, macOS, and Android platforms.
  • Documentation

    • Added guide for manual pre-alpha platform builds with information on deployment targets.
  • Chores

    • Added automation and configuration infrastructure for pre-alpha builds.

Review Change Stack


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1377 **Author:** [@ghost](https://github.com/ghost) **Created:** 5/27/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@undefined](undefined) **Base:** `refactor` ← **Head:** `ci/prealpha-platform-builds` --- ### 📝 Commits (2) - [`e79dc75`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e79dc752339bfc8c71f61fadfca79e77ef06c0fa) Add pre-alpha platform build workflow - [`91db41f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/91db41f6875497674683d1b3e8dc74cc74b11dab) Scope pre-alpha workflow permissions ### 📊 Changes **5 files changed** (+436 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/prealpha-platform-builds.yml` (+335 -0) 📝 `docs/developer/run-build.html` (+69 -0) 📝 `src-tauri/gen/android/app/build.gradle.kts` (+10 -2) 📝 `src-tauri/gen/android/app/src/main/AndroidManifest.xml` (+3 -3) ➕ `src-tauri/tauri.prealpha.conf.json` (+19 -0) </details> ### 📄 Description ## Linked issue Closes #1368 Closes #1369 ## Why this change - Adds a manual-only pre-alpha build channel for refactor branch testing across supported desktop platforms and Android without changing `main`, stable releases, or latest release behavior. - Documents the desktop/mobile distribution decision matrix requested by the audit issues. ## What changed - Added `.github/workflows/prealpha-platform-builds.yml` for manual `workflow_dispatch` pre-alpha builds. - Guarded the workflow so it only runs from `refactor`. - Builds Windows x64, Linux x64, macOS x64, macOS Apple Silicon, and Android debug APK artifacts. - Publishes artifacts to a GitHub pre-release with `make_latest: false` and explicit pre-alpha warnings. - Uses stable `tauri-apps/tauri-action@v0` for desktop builds and a manual Tauri Android debug APK build for Android. - Added `src-tauri/tauri.prealpha.conf.json` for a separate pre-alpha app name/window title/desktop identifier. - Added Android CI app-name/application-id overrides for pre-alpha debug builds. - Updated `docs/developer/run-build.html` with the pre-alpha desktop/mobile distribution matrix. ## Refactor impact Primary owner: - CI/release distribution, Tauri Android scaffold, developer docs Impact areas reviewed: - GitHub Actions release behavior - Tauri desktop bundle config - Tauri Android generated Gradle/manifest config - Developer run/build docs Boundary notes: - No React feature, engine, shared API, or remote-runtime behavior changed. - Android generated files are touched only to make CI-set pre-alpha app identity possible. - Stable updater metadata is intentionally not generated for these pre-alpha builds. Pressure points touched: - GitHub release creation/upload flow - Tauri desktop build matrix - Android debug APK build path ## Validation - [ ] `pnpm check` passes locally - [x] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [x] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Parsed `.github/workflows/prealpha-platform-builds.yml` with PyYAML. - Parsed `src-tauri/tauri.prealpha.conf.json` as JSON. - Ran `git diff --check`. - Did not run the actual GitHub-hosted platform builds locally; the first manual workflow dispatch on `refactor` should validate runner-specific packaging. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [x] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence N/A — CI/distribution/docs only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Pre-alpha platform builds and releases are now available for Windows, Linux, macOS, and Android platforms. * **Documentation** * Added guide for manual pre-alpha platform builds with information on deployment targets. * **Chores** * Added automation and configuration infrastructure for pre-alpha builds. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/1377?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:12:46 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5046
No description provided.