NAME

01-bootstrap-runtime.pl - bootstrap runtime files for Developer Dashboard

DESCRIPTION

This update script writes default global configuration and creates the starter API and SQL dashboard pages when they do not already exist.

PURPOSE

This staged update script owns one explicit phase of runtime update, bootstrap, and staged maintenance behavior. Read it when you need the real runtime side effects, logging, and failure behavior for that phase rather than inferring it from the higher-level command wrapper.

WHY IT EXISTS

It exists so the update pipeline stays explicit, inspectable, and testable one phase at a time. That keeps failures visible and avoids hiding important runtime changes inside one oversized installer step.

WHEN TO USE

Use this file when changing runtime update, bootstrap, and staged maintenance behavior, when debugging the staged update pipeline, or when the higher-level dashboard update flow fails and you need to isolate this phase.

HOW TO USE

Run it through dashboard update for the supported path, or invoke the file directly from the source tree when you need to debug only this phase. Keep the phase explicit, idempotent where intended, and noisy on failure.

WHAT USES IT

The staged runtime update pipeline, update-manager verification, and contributors debugging install or bootstrap regressions use this file.

EXAMPLES

Example 1:

prove -lv t/26-sql-dashboard.t t/27-sql-dashboard-playwright.t

Rerun the SQL dashboard seed tests after changing how this bootstrap phase refreshes managed starter pages.

Example 2:

dashboard update

Run the supported end-user path that can reach this update phase.

Example 3:

perl updates/01-bootstrap-runtime.pl

Invoke only this phase while debugging the update pipeline in a source checkout.

Example 4:

prove -lv t/04-update-manager.t

Rerun the focused update-manager coverage after changing update behavior.