feat(pipeline): parallelize discovery/process via evolved asyncPool (#211)
* feat(pipeline): centralize concurrency hooks and parallelize discovery/process steps * feat(orchestrator): unify single and bulk job actions API * job actions de-bulk-ified * application inbox section debulk * chore(orchestrator): remove remaining bulk wording from job action flow * select multiple to skip with shortcut * comments * coomeents * fix progress ordinal and add jobs actions payload examples
This commit is contained in:
@@ -72,7 +72,7 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with `{ "action": "move_to_ready", "jobIds": ["<jobId>"] }`
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
@@ -65,7 +65,18 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with payload:
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3001/api/jobs/actions" \
|
||||
-H "content-type: application/json" \
|
||||
-d '{
|
||||
"action": "move_to_ready",
|
||||
"jobIds": ["<jobId>"]
|
||||
}'
|
||||
```
|
||||
|
||||
- Streaming progress: `POST /api/jobs/actions/stream` (same JSON payload)
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
@@ -65,7 +65,18 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with payload:
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3001/api/jobs/actions" \
|
||||
-H "content-type: application/json" \
|
||||
-d '{
|
||||
"action": "move_to_ready",
|
||||
"jobIds": ["<jobId>"]
|
||||
}'
|
||||
```
|
||||
|
||||
- Streaming progress: `POST /api/jobs/actions/stream` (same JSON payload)
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
@@ -67,7 +67,18 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with payload:
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3001/api/jobs/actions" \
|
||||
-H "content-type: application/json" \
|
||||
-d '{
|
||||
"action": "move_to_ready",
|
||||
"jobIds": ["<jobId>"]
|
||||
}'
|
||||
```
|
||||
|
||||
- Streaming progress: `POST /api/jobs/actions/stream` (same JSON payload)
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
@@ -72,7 +72,18 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with payload:
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3001/api/jobs/actions" \
|
||||
-H "content-type: application/json" \
|
||||
-d '{
|
||||
"action": "move_to_ready",
|
||||
"jobIds": ["<jobId>"]
|
||||
}'
|
||||
```
|
||||
|
||||
- Streaming progress: `POST /api/jobs/actions/stream` (same JSON payload)
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
@@ -72,7 +72,18 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with payload:
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3001/api/jobs/actions" \
|
||||
-H "content-type: application/json" \
|
||||
-d '{
|
||||
"action": "move_to_ready",
|
||||
"jobIds": ["<jobId>"]
|
||||
}'
|
||||
```
|
||||
|
||||
- Streaming progress: `POST /api/jobs/actions/stream` (same JSON payload)
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
@@ -72,7 +72,18 @@ PDF generation uses:
|
||||
|
||||
Common paths:
|
||||
|
||||
- Discovered to finalization: `POST /api/jobs/:id/process`
|
||||
- Discovered to finalization: `POST /api/jobs/actions` with payload:
|
||||
|
||||
```bash
|
||||
curl -X POST "http://localhost:3001/api/jobs/actions" \
|
||||
-H "content-type: application/json" \
|
||||
-d '{
|
||||
"action": "move_to_ready",
|
||||
"jobIds": ["<jobId>"]
|
||||
}'
|
||||
```
|
||||
|
||||
- Streaming progress: `POST /api/jobs/actions/stream` (same JSON payload)
|
||||
- Ready regeneration: `POST /api/jobs/:id/generate-pdf`
|
||||
|
||||
### Regenerating PDFs after edits (copy-pasteable examples)
|
||||
|
||||
Reference in New Issue
Block a user