Author SHA1 Message Date
Tomas DvorakandDevin 61e8c696c9 fix: build release images on native arch runners
arm64 npm ci under QEMU SIGILLs on current node:20-alpine layers
(uncaught target signal 4) and wedges the build step — the v0.8.0
release stalled there twice. Build each platform natively and join
the arch tags with a manifests job.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-28 13:37:56 +02:00
Tomas DvorakandDevin 207486a53d chore: release v0.8.0
Authored By: TDvorak <[email protected]>

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-28 11:34:05 +02:00
Tomáš Dvořák aab4dd3bfd Merge pull request #32 from Dvorinka/feat/agent-setup-prompt
feat: agent setup prompt for new projects
2026-09-28 11:32:58 +02:00
5 changed files with 44 additions and 13 deletions

No files matched your search

+38 -10
View File
@@ -59,17 +59,20 @@ jobs:
fi
images:
name: Build + push ${{ matrix.app }}
name: Build + push ${{ matrix.app }} (${{ matrix.platform }})
needs: verify
if: needs.verify.outputs.needed == 'true'
runs-on: ubuntu-latest
# Native runners per arch — QEMU emulation SIGILLs on the current
# node:20-alpine arm64 layers (uncaught target signal 4) and wedges
# the build step indefinitely.
runs-on: ${{ matrix.platform == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
app: [backend, auth, frontend]
platform: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
# ghcr.io requires lowercase repo paths; the owner login may be mixed-case.
- name: Compute lowercase GHCR owner
@@ -84,13 +87,38 @@ jobs:
with:
context: .
file: apps/${{ matrix.app }}/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/${{ matrix.platform }}
push: true
tags: |
ghcr.io/${{ env.GHCR_OWNER }}/primora-${{ matrix.app }}:${{ needs.verify.outputs.version }}
ghcr.io/${{ env.GHCR_OWNER }}/primora-${{ matrix.app }}:latest
cache-from: type=gha,scope=${{ matrix.app }}
cache-to: type=gha,mode=max,scope=${{ matrix.app }}
tags: ghcr.io/${{ env.GHCR_OWNER }}/primora-${{ matrix.app }}:${{ needs.verify.outputs.version }}-${{ matrix.platform }}
cache-from: type=gha,scope=${{ matrix.app }}-${{ matrix.platform }}
cache-to: type=gha,mode=max,scope=${{ matrix.app }}-${{ matrix.platform }}
# Joins the per-arch images into the real version + latest tags.
manifests:
name: Image manifests
needs: [verify, images]
if: needs.verify.outputs.needed == 'true'
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
- name: Compute lowercase GHCR owner
run: echo "GHCR_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >> "$GITHUB_ENV"
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create multi-arch manifests
env:
VERSION: ${{ needs.verify.outputs.version }}
run: |
set -e
for app in backend auth frontend; do
img="ghcr.io/${GHCR_OWNER}/primora-${app}"
docker buildx imagetools create \
-t "$img:$VERSION" -t "$img:latest" \
"$img:$VERSION-amd64" "$img:$VERSION-arm64"
done
cli-binaries:
name: Compile ${{ matrix.name }}
@@ -192,7 +220,7 @@ jobs:
release:
name: GitHub Release
needs: [verify, images, cli-binaries, desktop, npm-packages]
needs: [verify, manifests, cli-binaries, desktop, npm-packages]
if: needs.verify.outputs.needed == 'true'
runs-on: ubuntu-latest
env:
+3
View File
@@ -4,6 +4,8 @@ All notable changes to Primora. Format follows [Keep a Changelog](https://keepac
## [Unreleased]
## [0.8.0] - 2026-09-28
### Added
- **Agent setup prompt** — a "Set up with an AI agent" dialog that mints a fresh `write`-scoped API key (ingest + reads + non-admin mutations, never key-minting) and renders a copyable prompt handing a coding agent everything it needs: the deployment endpoint, project id, the key itself, plus tasks to instrument error/metric/log/heartbeat reporting per component (`POST /api/v1/ingest` — works from any language), register the app's databases via `db-connections` (postgres → cassandra), wire the MCP server / CLI for future agents, and verify with a test event + deploy marker. Opens at the end of the new-project onboarding and is re-reachable from the project dashboard and Projects page; keys are shown only inside the prompt (revoke under Settings → API keys).
@@ -53,6 +55,7 @@ All notable changes to Primora. Format follows [Keep a Changelog](https://keepac
- **`fetch failed` polish** — connection failures report the cause code and suggest `primora context` instead of bare undici errors.
- **`login --json`** — the flag now emits JSON on both the session and API-key paths.
- **Dashboard fonts vendored** — Geist/Geist Mono now ship via `@fontsource` inside the bundle instead of a Google Fonts `<link>` the nginx CSP blocked (`style-src 'self'`). Removes the runtime Google dependency, works airgapped, and eliminates the console CSP violation.
- **Release image builds moved off QEMU** — arm64 `npm ci` under `docker/setup-qemu-action` SIGILLed on current `node:20-alpine` layers (`uncaught target signal 4`) and wedged the build step for over an hour. Images now build per-arch on native runners (`ubuntu-24.04-arm` for arm64) and a `manifests` job joins them into the multi-arch `:<version>`/`:latest` tags.
## [0.7.1] - 2026-09-23
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@primora/desktop",
"version": "0.7.1",
"version": "0.8.0",
"private": true,
"description": "Primora desktop shell — thin Tauri client for a self-hosted deployment",
"scripts": {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Primora",
"version": "0.7.1",
"version": "0.8.0",
"identifier": "dev.tdvorak.primora",
"build": {
"frontendDist": "../ui"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "primora",
"version": "0.7.1",
"version": "0.8.0",
"private": true,
"packageManager": "[email protected]",
"workspaces": [