Table Of Contents
Table Of Contents

2024-01-16 - Consumes rebuild on first reload

Release

Status: Available

Type: Bug-Squash

Date: 2024-01-16

Problem

When ensemble config was created and pewrsisted for the first time, it was being created with a config_hash of xxxx (as a placeholder), this meant the first time it was refreshed we were checking its config hash and detecting a difference (because now we had actual config to check against) and rebuilding the tile.

Solution

Add a second pass when we create ensemble config for the first time to pickup the actual config_hash when we create a new ensemble_config entry.

Leverage the Magic

A small tweak to the create_ensembler_config cloud function to create the ensemble config then update its config hash in a second pass.

Last Refreshed

Doc Refreshed: 2024-05-20