function

VerifyArtifacts

func VerifyArtifacts( ctx context.Context, config Config, directory string, transforms ...ridumigration.DataTransform, ) error

Replay complete immutable history through the adapter runner in an isolated shadow database.

Source adapters/mongodb/migration_runner.go:586

@param ctx
The ctx value.
@param config
The config value.
@param directory
The directory value.
@param transforms
The transforms value.
@returns
The declared result.

The operational credential creates and drops a randomly named shadow database; application collections are not used. Semantic histories use VerifyArtifactsWithOptions with explicit maintenance admission because verification replays the complete history.

Related types

  • Config

    Runtime-only MongoDB connection behavior.

  • DataTransform

    Executable up and down callbacks bound to an immutable descriptor.