Skip to content
Myr

Name the warm-setup test's job summary 'summary' and format the warm row, so lint passes after perf/gate-path

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by oscabriel · committed by oscabriel · parent 3704c58 · Browse files · 2 files+4 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−5 removed

  • tests:+3 added−3 removed
  • other:+1 added−2 removed

2 files+4 added−5 removed

modified:packages/project/src/outbox.ts+1 added-2 removed
136 unmodified lines
137/** Kept in the commit that keeps the landing, under the landing's SHA: one job per landing, however often it is heard. */138export const warmRow = (139 job: Omit<Extract<OutboxBody, { readonly _tag: "WarmSetup" }>, "_tag">,140 at: DateTime.Utc141) =>142 outboxRow(`warm:${job.at}`, OutboxBody.cases.WarmSetup.make(job), at);141) => outboxRow(`warm:${job.at}`, OutboxBody.cases.WarmSetup.make(job), at);142143export const isDue = (row: OutboxRow, now: DateTime.Utc) =>144 DateTime.isLessThanOrEqualTo(row.notBefore, now);145
194 unmodified lines
modified:packages/project/test/warm-setup.test.ts+3 added-3 removed