Shipping and operations
Production readiness checks
Prepare your app for launch: verify deployment, sessions, permissions, error handling, recovery, and the backend features your application uses.
Use this checklist before shipping an application built on Pikbase. It covers your application code, workspace configuration, and integrations: the things you configure, deploy, and support for your users.
Pikbase operates the managed backend. You configure your application's definitions, permissions, functions, and workflows, and verify that your user journeys work with them. These checks are not an audit of Pikbase's infrastructure or a certification of the platform. Hosting commitments, plan limits, and support terms belong to your workspace agreement; clarify those with your workspace administrator or Pikbase support.
Application launch checklist
Run the core checks for every release. Run the feature-specific checks only when your application uses that capability; an app without stock management or public forms does not need to implement them to launch.
| Check | When to run it | Ready when |
|---|---|---|
| Deployment and configuration | Every release | The deployed app uses the intended workspace and compatible backend resources. |
| Authentication and sessions | Every release | Sign-in, expiry, sign-out, and workspace switching behave correctly. |
| Permissions | Every release | Each role can perform its intended actions, and unauthorized API operations fail. |
| Errors and support | Every release | Failures are visible to users and diagnosable without exposing sensitive data. |
| Backup and recovery | Review every release; rehearse for relevant data or recovery changes | Your team knows how to recover the application and verify its data. |
| Transactions | Multi-record writes | A failed operation leaves no unintended partial changes. |
| Concurrent updates | Shared mutable state | Simultaneous requests preserve your business rules. |
| Audit history | Tracked changes or approvals | Authorized reviewers can find the history your application requires. |
| Reporting and exports | Reports, lists, or downloads | Results are correct, permission-scoped, and usable at expected volumes. |
| Workflow reliability | Workflows or external integrations | Retries and interruptions do not duplicate business effects. |
| Public submissions | Anonymous forms or invitation links | Only the intended submission is allowed, with server-side abuse controls. |
Prepare your test workspace
- Use an authorized, isolated workspace with the definitions, policies, and backend resources your release needs. Use ordinary test users for each application role, separate organizations or workspaces where applicable, and an anonymous session if your app has public access. Do not test only as an administrator.
- Use synthetic or approved anonymized data at expected volumes. Use provider sandboxes or disable real email, payments, and other external delivery during failure tests.
- Agree on the scope and cleanup procedure with your workspace administrator. Do not inject failures into production or restore over a live workspace.
- Record the application version, backend resource version, workspace, test role, expected result, actual result, and relevant request IDs. Redact credentials and personal data.
- Mark each applicable check Passed, Failed, or Not tested. Mark unused capabilities Not applicable with a reason. Set response-time and recovery targets for your app before testing; an untested requirement is not a pass.
Deployment and configuration
Check. Build your release and deploy it to your staging host. Confirm the API base URL and workspace code, required definitions and properties, permissions, functions, and workflows. Keep deployment credentials out of source, browser bundles, and build logs; browser-prefixed environment variables are public configuration, not secret storage.
Open the deployed app directly on a nested route and reload it. Run its main user journey, including a write followed by a fresh read. Check that no local development endpoint or test workspace is used. Verify asynchronous deployment jobs reach terminal success before using the affected resources.
Ready when. The built app works from its deployed URL with the intended backend resources, and your release process identifies the exact app and backend versions. See CI/CD, deployment, and seeds and Backend source control with Git.
Authentication and sessions
Check. Follow the session model for your application. Test sign-in, invalid credentials, session expiry, sign-out, and a page reload. Test MFA and password recovery if your app exposes them. If users switch accounts or workspaces, verify that cached records from the previous context disappear.
Call a protected operation without a session and with an invalid or expired token. A public identity must not be treated as an authenticated user. Never put tokens in URLs, logs, or localStorage, and never put an administrator credential in the frontend.
Ready when. Authorized users can complete the journey, invalid sessions cannot perform protected operations, and the UI returns users to sign-in without showing another user's cached data.
Permissions
Check. Configure definition, operation, row, and property permissions for your application. Call the API with each test user's own session, not only through UI controls. Try another organization's known record ID, remove the UI's organization filter, change workspace selectors, and attempt restricted creates, updates, deletes, nested saves, and relationship changes. Include allowed operations as positive controls.
For restricted properties, also test filters, sorting, aggregates, includes, and exports. Test custom functions' configured execute permissions and any resource-level business authorization their operations require. UI visibility is not an authorization boundary.
Ready when. Intended actions succeed, unauthorized reads disclose no restricted data, and unauthorized mutations leave no changes on a fresh authorized read. See Data tables, policies, and search and Authentication and tenancy.
Errors and support
Check. Exercise validation failures, denied access, network loss, and a failed backend operation during your main journey. Verify loading states end, errors are actionable, and the UI does not announce success until the operation succeeds. For asynchronous work, distinguish acceptance from completion.
Make failed operations traceable using request or operation IDs and application version information. Keep tokens, invitation secrets, and personal data out of logs and user-visible diagnostics. Document who on your team investigates application failures and what redacted context to send when escalating to Pikbase support.
Ready when. Users can understand what failed and safely recover. Your team can identify the failed operation without collecting credentials or raw customer records. Test any retry action against the workflow reliability check.
Transactions
Check. For each operation that must save multiple related records together, inject a validation or persistence failure after each stage in the test workspace. For example, an order app might save an order, its items, and a stock reservation. Read all affected records through a fresh request, including records created by triggers. Also run the operation successfully.
Keep related writes within the supported backend transaction boundary. Separate browser requests are not one transaction. A manual Commit changes checkpoint makes earlier writes durable; a later failure does not undo them. Database rollback cannot retract an email or payment.
Ready when. Failures before a commit leave no partial changes, and a successful run creates the intended records. If your operation uses checkpoints, verify its documented partial-progress and recovery behavior. An error response alone does not prove rollback. See Transactions, triggers, and commit control.
Concurrent updates
Check. Identify shared state in your app, such as stock, booking capacity, or a single-use action. Send simultaneous requests from two users and retry with the original operation identities. Read back the resulting records and repeat from a reset fixture. For a last-item reservation, exactly one request should succeed.
Calculated saves such as _CALC([quantity] - 1) avoid an application-side
read/modify/write race, but do not by themselves prevent negative stock.
Do not use GsbSaveRequest.filters as a compare-and-set guarantee. Use a backend
operation that checks the business condition and applies the change atomically.
Reading a value and then saving it in a separate request is not sufficient.
Ready when. Simultaneous requests preserve your business invariant, losing requests receive an explicit conflict or unavailable result, and retries do not duplicate effects. See Atomic calculated saves.
Audit history
Check. Enable the history your application needs and perform representative edits, deletions, and approvals as ordinary users. Read the resulting history as an authorized reviewer; attempt to alter or delete it as an ordinary user.
Choose the appropriate mechanism: GsbAuditLog for operation records, isTracked and
GsbTrackVersion for field history, isVersioned and GsbEntityVersion for snapshots,
and workflow history for execution and decisions. These are different capabilities;
snapshots alone are not tamper-proof audit storage.
Ready when. Required actions remain attributable to an actor, record, and time, including required evidence after deletion. Reviewer access and retention match your application requirements, and ordinary users cannot forge or change history. See Entity versioning and Workflows.
Reporting and exports
Check. Run your application's lists, reports, and downloads at expected row counts and relationship sizes. Compare results with known fixture totals. Include empty results, pagination, date/timezone boundaries, and joins that could double-count. Test with restricted users as well as authorized reporting users.
Measure response times against your app's budget. Reopen CSV/JSON downloads and verify row counts, encoding, numeric/date precision, and spreadsheet formula safety. Browser exports consume memory and do not provide a consistent snapshot across pages; use a coordinated export procedure if your app requires one.
Ready when. Results are correct and permission-scoped, and pages and exports remain usable at your expected volume. If your application offers data portability, also test relationship IDs, schema information, and authorized attachment downloads; a table export alone is not a complete application migration. See QueryParams and Advanced queries.
Workflow reliability
Check. Interrupt your process before and after commit points and after an external provider accepts a request but before its response is recorded. Resume or retry using your application's supported recovery path. Deliver duplicate events concurrently. For webhooks, include invalid signatures, expired deliveries, and reused event identities.
Workflow persistence does not provide exactly-once external delivery. Configure bounded retries and durable operation/event identities. Your webhook integration must verify the raw-body signature and timestamp before dispatch. An in-memory flag or query-before-insert check is insufficient for deduplication under concurrency. Use provider idempotency or a documented compensation/reconciliation procedure for effects outside the database transaction.
Ready when. One logical action has one intended business effect, unauthorized events cannot advance the process, and interrupted work either recovers or exposes an actionable failure. Verify external provider records as well as database state. See Workflows and Recurring jobs.
Backup and recovery
Check. Define how your team recovers from a bad application release or accidental data change. Distinguish redeploying source, restoring an entity snapshot, and restoring a workspace backup. A source revert alone does not recover runtime data.
Coordinate workspace restore procedures with your authorized administrator. Rehearse on an isolated test workspace using the supported procedure, checking required records, relationships, definitions, permissions, and attachment contents afterward. Keep restored integrations isolated so they cannot send real messages or payments.
The restore command replaces the selected workspace; do not assume it can clone a production backup into another workspace. Never restore over production as a test. Availability and retention depend on your plan. You do not need to operate Pikbase's backup infrastructure or create a full workspace backup for every frontend deployment.
Ready when. Your team has a recovery procedure with an owner and application verification steps. Record rehearsal duration and the last recovered write against your application's recovery time and recovery point targets (RTO/RPO). Confirm required attachment coverage rather than relying only on a backup's completed status. See Workspace backups and restore.
Public submissions
Check. If your app accepts anonymous forms or invitation-based submissions, use a narrowly scoped backend submission operation. Test from a clean browser without an employee session. Attempt to read other submissions, access linked private records, set ownership or approval fields, and modify or delete responses.
Test server-side validation, rate and payload limits, and any configured bot protection. For restricted invitations, test expired, altered, wrong-form, already-used, and simultaneously reused tokens. Invitations require cryptographic randomness, protected storage, expiry, and atomic one-time consumption.
Ready when. Valid input produces only the intended submission and a minimal receipt. Other records remain private, disallowed fields are rejected, and invalid or reused invitations cause no side effects. Public-access settings do not provide a complete form or invitation service: implement the required controls in your backend operation, not only in the browser. Do not grant broad public CRUD to make a form work.
Release sign-off
Resolve failed core checks and failures in features you are shipping. Keep the release record with your app version, deployed backend resource version, test results, recovery owner, and any explicitly accepted limitations. After deployment, repeat a safe smoke test of sign-in and your main user journey against the intended workspace.
This is your application's release decision, not a requirement to certify Pikbase's infrastructure, negotiate commercial terms, or build features your application does not use.
docs/guides/production-readiness-checks.md