Skip to content

refactor: zero-based architecture cleanup - #10

Merged
lucarlig merged 37 commits into
mainfrom
user/luca/architecture-cleanup
Sep 1, 2026
Merged

refactor: zero-based architecture cleanup#10
lucarlig merged 37 commits into
mainfrom
user/luca/architecture-cleanup

Conversation

@lucarlig

@lucarlig lucarlig commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Collapse the internal crates into private logical modules in the single published cf-integration package, with only cf_integration::run exported.
  • Embed and atomically materialize runtime assets while keeping report/token-only actions side-effect free.
  • Separate infrastructure, live-stack conformance, official conformance, and performance workflow ownership behind one CLI.
  • Unify MCP transport behavior, centralize async cleanup, and remove unsupported aliases, historical artifact support, stale Git-fetch fallback, and local JWT generation.
  • Add stable quality CI plus native Linux, macOS, and Windows tests. Build and smoke-test all six ARM64/x86-64 release candidates before publishing the crate or tag.
  • Provide repeatable protocol/server-era Cartesian conformance runs, strict lane baselines, transactional blessing, partitioned artifacts, and nextest-style colored progress/results.
  • Run both MCP conformance directions by default for the external dataplane on protocol 2026-07-28: the official client tests the fixture directly and through the gateways, then the external dataplane client runs tools_call, request-metadata, http-standard-headers, and http-custom-headers against official scenario servers.

Breaking interface cleanup

  • Workflow commands accept only --lane; stack commands retain --topology.
  • fixture, --client-version, and --spec-version are rejected.
  • MCP_VIRTUAL_SERVER_ID, FAST_TIME_IMAGE, and IMAGE_LOCAL are not accepted as inputs. Required Compose adapter variables are derived internally from canonical configuration.
  • Conformance metadata requires exact pinned fixture provenance and direction; old caller-managed/historical artifacts are rejected.
  • The current control-plane catalog field is only gatewayId; the old snake_case input is rejected.
  • Git fetch failures are fatal and never reuse stale local refs.

Validation

  • cargo fmt --all --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test --all-targets: 343 passed
  • cargo package --locked: 86 files, 203.6 KiB compressed
  • Actionlint
  • live external dataplane run: 80 server scenarios plus 4 downstream client scenarios completed; client gate reported 3 PASS and 1 expected custom-header XFAIL
  • standalone macOS ARM64 release binary rebuilt and smoke-tested

This work was developed as the layer above PR #7. Since #7 merged before submission, gh-stack correctly based this remaining PR directly on main.

Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig lucarlig changed the title user/luca/architecture cleanup refactor: zero-based architecture cleanup Aug 28, 2026
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig
lucarlig force-pushed the user/luca/architecture-cleanup branch 2 times, most recently from 992f0da to 5e6def8 Compare August 31, 2026 10:56
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig
lucarlig force-pushed the user/luca/architecture-cleanup branch from 5e6def8 to cec91b1 Compare August 31, 2026 11:09
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>
Signed-off-by: lucarlig <luca.carlig@ibm.com>

@Lang-Akshay Lang-Akshay left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@lucarlig
lucarlig merged commit 912cc2c into main Sep 1, 2026
5 checks passed
@lucarlig
lucarlig deleted the user/luca/architecture-cleanup branch September 1, 2026 08:56
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.

2 participants