Skip to content

fix(buyer): re-award a job its worker failed to the next bidder (v0.3.68) - #367

Merged
ralyodio merged 2 commits into
masterfrom
fix/buyer-reaward-on-failure
Nov 14, 2026
Merged

ralyodio merged 2 commits into
masterfrom
fix/buyer-reaward-on-failure

Conversation

@ralyodio

Copy link
Copy Markdown
Collaborator

Why: a Failed/Timeout receipt, or no receipt in time, ended the auction, so the buyer failed the whole job. Today an outside node fresh on the house 7B won every Infernet chat (best bench, load 0) and failed each after ~60 s; Infernet then fell back to a daemon ~60 s late. Anthony: "we need retry or re-distribute logic … it should [use] another node to run the job."

What: the job goes to the next-best bidder from the same auction (failed worker excluded), up to MAX_REAWARDS (2) times and only inside the job's deadline. Twin re-award unchanged. should_reaward() is the rule (unit-tested). v0.3.68 so the jobs bridge and every node pick it up.

Tests: cargo test -p c0mpute-core --lib buyer 25/25 on vienna (incl. new reaward_tests).

🤖 Generated with Claude Code

ralyodio and others added 2 commits November 14, 2026 10:55
A Failed/Timeout receipt, or no receipt in time, used to end the auction, so
the buyer (the Infernet jobs bridge) failed the whole job. 2026-11-14 an
outside node fresh on the new house 7B won every chat (best bench, load 0)
and failed each after ~60 s; Infernet then fell back to a daemon, ~60 s late.

Now the job goes to the next-best bidder from the same auction (the failed
worker excluded), up to MAX_REAWARDS (2) times and only inside the job's
deadline; the twin re-award path is unchanged. should_reaward() is the rule,
unit-tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 d4d4274 into master Nov 14, 2026
17 of 19 checks passed
@ralyodio
ralyodio deleted the fix/buyer-reaward-on-failure branch November 14, 2026 11:28
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