Skip to content

test(evm): verify static descriptor bindings before use - #2427

Merged
N0zoM1z0 merged 1 commit into
mainfrom
test/evm-static-contract-admission-20261013
Oct 13, 2026
Merged

N0zoM1z0 merged 1 commit into
mainfrom
test/evm-static-contract-admission-20261013

Conversation

@N0zoM1z0

Copy link
Copy Markdown
Collaborator

The static EVM descriptor pilot lacked explicit regression checks that its operation, CLI command, service factory and input/output schema types remain compatible before use. Add five negative assignability checks to the complete project compiler gate and verify the named binding plus separate lazy service/provider owners.

The actual SDK duplicate-registration scenario now spies on the provider and proves the named failure happens before any provider invocation. The composition check likewise proves invalid target input returns an application error before provider invocation. Existing schemas, defaults, caller inputs, factory export and lifecycle remain unchanged; no production code or dynamic plugin admission API is added.

Validation:

  • Full project typecheck passes using the installed compiler's supported single-thread scheduling; all source/test files remain included. Five incompatible static bindings are rejected by compiler-backed assertions, not by executing malformed modules.
  • Exact focused composition/MCP files pass 12 cases, including SDK-converted schema validity, duplicate rejection, invalid inputs, incompatible reply data, healthy peer, cancellation, default/retained summaries and cleanup retry. The final added provider spy passes a focused two-case composition rerun. Injected SDK ports verify boundary semantics only; no new real-provider claim.
  • Lint/format/knip/metadata and the full checked pre-push pass. Pinned toolchain, one CPU, unchanged 3 GiB early-stop/4 GiB hard memory/no swap remain in force; sampled peaks stay below the early-stop threshold. Final transient-cgroup counters remain unknown.
  • Scoped experiment notes distinguish static compiler/SDK pre-use checks from validating unknown provider replies after execution. General third-party ABI/version negotiation remains deferred; the existing pinned real EVMole/WABT evidence retains its original scope.

Continues the remaining static-contract acceptance item in #2016. Built from main c462 and rebased onto independently corrected main 37b7550ecc916acc8619fa72e5c05af45702733f; final own head b57748736ba4f87125a26aa0ecb781b9df3b1ceb. No release publication/deployment. Draft until exact-head CI and final manual review.

Check operation, CLI, factory and schema assignability with the complete compiler gate. Verify duplicate SDK registration and invalid target input occur before provider invocation; preserve the existing static-module scope.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@N0zoM1z0
N0zoM1z0 marked this pull request as ready for review October 13, 2026 01:05
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@N0zoM1z0
N0zoM1z0 merged commit 4f4f6cd into main Oct 13, 2026
36 checks passed
@N0zoM1z0
N0zoM1z0 deleted the test/evm-static-contract-admission-20261013 branch October 13, 2026 01:07
@morluto morluto added the area: tests Test suite and verification label Oct 14, 2026
@morluto morluto added the provider: evm Analysis provider / engine: evm label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification provider: evm Analysis provider / engine: evm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants