﻿# WorkManager expedited requests: quota fallback changes the work contract

Choose whether exhausted expedited quota means ordinary queued work or a dropped request. Keep an Android AI task’s actual outcome separate from its requested priority.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/edge-workmanager-expedited-quota-fallback-outcome/
Language: en

## Priority is not the observed outcome

An owner asks a local Android assistant to summarize a newly selected document, then leaves the screen. The application requests expedited work and immediately labels the summary running. That label conflates requested urgency with an observed worker start. The scheduler still has a quota policy and current system conditions to apply. Decide what the product should promise when urgent execution is unavailable, especially when the same request might legitimately remain queued or never be enqueued under the chosen fallback.

## Expedited execution still has constraints

The [work-request guide](https://developer.android.com/develop/background-work/background-tasks/persistent/getting-started/define-work) describes expedited work as appropriate for important short tasks, with limited execution quota and possible deferral under system load. It is not an unlimited reservation for arbitrary inference. Preserve the installed WorkManager and platform configuration when qualifying a workflow; supported behavior can involve different compatibility paths. Do not attach an invented completion deadline to the expedited label or silently classify every delayed request as a model-performance regression.

## Choose the ordinary-work branch deliberately

The [OutOfQuotaPolicy reference](https://developer.android.com/reference/androidx/work/OutOfQuotaPolicy) defines RUN_AS_NON_EXPEDITED_WORK_REQUEST as falling back to an ordinary request when expedited quota is absent. This can preserve the intention to do the work while relaxing its urgency. Keep the document and task identity attached to the ordinary request. The interface should explain that the task remains pending under ordinary scheduling, rather than promising immediate execution merely because the original builder requested an expedited job.

## Dropping is not delayed inference

The same reference defines DROP_WORK_REQUEST as dropping the expedited request with no work requests enqueued when quota is unavailable. Treat that as a distinct application outcome, not as a worker that is still patiently waiting or an inference that returned an empty answer. Define whether the owner can retry through a supported path and whether the request still has value later. Never leave a permanent running indicator for a task whose selected policy supplied no queued work to complete.

## Exercise both policy outcomes

A proposed fixture uses harmless documents and a controlled scheduler configuration that exposes the quota-unavailable branch. Observe the ordinary-fallback policy and the drop policy separately, retaining request identity and actual worker events. Also include system-load delay without assuming it is quota exhaustion. Acceptance requires the interface’s pending, dropped, started and completed states to match evidence. No quota was consumed, worker executed or timing measured here; these are project checks rather than reported Android performance results.

## Keep useful completion separate from scheduling

[Modeled mobile participation](/journal/eafl-battery-client-selection-simulated-energy-boundaries/) and [offline application dependencies](/journal/orbit-gemma4-android-local-inference-offline-boundary/) answer other availability questions. Neither determines this quota-policy branch. Report the requested scheduling class, selected fallback contract and observed completion separately. A defensible assistant can retain a task for later or explicitly explain that urgent work was not queued; it should not convert every scheduling request into an assertion that the model is already producing a useful answer.
