fix: specify platform in docker build#845
Open
NickJ202 wants to merge 466 commits intofeat/community-nodefrom
Open
fix: specify platform in docker build#845NickJ202 wants to merge 466 commits intofeat/community-nodefrom
NickJ202 wants to merge 466 commits intofeat/community-nodefrom
Conversation
…x to access top via shell as well via release
feat: Add rate limiter device
…05' into impr/manifest-routing
Now the dev_bundler server manages the dispatch workers directly
Continues the refactoring of the dev_bundler modules and implements functionality to allow unbundled items and unfinished bundles to be recovered incrementally rather than requiring that all data be loaded first before any of it is processed
also force an lmdb flush to disk to ensure recovered items are correctly persisted
…ed regression within this PR) Now we do 2 converts before posting a TX: - one to build a Header-only TX that we use for posting. This makes the posting process much quicker - one to biuld a full-data TX tha we use for caching and recovery We shouldn't need to cache the full-data TX, so a future optmization can address that. We'll just have to be careful about rebuilding the data payload from the cache data items to ensure the reult is the same as when the original TX was posted
Remove verify_data_root guard added in 4603f31 to isolate the skipcat changes from the data_root_mismatch check.
Impr/skipcat nocommon
feat: filtering and sorting by Arweave block height
Swap b64fast (C NIF) for b64rs (Rust NIF, base64-simd). Same API: encode/1, decode/1. URL-safe no-pad. https://github.com/permaweb/b64rs
impr: replace b64fast with b64rs
impr: experimental lmdb + no_readahead
Sample LMDB metrics 1% of the time and check ensure_started once per proc
Previously the extract of subdomains from the client provided `host` value was broken for non-subdomain requests. This meant that a request on the node's root would needlessly return a 404 due to failure to resolve the empty string as a name.
`~arweave@2.9` previously incorrectly made the `codec-device` local to the request message of a proxied bundler dispatch. This patch corrects it to be in the global scope, such that it is detected by the `hb_http` flow on the receiving end
fix: correctly extract subdomain from client request and node `host`
fix: Correct bundler path query parameter
- Self-contained setup for running a HyperBEAM community node - Configurable Arweave node address via env var - Auto-starts continuous block indexing via cron - LMDB data persisted in Docker volume
- Add detect-coverage.py to discover indexable block height ranges - Add start.sh for native startup with continuous indexing - Add AUTO_INDEX env var to control continuous indexing - Add guided setup section for AI assistants in README
Collaborator
|
Thanks @NickJ202 , but what does that do to the non-x86 behavior? We don't want it to run in compatibility mode. We have encountered this issue before I think and I don't remember if there was a good fix. |
Author
It should still work, but definitely slower in emulation mode. Maybe we could conditionally check the platform inside the Dockerfile ? |
7099078 to
9160eb3
Compare
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.
Specifies --platform=linux/amd64 for both builder and runtime stages to ensure consistent compilation