Repository navigation
fix(lane C): keep a carry round's MarketCast entry count when 0 - #1065
Merged
Merged
Conversation
…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
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 infraat nearly every settlement.Cause:
LaneCDriver._mkt_arbitersawaits a settlement with no MarketCast entry of its own while an earlier round is still awaited (the carry), but stored its entry count only whenentries > 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_reportsstill recordsabsent);mkt_awaitis 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.py28 passed, 7 skipped locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7f8wd5dXsASyWUBwe