Display repository commit count as the Synapsis version

Hop-State: A_06FP98T1AFPC938R80XJ3J0
Hop-Proposal: R_06FP98S721MFZV1BVBVDTK8
Hop-Task: T_06FP98D0VF530A9XJ2HHHWR
Hop-Attempt: AT_06FP98D0VFKNWCN4EJD46YR
This commit is contained in:
2026-07-15 00:17:28 -07:00
committed by Hop
parent 67bd0d0bbb
commit c17b27b240
6 changed files with 48 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ The installer creates:
- Service: `synapsis.service`
- Mandatory update timer: `synapsis-update.timer`
Every node checks `origin/main` about once per minute. When a new commit is available, Synapsis fast-forwards the checkout, replaces the single `backups/latest` database snapshot, installs dependencies, runs migrations, builds, and restarts automatically. The currently deployed commit is shown in the Network Info card and exposed by `/api/version`.
Every node checks `origin/main` about once per minute. When a new commit is available, Synapsis fast-forwards the checkout, replaces the single `backups/latest` database snapshot, installs dependencies, runs migrations, builds, and restarts automatically. The repository commit count is shown in the Network Info card; `/api/version` exposes both that number and the full deployed commit hash.
For a node installed before automatic updates existed, bootstrap the timer once with: