Repository navigation
Vendored threadspawn and iterator - #177
Merged
Merged
Conversation
|
| Filename | Overview |
|---|---|
| .gitmodules | Registers the new iterator and threadspawn package submodules. |
| archivist/merkletree/asyncbuilder.nim | Replaces explicit batch contexts and signal management with spawnJoin futures and result-channel delivery. |
| archivist/erasure/erasure.nim | Refactors encoding and decoding workers to borrow prepared buffers and return generated sequences through spawnJoin. |
| archivist/blockexchange/network/networkpeer.nim | Migrates large-message encoding and decoding to the vendored threadspawn API with contract-error handling. |
| archivist/stores/queryiterhelper.nim | Adapts kvstore query iterators to the vendored AsyncIter interface and maps disposal errors into iterator exceptions. |
| archivist/stores/repostore/overlays/overlays.nim | Migrates overlay listing and collection to vendored asynchronous iterator operations. |
| archivist/stores/repostore/store.nim | Changes block listing to return the vendored AsyncIter and translates query failures into raised iterator errors. |
| vendor/nimble/iter | Pins the external iterator package, whose source is not materialized in this workspace. |
| vendor/nimble/threadspawn | Pins the external threadspawn package, whose source is not materialized in this workspace. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Archivist call sites] --> B[pkg/iter]
A --> C[pkg/threadspawn]
B --> D[Async repository queries]
C --> E[Taskpool workers]
E --> F[SpawnJoin result channel]
Reviews (7): Last reviewed commit: "vendor: re-pin nim-kvstore to 0.2.0" | Re-trigger Greptile
dryajov
force-pushed
the
feat/vendored-threadspawn-iter
branch
4 times, most recently
from
August 19, 2026 02:18
730e030 to
e93004f
Compare
dryajov
force-pushed
the
feat/vendored-threadspawn-iter
branch
from
August 19, 2026 02:27
e93004f to
6ee69fc
Compare
Matches the nim-kvstore lock pin; single commit (nimble.paths generation in the test task).
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.
Extract threadspawn and iterators to own packages