Skip to main content

refreshRunnerData

Triggers a data download refresh on the runner. Returns the runner with its flipped status AND the count of NEWLY-enqueued backfill rows so the UI can surface a useful snackbar message ("Enqueued N backfills" vs "Already up to date") instead of a silent success.

refreshRunnerData(
id: ID!
): RefreshRunnerDataResult!

Arguments

refreshRunnerData.id ● ID! non-null scalar

Type

RefreshRunnerDataResult object

Result of the refreshRunnerData mutation. enqueuedCount is the number of NEWLY-enqueued backfill rows — refs whose latest job was absent or failed. Zero means every ref was already pending / running / cached (the queue is caught up relative to the runner's config) and the UI should show "Already up to date". Non-zero means the worker pool has more work to do; the UI should show "Enqueued N backfills".