Repository navigation
ci: select affected static analysis packages on 4.2 - #32654
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
This pull request is merged. |
9d31320 to
9a19605
Compare
|
mo-bot review · Commit: Review linked issue or PR description changed before publication; a fresh contextual review is queued. |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 9a1960544551ea89a2e28bca40024ac9c74c12b5
Assessment: approve
The selector preserves affected production/test-importer coverage and conservative full fallbacks while sharing one package list between existing analyzers. Go metadata and the narrow Make integration justify the added code; full static-check and license behavior remain intact. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Reviewed the complete four-file delta, baseline/current Make and lint owners, workflow consumers, all four discussion entries and all three linked issues.
-
Supplied preflight and Node syntax check passed. All five contract tests passed locally with Go 1.26.4, real Go/Make discovery and mocked analyzers; no skips or failures.
-
An independent all-pairs dependency oracle passed 512 deterministic production/test-root cases, including variants and full-scan thresholds.
-
Frozen source, patch, discussion coverage and command/source/exit receipts were reconciled with retained logs. Frozen CI contract and preflight checks also succeeded.
Limitations:
-
Pinned real-analyzer, license and timing results are author-reported; raw logs were unavailable and those runs were not independently repeated. The contract suite mocks analyzers.
-
ARM SCA and broader CI remained pending. No ARM speedup is claimed; external reusable classifier/workflow sources are outside the frozen checkout.
-
The pre-existing molint exit-status and 4.2 Python SDK workflow defects remain separate.
9a19605 to
2aaf3e0
Compare
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 2aaf3e02f2091399551338f01d7bda1acd8e5602
Assessment: approve
The shared variant-aware selector preserves affected-package coverage, conservative full fallbacks and existing 4.2 analyzer/license behavior. Direct use of Go metadata keeps the integration narrow. The earlier test-dependency over-expansion is corrected; no actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-9884-72c0-ad39-f096c4209c4a · slot 1 · generation 0
Validation:
-
Reviewed the complete four-file delta, baseline Make/lint/workflow consumers, all six discussion entries and all three linked issues.
-
Preflight and syntax checks passed. All six contract tests passed with Go 1.26.4, real Go/Make discovery and mocked analyzers, including full/license and failure paths.
-
A separate 2,176-case forward all-pairs oracle passed against this frozen selector; its pre-fix parent reproduced the unnecessary full scan.
-
Frozen-head CI contract/preflight checks succeeded; source, discussion coverage, command receipts and retained logs were reconciled.
Limitations:
-
Real-analyzer, whole-graph and x86 timing/memory results remain author-reported. No ARM speedup is established.
-
The pre-existing molint exit-status defect remains separate. Broader CI was pending; external reusable workflow sources were unavailable in the frozen checkout.
|
mo-bot review · Commit: "interrupted" |
What type of PR is this?
Which issue(s) this PR fixes:
Related to #28100
Related to #32664 (test-variant closure; main counterpart #32666)
Related to #32652 (separate pre-existing molint exit-status defect)
What this PR does / why we need it:
The 4.2-dev SCA analysis target scans every Go package for every PR. Backport affected-package selection and correct the main selector's over-expansion of test dependencies. Both existing analyzers receive one shared package list from Go's resolved production/test variant graph. A changed production file seeds every active variant of its owner; reverse traversal preserves variant identity until results are grouped into owning packages. Test-only edits select their owner. Remove the redundant TestImports/XTestImports graph representation.
Unknown or unverified inputs, unsupported changes, broad affected closures and explicit full scans retain complete analysis. Discovery errors and analyzer failures remain fatal. The explicit full
static-checktarget and existing license checks are preserved. The selector's contract tests run for CI changes.Validation on 57 (Go 1.26.4):
The actual PR paths do not change the Python SDK classifier/control file. Python SDK development and publication remain on main. New-head CI is pending; the earlier successful ARM SCA exercised the previous head's full fallback.
The legacy 4.2 molint invocation can report diagnostics while exiting zero. That existing defect remains tracked by #32652; successful process exit here does not establish a repaired diagnostic gate.