Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

nwnt
Copy link
Member

@nwnt nwnt commented Sep 28, 2025

There are a lot of hardcoded or fixed configurations of the client for its etcd endpoints and where to find the etcd data files. The current configuration works for static test environment like docker-compose, but is a challenge for configuring in a more dynamic environment like k8s (explained a bit here).

This PR refactors the configurations so that they are configured via environment variables instead.

@serathius

Signed-off-by: Nont <nont@duck.com>
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nwnt
Once this PR has been reviewed and has the lgtm label, please assign ivanvc for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nwnt nwnt changed the title Refactor how antithesis can be configured Refactor how antithesis client can be configured Sep 28, 2025
Copy link

codecov bot commented Sep 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.15%. Comparing base (ab3f19a) to head (fce3843).
⚠️ Report is 117 commits behind head on main.

Additional details and impacted files

see 30 files with indirect coverage changes

@@            Coverage Diff             @@
##             main   #20736      +/-   ##
==========================================
+ Coverage   68.80%   69.15%   +0.35%     
==========================================
  Files         418      420       +2     
  Lines       34707    34817     +110     
==========================================
+ Hits        23879    24079     +200     
+ Misses       9435     9341      -94     
- Partials     1393     1397       +4     

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab3f19a...fce3843. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@k8s-ci-robot
Copy link

@nwnt: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-etcd-coverage-report fce3843 link true /test pull-etcd-coverage-report
pull-etcd-e2e-386 fce3843 link true /test pull-etcd-e2e-386

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@serathius
Copy link
Member

I'm unable to follow all the changes happening here. I don't consider it as refactor as it changes logic, there are so many variables changing at the same time that I'm unable to follow. Do we really need to rewrite everything at once?

@nwnt
Copy link
Member Author

nwnt commented Sep 28, 2025

I think this is too big, but the goal is to move all the configs to the environment variables (i.e. standardizing them) instead of calculating them at the start of drivers or configuring it during the client build.

I'm having this out based on the discussion here. By the way, the existing ETCD_ROBUSTNESS_DATA_PATH is not really a path, but more like a path prefix.

@k8s-ci-robot
Copy link

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.