Upgrade POC Factory from v1.1.1 to v1.1.2#
Update the backend, frontend, and GitHub MCP proxy together. For an existing valid deployment, the required configuration change is the application container versions. Keep your .env, Helm configuration, database, and secrets. No new mandatory environment settings, chart structure changes, or manual SQL migration are required.
The application does perform an automatic database constraint migration at startup. Back up state and stop application writers first. Invalid legacy lineage data needs operator attention; do not interpret an image-only configuration update as a guarantee of zero database changes.
Prerequisites#
Prepare a recoverable baseline before the maintenance window.
Confirm access to
nvcr.io/nvidia/poc-factory-mcp:1.1.2,nvcr.io/nvidia/poc-factory-frontend:1.1.2, andnvcr.io/nvidia/github-mcp-proxy-nat-agentic-poc:1.1.2, or approved mirror digests.Record the current images, deployment revision, Compose project or Helm release, storage locations, and validation flags.
Let active work finish, stop new requests, and stop application writers. Keep the database available for a database-native backup and the subsequent migration.
Back up the database, generated artifacts, job state, proposal files, and fine-tuning data at a coordinated point. Protect the matching
ENCRYPTION_KEY, signing material, and other secrets. Verify restore readiness.
Do not replace .env with a fresh template, regenerate encryption keys, delete volumes, or change model mappings merely to install this patch. Selecting different inference models is a separate optional configuration decision.
Update the Release Images#
Use the existing deployment mechanism and retain its names, volumes, database connection, and environment-owned settings.
For Compose, update the existing
VERSIONvalue to1.1.2wherever your deployment manages it. Update any explicitPOC_FACTORY_MCP_VERSION,FRONTEND_VERSION, orGITHUB_MCP_PROXY_VERSIONoverrides as well; check exported shell variables that override.envinterpolation. Keep your registry namespace unchanged if using an approved mirror.Inspect and pull the image set from the existing deployment directory, then recreate the services:
docker compose --profile mcp config --images docker compose --profile mcp pull docker compose --profile mcp up -d docker compose --profile mcp ps
Use
--profile fullconsistently if that is your current profile. PostgreSQL and Phoenix use independent versions. The v1.1.2 Compose bundle is available for comparison; replacing working deployment files is not required.For Kubernetes or GitOps, instead update the existing
pocFactory.image.tag,frontend.image.tag, andgithubMcpProxy.image.tagto1.1.2(or your approved digest configuration). Render and review the existing chart with your values, then apply through your usual controller. Coordinate the maintenance window so old application writers are stopped before the new backend starts.If adopting the v1.1.2 chart, compare it with your deployment and retain your values and Secret references. No unrelated chart or inference-setting changes are needed for this release.
Do not run docker compose down --volumes. Keep backups until the checks below pass.
Check the Automatic Database Migration#
Startup enforces pocs.source_intake_id → proposal_poc_intakes.id with ON DELETE SET NULL. Deleting an intake preserves its POC and artifact path. PostgreSQL adds the missing constraint; SQLite rebuilds the installed table transactionally while preserving records and schema objects and enabling foreign keys on application connections.
Inspect startup logs and
/healthfor successful database initialization.If startup reports orphaned lineage, keep the service in maintenance and inspect the affected records. For PostgreSQL, qualify these table names with your configured schema:
SELECT p.id, p.source_intake_id FROM pocs p LEFT JOIN proposal_poc_intakes i ON i.id = p.source_intake_id WHERE p.source_intake_id IS NOT NULL AND i.id IS NULL;
Verify ownership and provenance, then restore missing intakes or explicitly correct references under your data-retention policy before retrying. The migration rolls back on invalid lineage; it does not delete POCs or silently clear references. SQLite also checks other installed foreign keys; use
PRAGMA foreign_key_checkagainst a backup to diagnose pre-existing violations.
Review Legacy Proposal Access#
New fine-tuning proposals are stored under an owner-scoped directory derived from the authenticated user’s durable database ID. Download URLs remain unchanged. Existing files in shared generated_proposals/ are retained but return 404 until their ownership is independently verified.
If your deployment has shared legacy proposal files, verify their owners from trusted records. Do not infer ownership from filenames or a claimant’s request.
Add verified entries to the operator-controlled
generated_proposals/.legacy-owners.jsonmapping:{ "proposal_existing-project_20260801_120000": "durable-user-id-from-users-table" }
Keys are exact proposal IDs without
.md; values are exact durable user IDs, not email addresses or display names. Replace this file atomically and protect the proposal volume from untrusted writes. Missing, malformed, symlinked, or oversized mappings (over 1 MiB) authorize nothing. Unmapped files are retained. Deployments without these legacy files need no mapping.Confirm that the verified owner can download the proposal and another user cannot.
Verify and Recover#
Exercise preserved state and a new workflow before reopening the service.
Verify all three running image versions or digests and healthy database/state-manager checks. Open the browser and complete sign-in.
Confirm that existing POCs remain visible and downloadable and saved Settings credentials still work. Check legacy proposal access if applicable.
Generate and download a small POC. All generator modes now share contract-first generation and targeted repair.
autochooses Cursor if a permitted key and usable CLI are present, otherwise inference, and keeps that engine for the run. Record the selected engine and which validation gates ran, failed, or were skipped.Restart the backend and confirm saved settings, POC inventory, and downloads persist. If your deployment uses fine-tuning or Physical AI, run a representative workflow; simulation acceptance does not prove live Kit/GPU execution.
If verification fails, stop new work and preserve logs without secrets. Restore the recorded image/configuration baseline through your controller. An image rollback does not undo a database migration; evaluate schema compatibility and, when recovery requires it, restore the coordinated pre-upgrade database and artifact backups with their original encryption material. Validate recovery before admitting writers.
Next Steps#
Record image digests, the backup point, migration outcome, selected engine, and observed acceptance results. See Release notes, Operate and restore, and Connect your inference models.