Closed abtestingalpha closed 2 months ago
This pull request introduces multiple changes across various files. A new linter for detecting magic numbers is added in the .golangci.yml
configuration. The core/go.mod
file includes a direct dependency on the google.golang.org/grpc
package. Documentation enhancements for OTLP exporter configuration are made, along with new functionalities for handling multiple exporters in the metrics package. Additionally, API documentation is updated to include a versioning header, and a new interface for multicall functionality is defined in the contracts.
File | Change Summary |
---|---|
.golangci.yml |
Added the mnd linter to detect magic numbers. |
core/go.mod |
Added direct dependency on google.golang.org/grpc version v1.64.0 , removing it from indirect dependencies. |
core/metrics/README.md |
Enhanced documentation for OTLP exporter configuration, detailing environment variables for multiple exporters. |
core/metrics/export_test.go , core/metrics/otlp_test.go |
Introduced HeadersToMap function for converting header strings to a map and added unit tests for it. |
core/metrics/multiexporter.go , core/metrics/multiexporter_test.go |
Added MultiExporter interface and implementation for exporting spans to multiple OTLP exporters concurrently, along with unit tests for its functionality. |
core/metrics/otlp.go |
Enhanced OTLP exporters to support multiple configurations based on environment variables, introducing new utility functions. |
core/metrics/rookout.go |
Added import statement for the os package. |
docs/bridge/docs/rfq/API/API.md |
Updated documentation to include the X-Api-Version HTTP response header. |
packages/contracts-rfq/CHANGELOG.md |
Updated changelog for version 0.3.0 release, noting the introduction of a multicall target abstraction. |
packages/contracts-rfq/contracts/interfaces/IMulticallTarget.sol , packages/contracts-rfq/contracts/utils/MulticallTarget.sol |
Defined an interface for multicall functionality and introduced MulticallTarget contract for executing batched calls while preserving msg.sender . |
packages/contracts-rfq/package.json |
Updated version number to 0.3.0. |
packages/contracts-rfq/test/MulticallTarget.t.sol |
Added comprehensive test suite for MulticallTarget functionality. |
contrib/opbot/botmd/commands.go |
Enhanced traceCommand and rfqRefund functions with additional parameters and improved error handling. |
mnd
linter, which directly relates to the changes made in the main PR that introduced this linter for detecting magic numbers. Both PRs deal with linter configurations and their implications on code quality.google.golang.org/grpc
package in the core/go.mod
file, which is relevant as the main PR also modifies the same file to add this dependency.size/s
🐰 In the meadow where bunnies hop,
New linters and features make our hearts stop!
With gRPC added, we dance and play,
Enhancing our code in a joyful way.
Documentation shines, clear as can be,
Hooray for the changes that set us all free! 🐇✨
Attention: Patch coverage is 67.53927%
with 62 lines
in your changes missing coverage. Please review.
Project coverage is 38.23421%. Comparing base (
a240292
) to head (377a7fa
). Report is 28 commits behind head on fe-release.
Files with missing lines | Patch % | Lines |
---|---|---|
core/metrics/otlp.go | 70.63492% | 30 Missing and 7 partials :warning: |
core/metrics/multiexporter.go | 71.05263% | 9 Missing and 2 partials :warning: |
contrib/opbot/botmd/commands.go | 0.00000% | 10 Missing :warning: |
contrib/opbot/botmd/botmd.go | 0.00000% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes will increase total bundle size by 4.18kB (0.01%) :arrow_up:. This is within the configured threshold :white_check_mark:
ℹ️ *Bundle size includes cached data from a previous commit
Latest commit: |
0357100
|
Status: | ✅ Deploy successful! |
Preview URL: | https://31f2d22f.sanguine-fe.pages.dev |
Branch Preview URL: | https://master.sanguine-fe.pages.dev |
null 77859d5b26ac6f45c297f5191bfdf8419918e9f1: docs preview link 77859d5b26ac6f45c297f5191bfdf8419918e9f1: synapse-interface preview link
Summary by CodeRabbit
Release Notes
New Features
Enhancements
X-Api-Version
header across multiple endpoints.Bug Fixes
Tests
a2582c5b7ff06a8901e1e3c4c5b8d1b3f59e064a: docs preview link a2582c5b7ff06a8901e1e3c4c5b8d1b3f59e064a: synapse-interface preview link 749bd4b1f36050e7f6b7593929eccb79f1ce295c: docs preview link 749bd4b1f36050e7f6b7593929eccb79f1ce295c: synapse-interface preview link 2e20047adba6a32303240169ec3bea3b06cd0abe: docs preview link 2e20047adba6a32303240169ec3bea3b06cd0abe: synapse-interface preview link 707eca0f7b917b73c69d61f816c64d3fd3ae66ef: docs preview link 707eca0f7b917b73c69d61f816c64d3fd3ae66ef: synapse-interface preview link d988f7b2ae7196d04e87da5be77646db3702864a: docs preview link d988f7b2ae7196d04e87da5be77646db3702864a: synapse-interface preview link