Repository navigation
Fix 25 problems from the log (http, replica, runners) - #247
Merged
danielehrhardt merged 2 commits intoOct 25, 2026
Merged
Conversation
…rnings - remote-snapshot.test.ts: drop the imports two merges added twice, and expect the free-slug behaviour for a project or workspace both computers made - A remote run's memory merge goes ahead on the runner's existing setup when the setup copy fails - A setup copy that fails like last time and a replica change that keeps failing on retry are logged at info after the first warning
…blems-from-the-log-http-replic
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.
Fixes main's red CI and quiets the device-group warnings that were flooding the log. The main problem in the log, the projects slug clash, was already fixed on main by #243, which was merged after the build that wrote this log.
Main is red, and this branch makes it build again
Every main CI run since #241 and #243 were both merged this morning fails at typecheck (latest run on
30567535, same error). The two PRs fixed the same clash in different ways:test/remote-snapshot.test.tsimportsclearGroup,setGroup,ensureReplicaandresetReplicaCachetwice. I removed the duplicates.earshot-2) and sends that back to the primary. So both projects exist on both computers and nothing is skipped. I kept Resolve project slug clashes between device group computers #243's behaviour and rewrote the two tests to expect it. Keep a secondary's setup copy going when both computers made a row with the same name #241's code stays as a fallback for unique indexes other than slugs.The slug-clash lines
These all come from one cause:
could not take a change of projects yet(1505)could not copy the setup to runner(226)POST /api/* failed(502runner_sync_failed, the only errors)could not merge memory after run(24, a different run each time)Each one carries
UNIQUE constraint failed: projects.workspace_id, projects.slug. The installed build (6bdf269+changes) doesn't have #243; it reaches the desktop app with the next update.Code changes in this PR
work: truerule that Resolve project slug clashes between device group computers #243 gave chat starts and messages. The failure is logged throughlogFailure, so an offline or timed-out runner logs at info.sync_error, it is logged at info. The first failure still warns, and the runner card still shows it.replica.test.tsthat checks the levels go warn, info, info.Not code bugs, nothing changed
didn't answer in time,is offlineandcould not take the changes oflines were logged on builds without Fix 25 problems from the log (http, runner, db) #237 (merged 10-23 09:31Z). Since Fix 25 problems from the log (http, runner, db) #237 they log at info.ENOTFOUND(81),ECONNRESET,ECONNREFUSED,Request timed out, the sourcesCan't reach github.comandTimed out talking to github.comlines, andResolving timed out(that one is from before Fix 25 problems from the log (http, runner, db) #237, which classifies it as "Can't reach").CDP connection closed(the browser restarts on next use). The log counts 206 sleeps, 186 of them during runs.DELETE FROM agentsis a one-off.high memory use: inline screenshots in desktop chats.unknown API routeand the mirror skipping a heavy chat: the runner is on an older build. They go away once it updates.Checks
pnpm -r typecheck: passes.remote-snapshot,replica,remote-e2eandself-repairtests: 77 pass, 0 fail, after merging the latestorigin/main.applyRuntimeSettingsin later ones. I reran each of the 27 affected files on its own and all pass exceptfolders.test.ts > list subfolders, which fails here because the temp dir holds more than 500 entries. Linux CI was green before the double merge.Task #66 · done by Self-Healer with Godmode Bot