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.

  1. Confirm access to nvcr.io/nvidia/poc-factory-mcp:1.1.2, nvcr.io/nvidia/poc-factory-frontend:1.1.2, and nvcr.io/nvidia/github-mcp-proxy-nat-agentic-poc:1.1.2, or approved mirror digests.

  2. Record the current images, deployment revision, Compose project or Helm release, storage locations, and validation flags.

  3. Let active work finish, stop new requests, and stop application writers. Keep the database available for a database-native backup and the subsequent migration.

  4. 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.

  1. For Compose, update the existing VERSION value to 1.1.2 wherever your deployment manages it. Update any explicit POC_FACTORY_MCP_VERSION, FRONTEND_VERSION, or GITHUB_MCP_PROXY_VERSION overrides as well; check exported shell variables that override .env interpolation. Keep your registry namespace unchanged if using an approved mirror.

  2. 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 full consistently 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.

  3. For Kubernetes or GitOps, instead update the existing pocFactory.image.tag, frontend.image.tag, and githubMcpProxy.image.tag to 1.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.

  4. 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.

  1. Inspect startup logs and /health for successful database initialization.

  2. 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;
    
  3. 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_check against 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.

  1. 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.

  2. Add verified entries to the operator-controlled generated_proposals/.legacy-owners.json mapping:

    {
      "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.

  3. 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.

  1. Verify all three running image versions or digests and healthy database/state-manager checks. Open the browser and complete sign-in.

  2. Confirm that existing POCs remain visible and downloadable and saved Settings credentials still work. Check legacy proposal access if applicable.

  3. Generate and download a small POC. All generator modes now share contract-first generation and targeted repair. auto chooses 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.

  4. 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.

  5. 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.