Skip to content

Update Code

Snowdag separates the Dagster control plane from user code. Updating your project usually means publishing a new code-location image and pointing the existing code-location service at the new image.

Update an Existing Code Location

Build and push a new image tag to the same repository, then update the Snowdag code location:

CALL snowdag_app.app_public.add_code_location(
  'finance',
  '/SNOWDAG_CONSUMER_DB/CODE/CONSUMER_REPO/finance-dagster:2026-06-01',
  'finance.definitions'
);

Using the same code-location name updates the existing service to the new image. Dagster runs launched after the update use the image from the matching code-location service.

Refresh Dagster

Updating an existing code-location image does not require reinstalling Snowdag. If Dagster does not show the latest code after the service update, reload the code location in the Dagster UI.

Adding or removing a code location changes the generated workspace. Snowdag restarts core.dagster after add_code_location or remove_code_location so the webserver and daemon re-read the workspace.

You can manually restart the control plane when needed:

CALL snowdag_app.app_public.restart_dagster();

Remove a Code Location

Remove code locations that should no longer appear in Dagster:

CALL snowdag_app.app_public.remove_code_location('finance');

Snowdag suspends and drops the code-location service, then restarts the control plane.