Repository navigation
fix(tck): isolate HTTP diagnostics infrastructure - #243
Merged
Conversation
MisterVVP
merged commit Sep 9, 2026
3002179
into
dev-optimize-streaming-response-latencies
17 checks passed
MisterVVP
deleted the
dev-address-pr-#223-review-findings-and-refactor-tck_sut.cpp
branch
September 9, 2026 19:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
nm.tck_sut.cppby extracting store and HTTP server implementation details into focused components.Description
tests/sut/tck_sut_http_server.cpp/.hand introducedTckHttpServeras a small RAII-style helper that owns listener, accept loop, connection workers, FD bookkeeping, and diagnostic counters.tests/sut/tck_sut_store.cpp/.hand exposed onlyCreateStoreBundleFromEnvironment()to the bootstrap caller.kDiagnosticsResetPath) inside the HTTP server and handled it by executing the reset and returning204 No Contentwhile skipping all HTTP accounting for that request so per-connection measurement state is not corrupted.tests/CMakeLists.txtto build the new sources into thetck_suttarget and to select a platform-appropriate symbol-inspection tool in CMake; the selected tool and its arguments are passed to the Python test.tests/scripts/subscription_diagnostics_build_test.pyto accept a--symbol-tooland--symbol-argument(no platform assumptions) and addedtests/scripts/subscription_diagnostics_build_test_test.pyunit tests for command construction.tests/scripts/http_diagnostics_reset_test.pythat opens a persistent connection, sends the internal diagnostics reset, then a measured RPC over the same connection and asserts the reset did not affect diagnostics counts.