@taskcluster/client-web 113.0.0 → 113.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/clients/Auth.js
CHANGED
|
@@ -123,6 +123,9 @@ export default class Auth extends Client {
|
|
|
123
123
|
// satisfy all scopes being added to the client in the update operation.
|
|
124
124
|
// If no scopes are given in the request, the client's scopes remain
|
|
125
125
|
// unchanged
|
|
126
|
+
// If the client is modified by another request while this one is being
|
|
127
|
+
// processed, the update is not applied and this end-point will return `409`
|
|
128
|
+
// reporting `RequestConflict`. The caller can retry the request.
|
|
126
129
|
updateClient(...args) {
|
|
127
130
|
this.validate(this.updateClient.entry, args);
|
|
128
131
|
|
|
@@ -231,6 +231,9 @@ export default class WorkerManager extends Client {
|
|
|
231
231
|
// on that instance to use. The credentials will not live longer the
|
|
232
232
|
// `registrationTimeout` for that worker. The endpoint will update `terminateAfter`
|
|
233
233
|
// for the worker so that worker-manager does not terminate the instance.
|
|
234
|
+
// If the worker's launch config has been archived, reregistration is refused. Since the worker
|
|
235
|
+
// then fails to renew its credentials, any tasks it is still running may be aborted rather than
|
|
236
|
+
// drained. Quarantined workers are not exempt from this check.
|
|
234
237
|
reregisterWorker(...args) {
|
|
235
238
|
this.validate(this.reregisterWorker.entry, args);
|
|
236
239
|
|