napkin-1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Spec.Persist

Synopsis

Documentation

data History #

Constructors

History 

recordedRunDAG :: (HasBackendQueryStats bk, Typeable bk, ToDbBackend bk) => Task (Executable bk) -> MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> SimpleLogPayload -> DepChain -> Combo bk (TaskResult bk) -> Combo bk (Either SomeException (NominalDiffTime, TaskResult bk)) #

Do a run, recording the instance in the database. Return the recorded instance along with the run results.

recordedRun :: (HasBackendQueryStats bk, Typeable bk, ToDbBackend bk) => MetadataBeamConnection -> AppName -> Pipeline -> SpecRunId -> SpecTableName -> Specs bk -> DepChain -> Combo bk (a, CreateQueryStats bk, Maybe (HookQueryStats bk)) -> Combo bk (Either SomeException (a, (NominalDiffTime, CreateQueryStats bk, Maybe (HookQueryStats bk)))) #

Do a run, recording the instance in the database. Return the recorded instance along with the run results.