Skip to content

[comp] Production Deploy#2660

Merged
Marfuen merged 4 commits intoreleasefrom
main
Apr 24, 2026
Merged

[comp] Production Deploy#2660
Marfuen merged 4 commits intoreleasefrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 24, 2026

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.


Summary by cubic

Introduces dedicated, long‑lived device‑agent sessions per device (CS‑280) with silent upgrade and an admin revoke flow. Also normalizes framework document types and fixes production screenshot overlay text by bundling DejaVu Sans.

  • New Features

    • Create device‑agent sessions at code exchange or during check‑in (1‑year TTL, deviceAgent=true) and link per device.
    • Register/check‑in link the current session; delete stale sessions on reinstall (P2025‑safe) and backfill links when missing; app APIs return hasActiveAgentSession; added revoke API and dialog.
    • Silent upgrade: check‑in from a web session creates a device‑agent session and returns upgradedSessionToken; the agent swaps and persists it via secure storage, migrating legacy plaintext tokens.
    • Normalize framework documentTypes (hyphen ↔ underscore) across diff, sync‑apply, and rollback.
    • Fix overlay text in production by installing fontconfig + fonts-dejavu-core in API images and using "DejaVu Sans" in the SVG.
  • Migration

    • Run Prisma migrations in packages/db/prisma (adds Session.deviceAgent, Device.agentSessionId with FK/indexes). Agents auto‑upgrade on next check‑in.

Written for commit 1d87427. Summary will update on new commits.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
comp-framework-editor (staging) Canceled Canceled Apr 24, 2026 1:37pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app (staging) Skipped Skipped Apr 24, 2026 1:37pm
portal (staging) Skipped Skipped Apr 24, 2026 1:37pm

Request Review

[dev] [Marfuen] mariano/fix-formtype-sync-hyphen-underscore
@vercel vercel Bot temporarily deployed to staging – app April 24, 2026 13:30 Inactive
@vercel vercel Bot temporarily deployed to staging – portal April 24, 2026 13:30 Inactive
…uction (#2659)

The node:*-slim base images ship with zero fonts installed, so
librsvg falls back to .notdef glyphs and the overlay rendered as
□ □ □ boxes in production. Install fontconfig + fonts-dejavu-core
in both Dockerfiles and use "DejaVu Sans" explicitly in the SVG.

Co-authored-by: Mariano <marfuen98@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel vercel Bot temporarily deployed to staging – portal April 24, 2026 13:30 Inactive
@vercel vercel Bot temporarily deployed to staging – app April 24, 2026 13:30 Inactive
@Marfuen Marfuen merged commit e630fb1 into release Apr 24, 2026
12 of 13 checks passed
@claudfuen
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.32.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vercel vercel Bot temporarily deployed to staging – comp-framework-editor April 24, 2026 13:37 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants