feat(runtime): add provider v1 protocol and graph provenance - #164
Closed
joeykchen wants to merge 5 commits into
Closed
feat(runtime): add provider v1 protocol and graph provenance#164joeykchen wants to merge 5 commits into
joeykchen wants to merge 5 commits into
Conversation
Add validated runtime metadata, deterministic provider argv encoding, and provenance-bearing resolved module identities. Load class projects from the effective Go graph without flattening replacements.
Share canonical graph and build flag validation, keep resolved-module checks focused, and place cloning beside its import flow without changing error contracts.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #164 +/- ##
==========================================
+ Coverage 81.34% 87.45% +6.10%
==========================================
Files 10 13 +3
Lines 906 1650 +744
==========================================
+ Hits 737 1443 +706
- Misses 150 169 +19
- Partials 19 38 +19 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
joeykchen
force-pushed
the
feat/xgo-runtime-provider-spx
branch
from
August 18, 2026 10:35
61f36d9 to
308b7e8
Compare
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.
Summary
This PR adds the
goplus/modlanguage and contract layer for goplus/spx#1741. It defines runtime-provider metadata, resolved graph provenance, and the provider-neutral v1 request protocol.This layer deliberately contains no XGo command dispatch or SPX-specific runtime policy.
What changed
runtime <protocol> <provider-package>metadata scoped to the nearest preceding project, with strict protocol and import-path validation.go.modandgox.mod/gop.modsnapshots consumed during resolution.runand transactionalbuild.Compatibility and boundaries
The existing class import path remains available. Built-in projects remain provenance-free, and projects without runtime metadata keep their current behavior.
ResolvedClassGraphvalidates and consumes an effective graph supplied by XGo; it does not independently run MVS or resolve a second graph. Filesystem identity checks that require live provider inputs remain the provider's responsibility.This is the first repository in the coordinated release order. XGo must update to the released
goplus/modversion before runtime-provider support can be published.Verification
GOWORK=off go test -count=1 ./...GOWORK=off go vet ./...git diff --checkPart of goplus/spx#1741. Published SPX mode and the coordinated release remain follow-up work.
Companion PRs