test: Add language-neutral protocol fixtures and Python runner (Phase 1)#443
Open
Titas-Ghosh wants to merge 2 commits intoControlCore-Project:devfrom
Open
Conversation
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.
Hi @pradeeban, as discussed in #440, here is the first PR to establish the protocol conformance infrastructure.
Summary
This PR introduces Phase 1 of the protocol conformance work in a strictly non-breaking, report only way.
It adds a language neutral fixture format and a Python conformance runner to establish an observable baseline for core protocol behavior, without changing any runtime logic.
Recent testing improvements added strong coverage, but we still lack a reusable conformance layer that can be extended across bindings in later phases. This PR lays the foundation by focusing purely on baseline infrastructure and Python verification.
Scope (Phase 1 only)
tests/protocol_fixtures/schema.phase1.jsontests/protocol_fixtures/python_phase1_cases.jsontests/protocol_fixtures/PROTOCOL_FIXTURES.mdtests/test_protocol_conformance.pySafety / Non-Goals
concore.py,concoredocker.py, or any other runtime files.Validation
Command Executed:
Result:
parse_params,initval, andwrite_zmq).Evidence
1) Minimal PR Scope & Line Impact
2) Conformance Runner Passing
Next Phase (separate PR)
If you think this foundation is proper and can be merged , then the next steps that i will be working on are :
required,implementation_defined, orknown_deviationbefore any enforcement.Happy to iterate based on your feedback!