BRD-029 — Admin UI: Tenant Catalog Migration Console

By Engineering Team•October 11, 2026•4 min read

Metadata

Field Value
Project Name Admin UI: Tenant Catalog Migration Console
Document ID BRD-2026-MIG-002
Author Engineering Team
Target Date 2026-10-11
Status Implemented

1. Executive Summary & Business Goal

BRD-028 establishes the business case for importing a tenant’s catalog in bulk instead of record-by-record, and the backend pipeline that makes that possible (firebase-function → tenant-migration → tenant-migration-orchestrator). That pipeline is upload-triggered and API-driven — it has no UI of its own. Without a console, an operations team member would need to construct the upload themselves, call the verify/execute endpoints directly, and poll or tail logs to find out whether a submission succeeded, which puts every tenant onboarding back in engineering’s hands regardless of how automated the pipeline itself is.

The business goal of this capability is to give the Operations team a self-service console, inside the same admin application they already use for day-to-day catalog management, that walks them through a migration from bundle upload to a fully audited result — without needing to know the pipeline’s REST endpoints, its batch lifecycle states, or its underlying Pub/Sub mechanics. The console exists to make BRD-028’s promise (“minutes, not days”) something an operations person can actually act on alone.

2. Target Users & Stakeholders

  • Tenant Onboarding / Operations team — the console’s primary and only user; uploads a tenant’s catalog bundle, watches it move through verification and execution, and resolves problems (retry, cancel, delete) without engineering involvement.
  • Engineering / Platform Support — wants operations fully self-sufficient for routine migrations, reserving engineering time for genuine pipeline failures rather than “how do I check if my upload worked” questions.
  • Tenant stakeholders (the business being onboarded) — indirect beneficiaries: a console that surfaces exactly what succeeded and what failed means a tenant’s go-live date isn’t blocked on someone manually reading server logs.

3. Scope of Work

In Scope

  • A single admin-application feature (“Tenant Data Migration”) for uploading a tenant’s catalog bundle and tracking it through the entire pipeline.
  • Showing live verification progress (extraction, schema/directory checks, record compilation) before anything is queued for execution.
  • Gating the “Execute Migration” action so it can only be taken once a bundle has actually passed verification.
  • Showing live execution progress broken down by the kind of data being imported (category, warehouse, product, and so on), including which kinds are still waiting on another kind to finish first.
  • A searchable history of every past submission for a tenant, with its outcome and a detailed audit view of what happened to each kind of data in it.
  • Giving operations the same corrective actions the backend pipeline supports — retrying only the failed portion of a submission, cancelling one still in progress, and deleting one that’s no longer needed — directly from the console, with confirmation before anything irreversible happens.
  • Surfacing failed-record detail (which record, which kind of data, why it failed) directly in the console, not just a pass/fail count.

Out of Scope

  • Editing a submission’s data from inside the console — a bundle with incorrect data is still fixed at the source and re-uploaded (per BRD-028’s own out-of-scope boundary; the console is a front end to that same rule, not an exception to it).
  • Any change to what the backend pipeline itself validates, orders, or imports — the console visualizes and drives that pipeline, it does not alter its business rules.
  • Building the catalog bundle (zip file) itself — bundle preparation happens outside this console, by whatever means the tenant or operations team already uses.
  • Any shopper- or tenant-facing surface — this remains an internal operations tool inside the admin application.

4. High-Level Business Requirements

ID Goal Business Need Priority
BR-01 Self-Service Upload Operations must be able to upload a tenant’s catalog bundle directly from the browser, with no engineering involvement and no direct API calls. P0
BR-02 Pre-Execution Verification Visibility Operations must see a bundle’s verification outcome, step by step, before being allowed to execute it — an unverified or failed bundle must never be executable. P0
BR-03 Live Execution Visibility Once a migration is running, operations must be able to see its progress broken down by data type, including which data types are blocked waiting on another to finish. P0
BR-04 Full Submission History & Audit Operations must be able to find any past submission for a tenant and see exactly what happened to it, down to individual failed records. P0
BR-05 In-Console Corrective Actions Retry, cancel, and delete must all be available directly in the console, matching exactly what the backend pipeline itself allows for a submission in a given state. P1
BR-06 No Silent Failures A failed record, a failed verification step, or a stalled execution must always be visible in the console — operations must never need to check server logs to learn a migration didn’t fully succeed. P0

5. Success Metrics & KPIs

  • Zero engineering tickets filed solely to check the status of, or manually trigger, a tenant catalog migration.
  • Every migration’s outcome (success, partial failure, verification failure) is visible in the console within the same session it was submitted in, with no need to refresh against raw API responses.
  • Every retry/cancel/delete action taken by operations matches a state the backend pipeline actually allows — no action is offered that the pipeline would reject.
  • A tenant’s migration history remains fully isolated from every other tenant’s, with no cross-tenant visibility anywhere in the console.