A local-first multi-agent app development platform, built on PenguinHarness
The error center folds a day's repeats into one counted row, and messaging failures that recover on their own are expected
- Date: 2026-09-30
- Type: fix
- Scope:
server,web,docs - PR: #908
The cost center's error table folded the records of one day that share a source, code, kind and message into one row that says how many there were, and the messaging connection and send failures that clear on their own were filed as expected instead of unexpected.
Details
- One row per error per day.
GET /usageandGET /usage/errorstook an optionalutcOffsetMinutes, the reader's offset east of UTC, which the Web App sends from the browser, and the error table folded its records by the reader's calendar day, source, code, kind and message. Each row (UsageErrorItem) carriedcount, its latest timetsand its first timefirstTs, newest first. Paging counted rows, and both responses gainedrows, the row count, whiletotal, the unexpected count and the most common code kept counting records. Without an offset the day was the server's own. Clearing still deleted records, and the recorder's short-window dedup and row cap were unchanged. - The panel. A row standing for several records showed a small muted "×N" after its message, its time was the latest one and its tooltip gave the first, and the pager counted rows ("25 rows").
- A verdict on each connection and send failure.
MessagingChannelError, on the connector seam, carriedrecovers, decided where a failure is read. The Telegram, QQ and WeChat transports marked a request that never completed and an HTTP 408, 429 or 5xx as recovering, and WeChat also its-14session timeout and any refusal after its credential passed, such as a send's "prepare failed". The QQ gateway added its handshake timeout, heartbeat loss, a reconnect the platform asked for, and the transport closes 1001, 1006 and 1011–1014 to 4009 and 4900–4913.TelegramApiError,QQApiError,WeChatApiErrorandMessagingConnectionClosedErrorbecame kinds of it. - The classification.
messagingErrorKindfiled a failure atmessaging_connect_failedormessaging_send_failedasexpectedwhen its verdict recovers, and asunexpectedotherwise, untyped failures included. A rejected credential, a missing permission, a Telegram webhook or second poller (409), a chat that blocked the bot and QQ's reply budget stayedunexpected. The other capture points kept their rules, and Feishu, whose long connection reports only once its SDK has given up, gained no verdict. - One report per outage. Telegram's and WeChat's poll loops took the QQ gateway's rule: a failure that recovers does not use up the outage's one report, so the first failure after it that does not recover is filed as well.
- Existing records. Rows already in the table kept the kind they were filed with.
- Docs. The Cost Center and Server API pages described the folded rows,
utcOffsetMinutesandrows, and how connection and send failures are classified.