Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8b8cc24
v2.0.0-beta: 10 autonomous cron workflows + CTO self-merge
germanf Jul 3, 2026
aef15a8
v2.1.0-beta: Phase B — Memory & Self-Improvement (#121)
germanf Jul 3, 2026
8d5bb68
5.3.c — Health check expansion: memory, CPU, backup, MCP, backends
Jul 7, 2026
2843b80
Merge pull request #123 from germanf/feature/health-check-expansion
germanf Jul 7, 2026
21e4d48
5.3.a — Alerting system: webhook channel, REST API, health integratio…
Jul 7, 2026
23f8981
Merge pull request #126 from germanf/feature/alerting-system
germanf Jul 7, 2026
6696218
5.4.a — Real-time SSE Jobs Page: job list + live log viewer with Even…
Jul 7, 2026
6932311
Merge pull request #127 from germanf/feature/realtime-jobs
germanf Jul 7, 2026
8224879
5.1.a — Map-Reduce in Orchestrator: backend factory + endpoint, front…
Jul 7, 2026
7cc90f1
fix: parallelism validation, empty input guard, chunk denominator
Jul 7, 2026
f423b15
Merge pull request #128 from germanf/feature/map-reduce
germanf Jul 9, 2026
06efd24
5.4.b — Alert UI in Dashboard: Active Alerts widget with polling + ac…
Jul 9, 2026
d71689b
fix: ack error handling, consistent polling, remove unused CSS
Jul 9, 2026
7a7abd6
Merge pull request #129 from germanf/feature/alert-ui
germanf Jul 10, 2026
f0124a1
5.3.b — Prometheus metrics endpoint at /metrics with health_check gauge
Jul 10, 2026
7568ebb
Merge pull request #130 from germanf/feature/prometheus-metrics
germanf Jul 10, 2026
cc46e89
5.4.c — Health Timeline: degraded/unavailable lines, summary bar
Jul 10, 2026
35201ea
Merge pull request #131 from germanf/feature/health-timeline
germanf Jul 11, 2026
4333d4e
5.3.d — Backup Integrity Verification: PRAGMA integrity_check on all …
Jul 11, 2026
590c0f1
Merge pull request #132 from germanf/feature/backup-integrity
germanf Oct 28, 2026
c2555db
Merge branch 'main' into dev
germanf Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: parallelism validation, empty input guard, chunk denominator
  • Loading branch information
KyoX
KyoX committed Jul 7, 2026
commit 7cc90f1cd52422ef217a24808a718e1c949d0b5f
2 changes: 1 addition & 1 deletion dashboard/orchestrator/task_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def create_map_reduce(cls, root_task: str, map_description: str, parallelism: in
for i, chunk in enumerate(chunks):
if not chunk:
continue
desc = f"{map_description}\n\nInput chunk {i+1}/{len(chunks)}:\n" + "\n".join(chunk)
desc = f"{map_description}\n\nChunk {len(map_ids) + 1} of {parallelism}:\n" + "\n".join(chunk)
st = graph.add_subtask(description=desc, agent_type="claude")
map_ids.append(st.id)

Expand Down
7 changes: 6 additions & 1 deletion dashboard/routes/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,13 @@ async def event_stream():
@limiter.limit("10/minute")
async def create_map_reduce(request: Request, body: dict):
root_task = body.get("root_task", "")
if not root_task.strip():
return JSONResponse({"error": "root_task required"}, status_code=400)
map_description = body.get("map_description", "Process the following input")
parallelism = min(body.get("parallelism", 3), 10)
raw_par = body.get("parallelism", 3)
if not isinstance(raw_par, int) or raw_par < 1 or raw_par > 10:
return JSONResponse({"error": "parallelism must be int in [1, 10]"}, status_code=400)
parallelism = raw_par
reduce_description = body.get("reduce_description")

graph = TaskGraph.create_map_reduce(
Expand Down