---
title: "RebuildRun"
description: "bronze replayed through refine and accept at one code version; ready only when every partition's hash equals the live run's"
section: concepts
address: /concepts/rebuildrun
contract: 0476e35e6e275db5
---

# RebuildRun

bronze replayed through refine and accept at one code version; ready only when every partition's hash equals the live run's

[figure: RebuildRun is a work at follows scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | work |
| scope | follows |
| key | the source or plane and the code version |
| store | postgres |
| family | sources |



## Fields


| field | type | required | note |
|---|---|---|---|
| `target` | `text` | yes | a source, a plane or the whole record |
| `code_version` | `text` | yes |  |
| `partitions_compared` | `count` | yes |  |
| `first_difference` | `text` | no |  |
| `state` | [Readiness](/concepts/readiness) | yes |  |



## Routes that use it
No route takes or returns RebuildRun directly. The record holds it, and the objects that point at it reach it.
