Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom proxy-metrics code. #12

Merged
merged 3 commits into from
Dec 6, 2024
Merged

Remove custom proxy-metrics code. #12

merged 3 commits into from
Dec 6, 2024

Conversation

plietar
Copy link
Contributor

@plietar plietar commented Dec 2, 2024

The only reason we had a custom implementation for proxy-metrics was because constellation used to start containers without any networking, and would only attach to the network as a second step, which broke the proxy's expectation. This issue was solved in reside-ic/constellation#23.

Thanks to this we can simplify our setup and use the standard declarative approach even for the proxy-metrics container.

@plietar plietar force-pushed the cleanup-proxy-metrics branch from 108f88b to ab2469a Compare December 2, 2024 14:54
The only reason we had a custom implementation for proxy-metrics was
because constellation used to start containers without any networking,
and would only attach to the network as a second step, which broke the
proxy's expectation. This issue was solved in
reside-ic/constellation#23.

Thanks to this we can simplify our setup and use the standard
declarative approach even for the proxy-metrics container.
@plietar plietar force-pushed the cleanup-proxy-metrics branch 2 times, most recently from fef3ad5 to d05f3c3 Compare December 2, 2024 17:05
@plietar plietar force-pushed the cleanup-proxy-metrics branch from d05f3c3 to 22951f7 Compare December 2, 2024 17:05
@plietar plietar force-pushed the cleanup-proxy-metrics branch from e9fbb49 to 62ffa2d Compare December 2, 2024 17:52
@plietar plietar requested a review from richfitz December 2, 2024 17:53
@plietar
Copy link
Contributor Author

plietar commented Dec 2, 2024

The tests diff looks pretty big because I moved a lot of it inside of try-finally blocks to make the tests more robust. Without it a failing test wouldn't clean up after itself and would cause all the other tests to fail.

If you ask GitHub to ignore whitespace it is a bit better.

Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.36%. Comparing base (d8b6856) to head (62ffa2d).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   99.43%   99.36%   -0.07%     
==========================================
  Files           4        4              
  Lines         355      316      -39     
  Branches       42       36       -6     
==========================================
- Hits          353      314      -39     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@plietar plietar merged commit f8fe27a into main Dec 6, 2024
6 checks passed
@plietar plietar deleted the cleanup-proxy-metrics branch December 6, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants