Spaces:
Sleeping
Sleeping
Sync worker identity claim filter for sin-github-issues
Browse files- src/room13-worker.ts +1 -0
src/room13-worker.ts
CHANGED
|
@@ -133,6 +133,7 @@ export class GitHubIssuesRoom13WorkerRuntime {
|
|
| 133 |
if (!this.enabled || !this.workerId) throw new Error('room13_worker_not_registered');
|
| 134 |
const task = await this.request<Room13Task>('POST', '/api/tasks/claim-next', {
|
| 135 |
worker_id: this.workerId,
|
|
|
|
| 136 |
accepted_types: ['github_issue_dispatch'],
|
| 137 |
min_priority: 'normal',
|
| 138 |
run_id: this.runId,
|
|
|
|
| 133 |
if (!this.enabled || !this.workerId) throw new Error('room13_worker_not_registered');
|
| 134 |
const task = await this.request<Room13Task>('POST', '/api/tasks/claim-next', {
|
| 135 |
worker_id: this.workerId,
|
| 136 |
+
worker_identity: this.workerName,
|
| 137 |
accepted_types: ['github_issue_dispatch'],
|
| 138 |
min_priority: 'normal',
|
| 139 |
run_id: this.runId,
|