Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log the progress of substreams (#4935)
* Update protobuf structure * Log progress message once every 30 sec. * superfluous trace_id * better formating * spelling * humane representation of time * concise logs * factor out the log string code * move loging code to other file * don't allow multiple trace_id in logs * proper handling of trace_id * v0.33.0 (#4886) * cargo: update workspace crates' version to v0.33.0 * update NEWS.md for v0.33.0 * Add new API Version to validate when setting fields not defined in the schema (#4894) * build(deps): bump chrono from 0.4.26 to 0.4.31 (#4876) Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.26 to 0.4.31. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](chronotope/chrono@v0.4.26...v0.4.31) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump webpki from 0.22.0 to 0.22.1 (#4857) Bumps [webpki](https://github.com/briansmith/webpki) from 0.22.0 to 0.22.1. - [Commits](https://github.com/briansmith/webpki/commits) --- updated-dependencies: - dependency-name: webpki dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * runtime: only include valid fields in entity for store_set * graph, runtime: add new apiVersion to validate fields not defined in the schema * graph: update tests for setting invalid field * tests: add runner tests for undefined field setting validation in apiVersion 0.0.8 * graph: add check_invalid_fields method to HostExports --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update NEWS.md * tests: add .gitignore for api-version test --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docker: upgrade cloudbuild machineType * fix(graphql): change CDN to JS Deliver for GraphiQL (#4941) * fix(graphql): change CDN to JS Deliver for GraphiQL * fix(graphql): add crossorigin prop * build(deps): bump toml from 0.7.6 to 0.8.4 Bumps [toml](https://github.com/toml-rs/toml) from 0.7.6 to 0.8.4. - [Commits](toml-rs/toml@toml-v0.7.6...toml-v0.8.4) --- updated-dependencies: - dependency-name: toml dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump semver from 1.0.18 to 1.0.20 Bumps [semver](https://github.com/dtolnay/semver) from 1.0.18 to 1.0.20. - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](dtolnay/semver@1.0.18...1.0.20) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * docs: Update information about `graphman config check` * docs: Add a guide for sharding * tests: Update runner-tests package.json * fix(tests): yarn workspace to install all subfolders * ci: update to node 20 * fix(graphql): add crossorigin prop (#4948) * Fix issues in runner tests (#4962) * tests: Don't compare WASM backtraces While it would be nice to test them in isolation, here it is just making these high-level tests too sensitive to unrelated changes. * tests: Test PoI as hex and update to current value This changed probably because graph-cli and -ts were updated. * tests: Make `data_source_revert` more robust to code updates Previously it would break whenever the graft base subgraph id would change, now that id is updated automatically. * Update tests/runner-tests/data-source-revert/package.json Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com> --------- Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com> * store/test-store: test more types for DataSource context in manifest * server/index-node : lazy load features from manifest when a subgraph is not deployed * [Feature] Add support for `endBlock` in data sources (#4787) * graph,chain,store/test-store : Allow new param `endBlock` in manifest * core,graph,store: ignore end_block reached datasources in match_and_decode, include them in processed datasources * tests : add runner tests for end-block * core: move TriggerFilter construction into SubgraphRunner.run_inner * core: filter out endBlock reached subgraphs when constructing TriggerFilter * chain,core: refactor endBlock implementation * refactor `SubgraphRunner.run_inner` to extract `build_filter` * core : handle reverts for endBlock * chain,graph: set min_spec_version requirements for endBlock * core: refaction `build_filter` * tests: runner test for endblock on reorg * core: restart block stream in the next block for endblock reached ds * graph: bump specVersion requirement for endBlock * core: refactor build_filter logic * core, tests, graph : make TriggerFilters testable * chain/startknet: endBlock support for starknet * chain,core,graph: refactor end_block implementation * core: refactor build_filter * Add comments for end-block runner tests * graph, runtime, chain: Add GasMetrics for DIPS experiments * graph: refactor GasCounter for trackiing gas metrics, add a new env for gas metrics * tests: Revamp the integration tests With these changes, we do not use truffler/ganache anymore. Tests are now written as normal Rust tests. See `tests/README.md` for details * runner tests: Do not clobber api-version tests Two different tests are run in the same directory; make sure that the files they generate and use do not clobber each other. * workflows: Do not compile with --verbose for runner tests * graph, store: Track connection wait time in the trace There are other places during query execution where we might be waiting for connections, but this at least records the times for getting the actual data. * graph, store: Track permit wait times in query traces * fix: Increase RPC base backoff (#4984) * fix: Increase RPC base backoff * fix: Add 'stack underflow' to deterministic geth errors * Make `SubstreamsBlockIngestor` start at chain's head if no cursor already exist (#4951) Fixes #4942 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Zoran Cvetkov <zoran@edgeandnode.com> Co-authored-by: Krishnanand V P <44740264+incrypto32@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: incrypto32 <vpkrishnanand@gmail.com> Co-authored-by: Saihajpreet Singh <saihajpreet.singh@gmail.com> Co-authored-by: David Lutterkort <lutter@watzmann.net> Co-authored-by: Leonardo Yvens <leoyvens@gmail.com> Co-authored-by: Matthieu Vachon <matt@streamingfast.io>
- Loading branch information