Skip to content

fix(lane C): keep a carry round's MarketCast entry count when 0 - #1065

Merged
tensorlink-dev merged 1 commit into
mainfrom
lanec-await-entries
Dec 3, 2026
Merged

tensorlink-dev merged 1 commit into
mainfrom
lanec-await-entries

Conversation

@tensorlink-dev

Copy link
Copy Markdown
Contributor

Problem (live 2026-11-27 → 12-02): the trainer's lane C driver logs ERROR lane C: MarketCast report of <rid> absent after 8 settlement(s) — recorded absent; its ? MarketCast entr(ies) defer as infra at nearly every settlement.

Cause: LaneCDriver._mkt_arbiters awaits a settlement with no MarketCast entry of its own while an earlier round is still awaited (the carry), but stored its entry count only when entries > 0. At timeout the missing count (None) was treated as "has candidates", so a candidate-less round raised the infra-deferral ERROR. The validator correctly publishes no MarketCast report for a round without entries, so every such round timed out, and the chain kept itself alive. The false ERROR buries the real alert.

Fix: always record entries (including 0). A candidate-less round's timeout now logs the existing WARNING ("no MarketCast entry of its own"); a round with entries still raises the ERROR.

Unchanged: the signed lane C manifest (mkt_reports still records absent); mkt_await is trainer-internal state; no verdict, pay or satellite-visible byte changes. The carry chaining itself is left as is.

Tests: new test_candidate_less_carry_round_times_out_as_warning_not_error; tests/unit/test_marketcast_trainer.py + test_lane_c_plugin.py 28 passed, 7 skipped locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe

…alse '? entries defer as infra' ERROR)

A settlement with no MarketCast entry of its own is awaited while an earlier
round is (the carry), but _mkt_arbiters stored its entry count only when > 0,
so at timeout it was treated as having candidates and logged an ERROR
'its ? MarketCast entr(ies) defer as infra' at nearly every settlement since
2026-11-27, burying the real alert. The count is now always kept; a
candidate-less round's timeout is a WARNING. The signed manifest is unchanged
(mkt_reports still records 'absent'); mkt_await is trainer-internal state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe
@vercel

vercel Bot commented Dec 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cascade Ignored Ignored Dec 3, 2026 1:04am UTC

Request Review

@tensorlink-dev
tensorlink-dev added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 3a54f99 Dec 3, 2026
12 checks passed
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