Skip to content

fix(wintermute): isolate car_loader parse panics per-repo#196

Open
rudyfraser wants to merge 2 commits into
mainfrom
fix/car-loader-panic-isolation
Open

fix(wintermute): isolate car_loader parse panics per-repo#196
rudyfraser wants to merge 2 commits into
mainfrom
fix/car-loader-panic-isolation

Conversation

@rudyfraser

Copy link
Copy Markdown
Member

A panic during repo parsing (e.g. an invalid MST key in rsky-repo) killed the worker task permanently, which over many repos would deplete the worker pool and stall the load (and lost the repo silently). Isolate each parse in a child task so a panic is caught as a JoinError and recorded as a repo failure (queryable, retryable); the worker survives.

Test plan

  • cargo build --release
  • Verified on the full load: panicking repos now increment failed_repos instead of degrading the process; workers stay alive and throughput holds

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