Skip to content

Commit d231975

Browse files
committed
docs(metadata-protocol): say why the undeclared seed column report is log-only
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HE4VY52U3L5Bfzz51dsFv
1 parent ea75b75 commit d231975

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎packages/metadata-protocol/src/seed-loader.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3239,6 +3239,12 @@ export class SeedLoaderService implements ISeedLoaderService {
32393239
* was meant for is overwritten on every replay. The rows themselves are
32403240
* valid, so they still load: refusing them would turn a policy typo into
32413241
* missing seed data.
3242+
*
3243+
* The log is the one channel, on a dry run too. `result.errors` holds
3244+
* `ReferenceResolutionError`s, each about one record (`recordIndex`), and a
3245+
* dataset-level finding has no shape there. Unlike a dry run's possible
3246+
* reference miss (#4997), nothing about it is simulated: the policy is
3247+
* wrong whether or not the load writes.
32423248
*/
32433249
private warnOnUndeclaredSeedColumns(dataset: Seed, definition: unknown): void {
32443250
const columns = Object.keys(dataset.columns ?? {});

0 commit comments

Comments
 (0)