[PR #46] [MERGED] feat: show running build commit in update panel #4416

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/46
Author: @TheLonelyDevil9
Created: 4/2/2026
Status: ✅ Merged
Merged: 4/2/2026
Merged by: @TheLonelyDevil9

Base: main ← Head: pr/show-build-commit-in-updater


📝 Commits (1)

  • 8cfaca3 feat: show running build commit in update panel

📊 Changes

4 files changed (+98 additions, -11 deletions)

View changed files

📝 packages/client/src/components/panels/SettingsPanel.tsx (+23 -6)
📝 packages/server/src/app.ts (+11 -5)
➕ packages/server/src/config/build-info.ts (+55 -0)
📝 packages/server/src/routes/updates.routes.ts (+9 -0)

📄 Description

Summary

  • show the exact running build in Advanced > Check for Updates
  • expose build metadata from the server health and update endpoints
  • include the current commit hash in the in-app version label when available

Why

Support and bug triage currently have to infer whether a user is on an old release, a newer commit on top of a release tag, or a local git checkout. That creates ambiguity when diagnosing regressions like the recent disappearing-message reports.

This change makes the running build visible in-app as X.Y.Z+, so maintainers can immediately tell which code the user is actually running. The core objective is faster, more accurate issue diagnosis without asking users to open a terminal or inspect git manually.

Testing

  • ran pnpm check successfully
  • verified the updates panel renders the running build label from /api/health and /api/updates/check
  • verified the label falls back to the release version when no commit metadata is available

🔄 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/46 **Author:** [@TheLonelyDevil9](https://github.com/TheLonelyDevil9) **Created:** 4/2/2026 **Status:** ✅ Merged **Merged:** 4/2/2026 **Merged by:** [@TheLonelyDevil9](https://github.com/TheLonelyDevil9) **Base:** `main` ← **Head:** `pr/show-build-commit-in-updater` --- ### 📝 Commits (1) - [`8cfaca3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8cfaca34a21f741ee4322dff9835d6f7312d32ea) feat: show running build commit in update panel ### 📊 Changes **4 files changed** (+98 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+23 -6) 📝 `packages/server/src/app.ts` (+11 -5) ➕ `packages/server/src/config/build-info.ts` (+55 -0) 📝 `packages/server/src/routes/updates.routes.ts` (+9 -0) </details> ### 📄 Description ## Summary - show the exact running build in Advanced > Check for Updates - expose build metadata from the server health and update endpoints - include the current commit hash in the in-app version label when available ## Why Support and bug triage currently have to infer whether a user is on an old release, a newer commit on top of a release tag, or a local git checkout. That creates ambiguity when diagnosing regressions like the recent disappearing-message reports. This change makes the running build visible in-app as X.Y.Z+<commit>, so maintainers can immediately tell which code the user is actually running. The core objective is faster, more accurate issue diagnosis without asking users to open a terminal or inspect git manually. ## Testing - ran pnpm check successfully - verified the updates panel renders the running build label from /api/health and /api/updates/check - verified the label falls back to the release version when no commit metadata is available --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:25 +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#4416
No description provided.