Skip to content

Go: Use shared guards library - #22365

Merged
owen-mc merged 12 commits into
github:mainfrom
owen-mc:go/shared-guards
Oct 20, 2026
Merged

owen-mc merged 12 commits into
github:mainfrom
owen-mc:go/shared-guards

Accept missing test results due to missing guards for && and ||

0edfdb1
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Oct 20, 2026 in 6s

6 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 6 configurations present on refs/heads/main were not found:

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:actions
  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:csharp

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (cpp-swift-analysis.yml)

  • ❓  .github/workflows/cpp-swift-analysis.yml:CodeQL-Build

New alerts in code changed by this pull request

  • 1 warning

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 285 in go/ql/lib/semmle/go/controlflow/ControlFlowGraph.qll

See this annotation in the file changed.

Code scanning / CodeQL

Candidate predicate not marked as `nomagic` Warning

Candidate predicate to
ensures
is not marked as nomagic.