auto_stories Bilgi Bankası chevron_right Guides chevron_right Makale

Deploy (Pipeline): develop in test, get it approved, deploy to livev5

Deploy moves Xpoda modules and applications to live with the process software teams are used to: changes are made in the test database, put into a package, reviewed and approved by teammates, deployed to live in one step and rolled back if needed. While the pipeline is on, the module and application design in live cannot be changed directly, and every change that reaches live is recorded.

Requirements

  • The organization's Xpoda Service runs a v5 version that includes Deploy.
  • The database is SQL Server.
  • The license includes the test database.
  • The test database exists: Client admin panel › System Information › Create Test Database. The test database is a copy of the live database.
  • Turning the pipeline on or off, deploying and rolling back need the Owner or Admin role in the organization.

Turning the pipeline on

  1. In Studio, open Deploy › Pipeline Settings in the left menu.
  2. Turn on Pipeline and set:
    • Approvals needed: how many approvals a package needs before it can be deployed.
    • Authors can approve their own packages: for single-person teams only; when off, the author cannot approve their own package.
    • Emergency window (minutes): how long the emergency window stays open.
  3. Click Save.

When the pipeline is turned on, Studio copies to test the modules that changed or were created in live since the test database was copied (or since the pipeline was last turned off), so test does not fall behind live. If a module changed both in live and in test, turning on stops and lists those modules. Merge them by hand, or click Keep test versions and enable to keep the test versions (the decision is recorded).

If the license does not include the test database, the pipeline cannot be turned on and live is not locked.

Which screen works on which database

While the pipeline is on, Studio picks the environment by screen: the dashboard shows a Pipeline card instead of the "Use Test Database" checkbox, and each screen title carries a Test or Live badge.

Test databaseLive database
Applications, module lists, the Designer, Xpodium Store installsData API, Assistants, API Collections, Xpoda AI, Data Sources, Support Chat, Permissions

Module and application design is locked in live: saving a module to live from Studio or from the Client is refused. Data API, assistants, API definitions, menus and reports are not part of Deploy in this version and are still edited in live.

The flow

1. See the changes — Deploy › Changes

Every module in test is compared with live:

  • New: not in live; it is added when deployed.
  • Changed: the design differs from live.
  • Same as live: no difference.

The Changed filter shows only differences; All modules shows everything. Compare on a row opens the comparison screen.

2. Create a package

Select the modules that should go live together and click Create package, then give it a title (and optionally a description). If a module's application is missing or changed in live, it is added to the package automatically. In the Designer, Data › Add to package opens this screen with the module selected.

3. Submit for review and get it approved

On the package page, Submit for review sends the package; approvers get an e-mail. Reviewers can:

  • Approve the package.
  • Request changes (a comment is required).
  • Reject the package.
  • Add comment.

Owners and Admins can always approve. Make other members approvers in Pipeline Settings › Approvers. If you changed the modules in test again, Refresh from test takes the current versions; earlier approvals no longer count.

4. Deploy to live

On an approved package, Deploy to live (Owner/Admin):

  • A snapshot of live is taken first.
  • New tables and columns are created; no table, column or data is ever dropped.
  • Module and application records are written in one transaction; on an error nothing is written.
  • If the same record changed in live after the package was prepared, the deployment stops; refresh the package with Refresh from test and have it reviewed again.

Long deployments run in the background; the screen waits for the result.

5. Roll back if needed

In the package's Deployments list, Roll back (Owner/Admin) returns the live records to their state before the deployment. Modules added by the deployment are removed; added tables, columns and their data stay. A rollback is refused if a later deployment touched the same records.

The comparison screen

Compare (Changes) and View changes / What changed (packages and deployments) open a git diff style screen:

  • Left: the tree of changed records (form › tab › element, action, authority, index, grid column, template, workflow). Green added, red removed, orange changed.
  • Right: the selected record's fields (old → new). Long texts such as SQL, scripts and templates show a line diff, Unified or Side by side.
  • Top: summary counts and the tables and columns the module adds.
  • Layout changes: shows changes of position, size or order only (hidden by default).

For an open package the comparison is "live (now) → package version"; for a deployed package it is "live before the deployment → deployed version".

AI review

AI review on the package page has an AI model review the changes in the package. The result is added to the package as a review card that everyone sees:

  • Risk: low, medium or high.
  • Summary: what the package changes and whether deploying it looks safe.
  • Findings: severity, the record (form › element or action), the problem and a suggestion. Clicking the record opens the comparison screen.
  • Checklist: what to check before approving.

The model looks mainly at data safety (UPDATE/DELETE without WHERE, another module's table, SQL built from parameters), broken references (a removed or renamed element, column or parameter), performance in live, and authority or workflow changes; it does not comment on layout-only changes.

  • The AI never approves: its review does not count as an approval and does not change the package status. The team always decides.
  • The review runs on the requesting developer's own AI key (user menu › AI Assistant Key; Anthropic or OpenAI) and is billed to that account. Without a key the button is disabled.
  • Because the package design (including SQL) is sent to the model provider, the organization's AI permission must be on (AI Assistant settings; an Owner or Admin turns it on).
  • The TR / EN choice next to the button sets the language of the review (the browser's language by default; the choice is remembered).
  • In large packages the first 20 records are reviewed; very long changes are shortened, and the card says so.

Warnings

  • Live is newer: the module was saved in live after test; deploying may undo the live change.
  • Matched by ProjectNumber, but created separately: two modules with the same identity may have been created separately in test and live; check before deploying.
  • Table … already belongs to another module: the module's table belongs to another module in live; rename the table in test. Modules that share a table on purpose on both sides are not affected.
  • changed in live since: live changed after the package was prepared.

Emergency window

For a problem that must be fixed in live right away, an Owner/Admin can open Pipeline Settings › Open emergency window with a reason; live is unlocked for the configured time. When the window is closed (Close and copy back to test), modules changed in live during the window are copied to test; modules also changed in test are listed for a manual merge.

Turning the pipeline off

An Owner/Admin can turn the pipeline off at any time by switching Pipeline off and saving. The lock is lifted at once and the "Use Test Database" checkbox returns. Open packages and past deployments stay, and rollback keeps working. When the pipeline is turned on again, live changes made while it was off are copied to test (see above).

Refreshing the test database

If the test database is created again from the Client admin panel, open packages and changes not yet in a package are lost; Xpoda shows how many there are and asks for confirmation first.

Who can do what

ActionDeveloperApproverAdmin / Owner
See changes, compare, request an AI review✓✓✓
Create, submit, refresh a package (own package)✓✓✓
Approve, request changes, reject✓✓
Deploy, roll back, settings, emergency window✓

Limits of this version

  • The scope is modules and applications. Menus, reports, assistants, API definitions, Data API and AI settings are managed in live.
  • Modules removed in test are not removed from live.
  • Rollback does not drop tables or columns.
  • Only SQL Server is supported.