Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

cleanup and upgrade deps #20

Merged
merged 4 commits into from
Apr 15, 2024
Merged

cleanup and upgrade deps #20

merged 4 commits into from
Apr 15, 2024

Conversation

xvello
Copy link
Contributor

@xvello xvello commented Apr 15, 2024

  • Remove unused deps thanks to cargo-shear (the only one working fine with workspaces)
  • Upgrade capture to axum 0.7.5. Bumped all axum-linked deps too. Only opentelemtry still pull axum 0.6, not a big deal
  • Use a fork of axum-test-helper while waiting for https://redirect.github.com/cloudwalk/axum-test-helper/pull/29 to be merged. Might want to move the django_compat integration test into the capture-server test suite instead of keeping this dep. Mocking the timesource is the biggest blocker here
  • Upgrade http to 1.1 for hook, to keep in sync with upgraded request

Left out governor for now, will tackle later

Testing

  • Integration tests are green
  • capture running locally ingests events OK on /i/v0/e, liveness, readiness and metric endpoints OK

@@ -38,6 +38,7 @@ use crate::{
compression
)
)]
#[debug_handler]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shows more informative compiler errors. Allowed me to pinpoint that the issue was InsecureClientIp needed an upgrade

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This macro has no effect when compiled with the release profile.

Nice

@xvello xvello marked this pull request as ready for review April 15, 2024 14:04
@xvello xvello requested a review from a team April 15, 2024 14:04
@@ -38,6 +38,7 @@ use crate::{
compression
)
)]
#[debug_handler]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This macro has no effect when compiled with the release profile.

Nice

@xvello
Copy link
Contributor Author

xvello commented Apr 15, 2024

Merging and deploying to dev first for all services

@xvello xvello merged commit 56d4615 into main Apr 15, 2024
4 checks passed
@xvello xvello deleted the xvello/upgrade branch April 15, 2024 14:20
@xvello xvello changed the title capture: cleanup and upgrade deps cleanup and upgrade deps Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants