Commit Graph

5 Commits

Author SHA1 Message Date
Adam Hathcock 812dac9920 OL2(fix) Use BatchingQueue instead of BatchedPool as parsing download happens on main thread asap anyway (#5165)
* Use BatchingQueue instead of BatchedPool as parsing download happens on main thread anyway

* add tests for keyedqueue

* clean up

* more prettier fix
2025-08-26 12:07:02 +01:00
Adam Hathcock cab2a401db OL2 (fix) Simplify idb (#5174)
* Simplify idb usage and collapse the class

* fix tests

* fmt
2025-08-26 12:06:47 +01:00
Adam Hathcock 7c1b9fa035 OL2(fix) Make a returned RawEncoding value return an empty Item instead of a undefined item (#5145)
* Make a returned RawEncoding value return an empty Item instead of a undefined item

* add generated tests and also cover RawEncoding case
2025-07-28 11:31:41 +01:00
Adam Hathcock 40e2b8148d OL2 (feat): dont return or save rawencoding type (#5143)
* Skip Objects.Other.RawEncoding when found

* ensure raw encoding is skipped

* Update packages/objectloader2/src/core/stages/serverDownloader.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Don't encode bytes if we don't have to

* oops, use const

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-25 14:37:55 +01:00
Adam Hathcock c5967a9616 (OL2) move files around to make more sense (#4950)
* Rename to saveBatch

* forgot a file

* first pass of cacheReader

* OL2 tests have infinite timeout

* OL2 refactor works

* fix for tests

* moved/removed types to make a more logical structure

* fixed imports

* rework loop to be in async generator for the expected count

* get rid of pumps and fix test

* lint fix

* redo mermaid diagrams

* add readme section on deferment

* always return root first

* fix linting

* revert the counting

* merge fixes

* remove unused var
2025-06-26 13:28:50 +01:00