Repository navigation
Batched crawl server (1/2) - #597
Conversation
|
Review of the server side. The response shape is additive, so older crawlers are unaffected. I found these issues: 1. The 2. Nothing tests the new path. The only test change is the dry-run assertion. There is no test that 3. The index is read right after 4. The dry-run branch returns 5. Small cleanups.
6. |
No functional changes to the crawler.
c99aca5 to
cb3ffc2
Compare
|
|
also for the record source issue : #596 |
|
I think the concern for 3 is not efficiency but correctness, Claude is asking for a test to confirm the previous write is visible in the read because it's read with a different handle. 6 is concerning given the goal is to make the crawler more lightweight. I think it won't make a difference right now but it does hurt the long term goal, take a look at #580 It would be best to measure the crawler memory before and after the change just to be sure we're not making things worse, or do the suggested refactor. |
|
The extra import only adds 2 MB of memory usage so merged as-is - also the write is read reliably immediately afterwards. |
Backward compatible with older crawlers
Part 2: #598