Skip to content

Conversation

@cadejacobson
Copy link
Contributor

@cadejacobson cadejacobson commented Oct 10, 2025

Changes

This PR allows the use of custom response code sequences for the mocked WireServer. Using a new CLI flag, the user can specify which file they would like the WireServer to respond with. This also introduced the per-response delay for the wireserver. Both of these features are already implemented for IMDS.

Along with this improvement, I also ran a formatter on save to ensure that everything stayed consistent. This makes the PR look bigger than it actually is.

How to use

This PR runs automatically in the E2E Testing pipeline and should not be run locally. Reviewers should examine the Provisioning Agent container logs, Testing Server container logs, KVP logs, and Azure-Init logs which are found at the bottom of the pipeline.

Testing done

This PR does not modify any of the Azure-init code, so testing has been done through the CI pipeline that is associated with it.

Work Items

This PR resolves #246 and completes the last child of #242.

@cadejacobson cadejacobson marked this pull request as ready for review October 13, 2025 23:26
peytonr18
peytonr18 previously approved these changes Oct 14, 2025
Copy link
Contributor

@peytonr18 peytonr18 left a comment

Choose a reason for hiding this comment

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

LGTM!

@peytonr18 peytonr18 dismissed their stale review October 14, 2025 17:34

New changes.

@cadejacobson cadejacobson merged commit 643e753 into Azure:main Oct 14, 2025
6 checks passed
@cadejacobson cadejacobson deleted the cade/custom-post branch October 14, 2025 20:06
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.

[RFE] Add customization for wireserver responses

2 participants