TrainingRunCallbackEvents table
The TrainingRunCallbackEvents table in the FitStack - V2 schema has 20 columns, keyed by Id, with 1 foreign key to TrainingRuns.
Progress stream from the external trainer. No DbSet — mapped by configuration only.
Columns (20)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| EventId | uuid | not null | Idempotency key supplied by the trainer. UNIQUE, so a replayed callback is a no-op. |
| TrainingRunId | uuid | not null, references TrainingRuns.Id | |
| EventTimestamp | timestamp with time zone | not null | |
| AppliedAt | timestamp with time zone | not null | |
| Status | integer | not null | `TrainingStatus`. |
| CurrentEpoch | integer | ||
| TotalEpochs | integer | ||
| ProgressPercent | double precision | ||
| TrainLoss | double precision | ||
| ValLoss | double precision | ||
| ValMetricsJson | text | ||
| SamplePredictionsUrl | character varying(1024) | ||
| ArtifactUri | character varying(1024) | ||
| ErrorMessage | text | ||
| PayloadJson | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (2)
(EventId)unique (IX_TrainingRunCallbackEvents_EventId)(TrainingRunId, EventTimestamp)(IX_TrainingRunCallbackEvents_TrainingRunId_EventTimestamp)
Relationships
TrainingRunCallbackEvents.TrainingRunIdreferencesTrainingRuns.Id