Closed Bug 1469402 Opened 6 years ago Closed 6 years ago

Support for onExitStatus on generic-worker

Categories

(Taskcluster :: Workers, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Assigned: bstack)

References

Details

The task payload for docker-worker supports an onExitStatus field that allows you to register exit codes that result in specific actions taking place when they occur. For example, onExitStatus['retry'] allows you to define exit codes that will cause the task to be retried. And onExitStatus['purgeCaches'] allows you to define exit codes that result in caches used by the task being purged.

Firefox CI needs both these features (retry and cache nuking) to more robustly handle intermittent failures (such as VCS operations gone bad).

AFAICT equivalent functionality does not exist in generic-worker nor taskcluster-worker.

I'm filing this bug to track implementing this functionality so generic-worker and taskcluster-worker have feature parity with docker-worker.
Assignee: nobody → bstack
Status: NEW → ASSIGNED
Really nice job Brian! :-)
Component: Worker → Generic-Worker
Summary: Support for onExitStatus on generic-worker / taskcluster-worker → Support for onExitStatus on generic-worker
Depends on: 1480723
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Component: Generic-Worker → Workers
You need to log in before you can comment on or make changes to this bug.