Skip to content

Add Actions, Rust, and Swift CodeQL pack support - #245

Merged
felickz merged 2 commits into
mainfrom
copilot/add-actions-rust-swift-swift-packs
Nov 3, 2026
Merged

felickz merged 2 commits into
mainfrom
copilot/add-actions-rust-swift-swift-packs

Conversation

Copilot AI commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Actions, Rust, and Swift query/test packs and integrate the languages into CI, release publishing, and pack-version reporting.
  • Add a Rust extensions pack with the Diesel SQL injection sink models.
  • Update local pack resolution for CI and CodeQL version upgrade tooling; document that unused lib and ext-library-sources packs are not created.

Validation

  • Built the three query packs and Rust extension pack with CodeQL CLI 2.27.3.
  • Verified lockfiles, suite resolution, YAML and shell syntax, and release-summary rows.
  • No PR template was found in the repository root, docs/, or `.github/.

Copilot AI commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

One or more custom setup steps configured for this repository failed during this Copilot code review run:

Install CodeQL pack dependencies

Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.

Note

You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workspace omits the Actions, Rust, and Swift pack paths, so local test-pack dependency installation can fail or use published packs instead of checkout edits.

1 open issue
What changed in this PR

Adds Actions, Rust, and Swift pack scaffolding to the community-pack repository and integrates them into CI and release tooling.

Changes:

  • Adds query and test pack definitions, lockfiles, and default suites for all three languages.
  • Adds a Rust extensions pack with Diesel SQL injection sink models.
  • Updates local pack resolution, publishing matrices, version reporting, and contributor documentation.
File Description
swift/​test/​qlpack.yml Defines the Swift test pack.
swift/​test/​codeql-pack.lock.yml Locks Swift test dependencies.
swift/​src/​suites/​swift.qls Defines the default Swift query suite.
swift/​src/​qlpack.yml Defines the Swift query pack.
swift/​src/​codeql-pack.lock.yml Locks Swift query dependencies.
rust/​test/​qlpack.yml Defines Rust test dependencies, including extensions.
rust/​test/​codeql-pack.lock.yml Locks Rust test dependencies.
rust/​src/​suites/​rust.qls Defines the default Rust query suite.
rust/​src/​qlpack.yml Defines the Rust query pack.
rust/​src/​codeql-pack.lock.yml Locks Rust query dependencies.
rust/​ext/​qlpack.yml Defines the Rust extensions pack.
rust/​ext/​manual/​diesel.model.yml Models Diesel SQL injection sinks.
CONTRIBUTING.md Updates language paths and pack contribution guidance.
configs/​README.md Clarifies publication prerequisites and audit-suite availability.
actions/​test/​qlpack.yml Defines the Actions test pack.
actions/​test/​codeql-pack.lock.yml Locks Actions test dependencies.
actions/​src/​suites/​actions.qls Defines the default Actions query suite.
actions/​src/​qlpack.yml Defines the Actions query pack.
actions/​src/​codeql-pack.lock.yml Locks Actions query dependencies.
.github/​workflows/​update-codeql-version.yml Resolves local packs during dependency upgrades.
.github/​workflows/​publish.yml Adds publishing entries for the new packs.
.github/​workflows/​copilot-setup-steps.yml Resolves local dependencies and skips extension-pack installs.
.github/​workflows/​ci.yml Expands language coverage and supports optional library packs.
.github/​scripts/​pr-suites-packs.sh Adds local pack resolution to validation commands.
.github/​scripts/​pr-compile.sh Adds local pack resolution to query compilation.
.github/​scripts/​build-publish-summary.sh Reports new languages and marks absent library packs as inapplicable.
.github/​scripts/​build-codeql-lib-versions-table.sh Adds version rows for new languages and handles absent libraries.

Review effort: Balanced

Comment thread rust/test/qlpack.yml Resolved
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 30, 2026 20:46
Copilot AI requested a review from felickz October 30, 2026 20:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The Diesel sink models lack executable regression fixtures and accessible version-pinned upstream context, leaving API matching, argument selection, and SQL-injection dataflow unvalidated beyond successful pack creation.

1 open issue

Review effort: Balanced

@felickz
felickz marked this pull request as ready for review November 3, 2026 01:30
@felickz
felickz merged commit 48835ab into main Nov 3, 2026
29 checks passed
@felickz
felickz deleted the copilot/add-actions-rust-swift-swift-packs branch November 3, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants