Skip to content

multiple fake adapters for chaos testing#2435

Merged
skudasov merged 2 commits intomainfrom
multiple-fakes
Feb 27, 2026
Merged

multiple fake adapters for chaos testing#2435
skudasov merged 2 commits intomainfrom
multiple-fakes

Conversation

@skudasov
Copy link
Contributor

@skudasov skudasov commented Feb 27, 2026


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes enhance the flexibility and usability of the fake data provider components by introducing a default port and container name. This makes it easier to use the components without needing to specify these details every time, simplifying testing and development processes.

What

  • framework/.changeset/v0.14.9.md
    • Added a changeset file to document the addition of multiple fake adapters for chaos testing.
  • framework/components/fake/container.go
    • Added ContainerName field to the Input struct for specifying Docker container names.
    • Introduced a defaultFake function to set default values for Port and ContainerName if they are not provided, enhancing usability by providing sensible defaults.
    • Updated NewDockerFakeDataProvider and NewWithContext functions to utilize in.ContainerName instead of generating a generic name, allowing for more customized container naming.
    • Adjusted Docker container setup and Kubernetes service creation to reference in.ContainerName, ensuring consistency in naming across different execution environments.

@skudasov skudasov requested a review from a team as a code owner February 27, 2026 10:52
@github-actions
Copy link

👋 skudasov, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@skudasov skudasov merged commit db7dc01 into main Feb 27, 2026
73 of 75 checks passed
@skudasov skudasov deleted the multiple-fakes branch February 27, 2026 11:21
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