Cargar las semillas de la maestra al construir oro

This commit is contained in:
2026-12-04 12:02:09 -06:00
parent cc5cfd1792
commit bc78cb52c1
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ def analyze():
def build_gold(context: dg.OpExecutionContext) -> None:
"""Silver and everything derived from it, with the deployed code: what an ingest ends
with, without ingesting (after deploying a version that changes the tables)."""
silver.build(["silver+"])
silver.build(["silver+", "+nci_risk_lookup", "nci_risk_estimate"])
context.log.info("silver and gold rebuilt")
+3 -1
View File
@@ -543,5 +543,7 @@ def run(pipeline_id: str, pipeline: Pipeline, log: Callable[[str], None] = print
RUNNERS[node.kind](pipeline_id, node)
log(f"{node.id} ({node.kind}) done")
if entities := sorted({n.entity for n in pipeline.nodes if n.kind == "target"}):
silver.build(["silver+"]) # every entity (empty if never staged) and what derives
silver.build(
["silver+", "+nci_risk_lookup"]
) # every entity (empty if never staged) and what derives
log(f"silver and gold, from {', '.join(entities)}")