Closed trajan0x closed 2 days ago
The latest updates primarily focus on integrating Codecov for enhanced code coverage reporting and build analytics. Key changes include the addition of CODECOV_TOKEN
across various CI workflow files and new plugins for webpack and Rollup configurations to enable bundle analysis. Additionally, several workflow configurations, especially those involving GitHub Actions, have been modified to use a deeper clone (fetch-depth: 2
). New scripts and documentation enhancements are also part of these updates.
File Path | Change Summary |
---|---|
.github/workflows/lerna.yaml |
Added CODECOV_TOKEN environment variable from the secrets.CODECOV secret. |
.github/workflows/packages.yml |
Added a new "Run build" job to run tests for all packages using npx lerna exec npm run build --parallel with CODECOV_TOKEN . |
.github/workflows/ui-preview.yaml |
Added CODECOV_TOKEN to environment variables for deployment steps to Vercel. |
.github/workflows/codeql.yaml , .github/workflows/go.yml , .github/workflows/solidity.yml |
Changed fetch-depth parameter from 1 to 2 in actions/checkout steps. |
CONTRIBUTING.md |
Specified the use of fetch-depth: 2 for shallow cloning in GitHub Actions to enable proper SHA determination. |
docs/bridge/docusaurus.config.ts , packages/explorer-ui/next.config.js , packages/synapse-interface/next.config.js |
Added codecovWebpackPlugin for bundle analysis and coverage reporting. |
docs/bridge/package.json , packages/explorer-ui/package.json , packages/synapse-constants/package.json , packages/synapse-interface/package.json |
Added dependency on @codecov/webpack-plugin ^0.0.1-beta.10 . |
packages/rest-api/package.json |
Modified the build script to include npm run build api . |
packages/contracts-rfq/package.json , packages/solidity-devops/package.json |
Added a new "build" script. |
packages/sdk-router/package.json , packages/widget/package.json |
Added @codecov/rollup-plugin dependency at version 0.0.1-beta.10 . |
packages/sdk-router/tsdx.config.js , packages/widget/rollup.config.js |
Included codecovRollupPlugin in Rollup configurations for bundle analysis and coverage uploading. |
docs/bridge/docs/rfq/API/relay-ack.api.mdx |
Documented the "Relay ack" feature for synchronizing relayer actions. |
In lines of code, a tale unfolds,
Where secrets weave and tokens hold.
Coverage gained with depths of two,
For all the tasks we thought to do.
Plugins weave their magic so,
With Codecov, our progress shows.
Together in this quest we strive,
To keep our project live and thrive.
[!TIP]
AI model upgrade
## `gpt-4o` model for reviews and chat is now live OpenAI claims that this model is better at understanding and generating code than the previous models. Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide any feedback or to report any issues.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Latest commit: |
6fad50c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://68770b60.sanguine-fe.pages.dev |
Branch Preview URL: | https://next-bundle-analyzer.sanguine-fe.pages.dev |
Changes will increase total bundle size by 4.9MB :arrow_up:
Bundle name | Size | Change |
---|---|---|
docs-bridge-client-array-push | 7.87MB | 1.78MB :arrow_up: |
docs-bridge-server-cjs | 14.71MB | 3.12MB :arrow_up: |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.05329%. Comparing base (
9cdc208
) to head (eff65f8
). Report is 3 commits behind head on master.:exclamation: Current head eff65f8 differs from pull request most recent head 24b39a8
Please upload reports for the commit 24b39a8 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
configures analyzer
Summary by CodeRabbit
New Features
codecovWebpackPlugin
andcodecovRollupPlugin
across multiple packages.package.json
files.Chores
CODECOV_TOKEN
environment variable.fetch-depth
parameter from1
to2
in several GitHub Actions workflows.948709fa87d8a0fc7db14f895bdbbc1b8dd5098a: docs preview link 948709fa87d8a0fc7db14f895bdbbc1b8dd5098a: explorer-ui preview link 94b5897e09cdc0dfce13c6cb7df0fddd7b1a845c: docs preview link f9e12fb1a4ec0d2bc202ccd68f6973523af66516: docs preview link 94b5897e09cdc0dfce13c6cb7df0fddd7b1a845c: synapse-interface preview link f9e12fb1a4ec0d2bc202ccd68f6973523af66516: synapse-interface preview link f9e12fb1a4ec0d2bc202ccd68f6973523af66516: explorer-ui preview link 94b5897e09cdc0dfce13c6cb7df0fddd7b1a845c: explorer-ui preview link 5125e7734bfd8f340c22289c4d3c68e9f675f1dc: docs preview link 5125e7734bfd8f340c22289c4d3c68e9f675f1dc: synapse-interface preview link 5125e7734bfd8f340c22289c4d3c68e9f675f1dc: explorer-ui preview link 173e7b7e18c270568ebbe12459118c878e309c85: docs preview link 173e7b7e18c270568ebbe12459118c878e309c85: synapse-interface preview link 173e7b7e18c270568ebbe12459118c878e309c85: explorer-ui preview link ee4c7125568c5885689a83e407c9454796a11409: docs preview link ee4c7125568c5885689a83e407c9454796a11409: synapse-interface preview link ee4c7125568c5885689a83e407c9454796a11409: explorer-ui preview link 6d321764b31a629f0ee3587d1f61159675f69605: docs preview link 6d321764b31a629f0ee3587d1f61159675f69605: synapse-interface preview link 6d321764b31a629f0ee3587d1f61159675f69605: explorer-ui preview link