Skip to content

fix(nodes): merge per-node 24h jobs across aggregators (v0.3.66) - #364

Merged
ralyodio merged 1 commit into
masterfrom
feat/nodes-jobs-merge
Nov 14, 2026
Merged

ralyodio merged 1 commit into
masterfrom
feat/nodes-jobs-merge

Conversation

@ralyodio

Copy link
Copy Markdown
Collaborator

Follow-up to #363. After deploy, /nodes showed 0 jobs for every node even though the network had 61 completed jobs in 24h: the dev2 aggregator (inside c0mputecom-app) restarts on each web deploy and resets its in-memory window, and the board took one aggregator's answer whole. The vienna seed (:8091) has the full day but runs the 0.3.65 release binary, which has no jobs_24h.

  • getNodesPayload reads /nodes from every configured aggregator, keeps the board from the one seeing the most workers (unchanged), and overlays each node's jobs_24h from whichever aggregator counted the most jobs for it (mergeJobStats).
  • Version bump to 0.3.66 (same files as the 0.3.65 bump, incl. the c0mpute crates in Cargo.lock) so the seeds' release aggregators compute jobs_24h after they update.

🤖 Generated with Claude Code

Each status aggregator keeps its 24h job window in memory, and the board took
one aggregator's answer whole (the one seeing the most workers). The dev2
aggregator restarts on every web deploy, so the jobs/earnings columns reset to
zero even while the vienna seed still held the whole day. getNodesPayload now
reads every aggregator and overlays each node's jobs_24h from whichever counted
the most jobs for it.

Bumps to 0.3.66 so the seed aggregators (release binaries) start computing
jobs_24h too (from #363).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

14 finding(s)

HIGH/CRITICAL: 2 | MEDIUM: 8 | LOW: 4

Severity Rule Location
HIGH js-ssrf-outbound-request apps/web/public/sw.js:24
HIGH sh-remote-script-execution scripts/install.sh:606
MEDIUM js-unescaped-html-sink apps/web/src/app/blog/[slug]/page.tsx:53
MEDIUM js-unescaped-html-sink apps/web/src/app/layout.tsx:109
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:116
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:117
MEDIUM sql-template-interpolation apps/web/src/lib/chat/push.ts:476
MEDIUM js-dynamic-code-execution apps/web/src/lib/router/verify.ts:91
MEDIUM sh-remote-script-execution scripts/dev-setup.sh:25
MEDIUM sh-eval-expansion scripts/dev-setup.sh:35
LOW py-ssrf-outbound-request examples/business-strategist-agent/chat.py:37
LOW py-ssrf-outbound-request examples/business-strategist-agent/train.py:54
LOW secret-generic-credential node/crates/c0mpute-core/src/webhook.rs:1171
LOW py-path-traversal node/crates/c0mpute-core/tests/fixtures/fake-infernet-text:29

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit 2490c78 into master Nov 14, 2026
17 of 19 checks passed
@ralyodio
ralyodio deleted the feat/nodes-jobs-merge branch November 14, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant