Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enable XDBG integration tests by adding container builders and wiring full end-to-end flow in
integration_test.TestXDBGRealMLSPayloadsIntroduces reusable test container builders for Anvil (
builders.AnvilContainerBuilder), xmtpd (builders.XmtpdContainerBuilder), xmtpd-gateway (builders.XmtpdGatewayContainerBuilder), xdbg (builders.XdbgContainerBuilder), and CLI (builders.CLIContainerBuilder) under xdbg_container_builder.go, xmtpd_container_builder.go, xmtp_gateway_container_builder.go, cli_container_builder.go, and anvil_container_builder.goAdds CLI-based
builders.RegisterNodeandbuilders.EnableNodeflows to register and enable a node during tests in cli_commands.goReplaces skipped XDBG test with an end-to-end network bring-up and three generators (identity, group, message) with count 10 in xdbg_test.go
Extracts common test utilities and constants into utils.go and centralizes the Anvil image in anvil.go
Updates upgrade tests to use new builders in upgrade_test.go and removes in-test builder implementations from docker_utils_test.go
Adds ignore patterns for integration artifacts in .dockerignore and exports
XMTPD_SIGNER_ADDRESSin dev/local.env📍Where to Start
Start with the test flow in
TestXDBGRealMLSPayloadsto see how the builders are composed in xdbg_test.go, then review the container builder implementations beginning with utils.go.Macroscope summarized b4f26c8.