docs: define test project-reference boundaries - #441
Merged
Conversation
This was referenced Aug 30, 2026
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
Issue #431 split test-originating
ProjectReferencetopology out of the production-only boundary work from #371. The repository has a non-trivial test graph (including shared contracts/plugins, package-rooting projects, AOT artifacts, load-test support, and fixture projects) but no canonical policy describing which direct edges and modes are intentional.Closes #431.
Changes
doc/test-project-reference-boundaries.ymlas a machine-readable, default-deny policy forProjectReferenceedges originating undertest/.devgraph at3e772ef0de75bda9f79d5f3508ef01f573bb6254: 107 direct test-originating edges.allowedand test-to-test/support edges asintentional_test_infrastructure; there are currently no debt exceptions.assembly,analyzer, andbuild_onlymode semantics, includingReferenceOutputAssembly=falsebuild/order-only dependencies.doc/project-reference-boundaries.ymlauthoritative for allsrc/origins; this policy cannot relax production rules.doc/index.md.Compatibility
Validation
test/*.csprojproject and the nestedtest/fixturesproject set on the baseline commit.ProjectReferenceedges.assembly,analyzer, orbuild_onlymodes.Evidence
doc/project-reference-boundaries.ymlfrom [Maintainability][Architecture] Document the intended production project dependency graph #371.doc/test-project-reference-boundaries.yml.doc/test-project-reference-boundaries.md.dev@3e772ef0de75bda9f79d5f3508ef01f573bb6254.doc/index.mdplus the two new test-boundary documents.