Fix #118: [milestone Milestone 5 ] tests/: Cross-domain integration tests validate trust artifact propagation and... - #120
Closed
telleroutlook wants to merge 1 commit into
Closed
Fix #118: [milestone Milestone 5 ] tests/: Cross-domain integration tests validate trust artifact propagation and...#120telleroutlook wants to merge 1 commit into
tests/: Cross-domain integration tests validate trust artifact propagation and...#120telleroutlook wants to merge 1 commit into
Conversation
… tests validate trust artifact propagation and...
Contributor
Author
SummaryTest code has multiple undefined references and missing dependencies that will cause compilation or test failures Severityhigh Blocking findings
Verdict❌ Rejected Merge riskhigh Audit
{
"approved": false,
"severity": "high",
"summary": "Test code has multiple undefined references and missing dependencies that will cause compilation or test failures",
"findings": [
{
"file": "tests/e2e/e2e_test.go",
"line": 485,
"issue": "TestTrustArtifactPropagationConsistency reads fixtures/agentbom-sample.json which is not included in this PR - test will fail if file doesn't exist",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 491,
"issue": "TestTrustArtifactPropagationConsistency reads fixtures/mcp-posture-sample.json which is not included in this PR - test will fail if file doesn't exist",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 497,
"issue": "TestTrustArtifactPropagationConsistency reads fixtures/trust-passport-sample.json which is not included in this PR - test will fail if file doesn't exist",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 555,
"issue": "TestTrustArtifactPropagationConsistency reads fixture files not included in this PR, creating undefined test behavior",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 712,
"issue": "Custom contains() function reimplements strings.Contains() from standard library unnecessarily",
"kind": "suggestion"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 716,
"issue": "Custom containsSubstring() function is a manual string search implementation that should use strings.Contains()",
"kind": "suggestion"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 423,
"issue": "TestPolicyEnforcementBoundaries has hardcoded dependency on repository name 'wasmagent-js' which may not exist in all environments",
"kind": "suggestion"
}
],
"merge_risk": "high",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
Contributor
Author
SummaryMultiple blockers including undefined references, mismatched struct fields, incorrect logic, and potentially unsafe helper function implementations Severityhigh Blocking findings
Verdict❌ Rejected Merge riskhigh Audit
{
"approved": false,
"severity": "high",
"summary": "Multiple blockers including undefined references, mismatched struct fields, incorrect logic, and potentially unsafe helper function implementations",
"findings": [
{
"file": "tests/e2e/e2e_test.go",
"line": 363,
"issue": "Undefined reference to docs.LoadProjectIndex() - no import or usage of docs package visible in scope",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 312,
"issue": "Struct crossDomainChain missing ChainFormat field but JSON fixture contains chainFormat - will fail to unmarshal correctly",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 694,
"issue": "TestDomainWorkloadTrustIntegration contains incorrect logic - enforces len(chain.Domains) == len(chain.Chain) but fixture contains 3 domains and 3 chain entries which is 1:1 mapping, not validating proper chain structure",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 712,
"issue": "Helper function contains() implementation is potentially buggy - calls containsSubstring() recursively but containsSubstring() has inefficient O(n*m) implementation and the overall logic is convoluted for simple substring matching",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 661,
"issue": "TestTrustArtifactPropagationConsistency has hard-coded logic that assumes specific repository categories must exist ('workload', 'evidence-pipeline', 'trust-artifacts') but does not verify these categories are valid in the project index structure",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 363,
"issue": "TestCrossDomainTrustPropagation calls projectIndex.GetRepoByName() but existence and return type of this method is not verified in the current codebase",
"kind": "blocker"
}
],
"merge_risk": "high",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 2
} |
Contributor
Author
SummaryMultiple blockers: references to undefined packages, missing fixture files, and unvalidated function dependencies Severityhigh Blocking findings
Verdict❌ Rejected Merge riskhigh Audit
{
"approved": false,
"severity": "high",
"summary": "Multiple blockers: references to undefined packages, missing fixture files, and unvalidated function dependencies",
"findings": [
{
"file": "tests/e2e/e2e_test.go",
"line": 334,
"issue": "Test calls docs.LoadProjectIndex() but 'docs' package is not imported or defined in the scope",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 585,
"issue": "Code uses filepath.Base() but filepath package is not imported (needs to be added to imports)",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 513,
"issue": "Test reads fixtures/agentbom-sample.json which is not created in this PR and may not exist",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 517,
"issue": "Test reads fixtures/mcp-posture-sample.json which is not created in this PR and may not exist",
"kind": "blocker"
},
{
"file": "tests/e2e/e2e_test.go",
"line": 522,
"issue": "Test reads fixtures/trust-passport-sample.json which is not created in this PR and may not exist",
"kind": "blocker"
}
],
"merge_risk": "high",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 3
} |
Contributor
Author
|
Closing as superseded. Issue #118 (cross-domain integration tests) is already CLOSED and main has evolved significantly since this PR was created (2026-07-21). This PR has merge conflicts. |
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.
Fixes #118
Generated by claude-bot-go worker.