electric-fix-elixir-client-cache
## Task on stacks where a cdn or proxy runs in front of the electric sync service, our long-running elixir shape streams occasionally get stuck after a shape rotation and never recover. the app process keeps making requests, the server keeps responding, but the shape never makes progress. same handle mismatch, over and over. restarting the elixir process clears it for a while, then the next rotation hits the same shape and it gets stuck again. the ts client on the same backend doesn't have the issue, so it's something specific to the elixir client. the elixir client should match what the typescript client is doing on this protocol path, fix it. ## General instructions - The code repo is at /repo/electric. - You are inside of a Docker container. You may not be able to perform all operations you would normally be able to do on a local machine. Dependencies have not been pre-installed, and you may need to install them yourself. - You are expected to act autonomously as a software engineer to complete tasks you are given. - Do not stop until you feel you have completed the task and your code changes can be merged. - You may need to use software engineering skills like analyzing the codebase, researching technologies, running services, analyzing logs, etc. to complete the task. Not all tasks will be solvable by reading source code alone.
Agent Results
Agent details
Verifier Tests
Gemini 3.1 Pro1/4
Rubric Criteria
Gemini 3.1 Pro1/3
Fail → Pass
bounded_retry_with_clear_error_on_persistent_stale_cdn
cache_buster_param_on_stale_retry
Pass → Pass
expired_handle_tracking_is_bounded
Taste Scores
Patch Bloat— 0.0x
14 agent / 289 oracle SLOC, 1 / 6 files(raw: 0.2x)
Practice Alignment — 3.0/5
2
style consistency3
pattern adherence4
library usage3
abstraction level3
documentation fitRelative Taste — 2.0/5
4
minimality2
approach quality2
hygiene3
fluency2
craftsmanship