[PR #1371] [MERGED] fix: restore refactor app version metadata #5042

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1371
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte

Base: refactor ← Head: fix/refactor-issue-1367-version-metadata


📝 Commits (2)

  • 9cd23ad Fix refactor app version metadata
  • fc37d5c Align refactor runtime version constants

📊 Changes

6 files changed (+6 additions, -6 deletions)

View changed files

📝 package.json (+1 -1)
📝 src-tauri/Cargo.lock (+1 -1)
📝 src-tauri/Cargo.toml (+1 -1)
📝 src-tauri/crates/llm/src/lib.rs (+1 -1)
📝 src-tauri/tauri.conf.json (+1 -1)
📝 src/engine/contracts/constants/defaults.ts (+1 -1)

📄 Description

Linked issue

Closes #1367

Why this change

  • The refactor branch had app/package version fields reset to scaffold defaults (0.1.0), while the release/audit baseline for the current app identity is 1.6.1.
  • Keeping these fields downgraded can confuse app package identity, Tauri bundle identity, and release trust.

What changed

  • Restored the root package.json version to 1.6.1.
  • Restored the Tauri app bundle version in src-tauri/tauri.conf.json to 1.6.1.
  • Restored the root Tauri Rust package version in src-tauri/Cargo.toml to 1.6.1.
  • Refreshed the corresponding marinara-engine package entry in src-tauri/Cargo.lock.
  • Updated the UI APP_VERSION constant to 1.6.1 so the app renders the same version as package.json.
  • Updated the LLM request APP_VERSION constant to 1.6.1 so outbound version headers/user agent match the app version.

Refactor impact

Primary owner:

  • Release/app shell metadata

Impact areas reviewed:

  • Root package release metadata
  • Tauri app bundle version
  • Tauri Rust package metadata and lock metadata
  • Displayed app version
  • LLM request version headers/user agent

Boundary notes:

  • This PR intentionally does not change internal Rust crate package versions such as marinara-core; the scratch proof keeps src-tauri/crates/core/Cargo.toml at 0.1.0 as a should-not-match row.
  • No storage behavior, migration behavior, provider payload behavior, or UI flow behavior changed.

Pressure points touched:

  • Version truth only; no ModeSurface behavior, GameSurface behavior, shared mode UI flow, command registration, import modules, or remote runtime routing code touched.

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

  • Codex reproduced the issue with node scratch/issue-1367-version-check.mjs 1.6.1 0.1.0: before the fix, package.json, src-tauri/tauri.conf.json, and src-tauri/Cargo.toml reported 0.1.0 instead of 1.6.1.
  • Codex reran node scratch/issue-1367-version-check.mjs 1.6.1 0.1.0 after the CodeRabbit follow-up: all app/package/UI/header version rows passed, and the internal crate negative control remained 0.1.0.
  • Codex ran cargo check --manifest-path src-tauri/Cargo.toml --workspace; it passed and checked marinara-engine v1.6.1.
  • Codex ran pnpm check; it passed after pnpm install --frozen-lockfile installed already-locked dependencies in the clean worktree.
  • Codex ran node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch/bugfix-verification.json; it passed.
  • pnpm version:check was not run because the current refactor package.json has no version:check script.

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

No visual UI change. This is version-truth-only; the proof is command output from the version checker, Cargo, pnpm check, and the proof gate.


🔄 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/1371 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/26/2026 **Status:** ✅ Merged **Merged:** 5/26/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `fix/refactor-issue-1367-version-metadata` --- ### 📝 Commits (2) - [`9cd23ad`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9cd23adac0854eb24fc0f18dc002ac7cf94a6068) Fix refactor app version metadata - [`fc37d5c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fc37d5c27da00bbd35c1e9cd0b7e8be9a1282fc8) Align refactor runtime version constants ### 📊 Changes **6 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `src-tauri/Cargo.lock` (+1 -1) 📝 `src-tauri/Cargo.toml` (+1 -1) 📝 `src-tauri/crates/llm/src/lib.rs` (+1 -1) 📝 `src-tauri/tauri.conf.json` (+1 -1) 📝 `src/engine/contracts/constants/defaults.ts` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #1367 ## Why this change - The refactor branch had app/package version fields reset to scaffold defaults (`0.1.0`), while the release/audit baseline for the current app identity is `1.6.1`. - Keeping these fields downgraded can confuse app package identity, Tauri bundle identity, and release trust. ## What changed - Restored the root `package.json` version to `1.6.1`. - Restored the Tauri app bundle version in `src-tauri/tauri.conf.json` to `1.6.1`. - Restored the root Tauri Rust package version in `src-tauri/Cargo.toml` to `1.6.1`. - Refreshed the corresponding `marinara-engine` package entry in `src-tauri/Cargo.lock`. - Updated the UI `APP_VERSION` constant to `1.6.1` so the app renders the same version as `package.json`. - Updated the LLM request `APP_VERSION` constant to `1.6.1` so outbound version headers/user agent match the app version. ## Refactor impact Primary owner: - Release/app shell metadata Impact areas reviewed: - Root package release metadata - Tauri app bundle version - Tauri Rust package metadata and lock metadata - Displayed app version - LLM request version headers/user agent Boundary notes: - This PR intentionally does not change internal Rust crate package versions such as `marinara-core`; the scratch proof keeps `src-tauri/crates/core/Cargo.toml` at `0.1.0` as a should-not-match row. - No storage behavior, migration behavior, provider payload behavior, or UI flow behavior changed. Pressure points touched: - Version truth only; no ModeSurface behavior, GameSurface behavior, shared mode UI flow, command registration, import modules, or remote runtime routing code touched. ## 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 - Codex reproduced the issue with `node scratch/issue-1367-version-check.mjs 1.6.1 0.1.0`: before the fix, `package.json`, `src-tauri/tauri.conf.json`, and `src-tauri/Cargo.toml` reported `0.1.0` instead of `1.6.1`. - Codex reran `node scratch/issue-1367-version-check.mjs 1.6.1 0.1.0` after the CodeRabbit follow-up: all app/package/UI/header version rows passed, and the internal crate negative control remained `0.1.0`. - Codex ran `cargo check --manifest-path src-tauri/Cargo.toml --workspace`; it passed and checked `marinara-engine v1.6.1`. - Codex ran `pnpm check`; it passed after `pnpm install --frozen-lockfile` installed already-locked dependencies in the clean worktree. - Codex ran `node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch/bugfix-verification.json`; it passed. - `pnpm version:check` was not run because the current refactor `package.json` has no `version:check` script. ## 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 No visual UI change. This is version-truth-only; the proof is command output from the version checker, Cargo, `pnpm check`, and the proof gate. --- <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:43 +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#5042
No description provided.