Skip to content

Commit 236286b

Browse files
committed
docs(pegboard): note runner config upsert split write risk
1 parent 1c4bc6c commit 236286b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • engine/packages/pegboard/src/ops/runner_config

engine/packages/pegboard/src/ops/runner_config/upsert.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ pub async fn pegboard_runner_config_upsert(ctx: &OperationCtx, input: &Input) ->
145145
.await?;
146146

147147
// We still have to write locally for listing
148+
// TODO: non-transactional. Epoxy propose and the local UDB write can diverge if we crash or
149+
// error between them.
148150
ctx.udb()?
149151
.run(|tx| {
150152
let config = &config;

0 commit comments

Comments
 (0)