Skip to content

Include all lib packages in CodeQL analysis paths - #6815

Merged
theCyberTech merged 2 commits into
mainfrom
cursor/codeql-include-all-lib-folders-e3c0
Aug 5, 2026
Merged

Include all lib packages in CodeQL analysis paths#6815
theCyberTech merged 2 commits into
mainfrom
cursor/codeql-include-all-lib-folders-e3c0

Conversation

@theCyberTech

Copy link
Copy Markdown
Member
  • Add missing lib/cli and lib/crewai-core source and test paths to the CodeQL config
  • Point the templates paths-ignore at the relocated CLI package (lib/cli/src/crewai_cli/templates/**)
  • Update the CodeQL workflow paths-ignore to match
Open in Web Open in Cursor 

lib/cli and lib/crewai-core were missing from the CodeQL config paths.
Also update the templates ignore path to the relocated CLI package.

Co-authored-by: Rip&Tear <theCyberTech@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 5, 2026 05:45

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 855b59a4-4272-48b6-a64f-c909db1559b1

📥 Commits

Reviewing files that changed from the base of the PR and between fae6340 and 7ba8a25.

📒 Files selected for processing (2)
  • .github/codeql/codeql-config.yml
  • .github/workflows/codeql.yml
🚧 Files skipped from review as they are similar to previous changes (2)
  • .github/codeql/codeql-config.yml
  • .github/workflows/codeql.yml

📝 Walkthrough

Walkthrough

CodeQL configuration now reflects the CLI package relocation. The workflow ignores the relocated CLI template path, while CodeQL analysis includes CLI and CrewAI Core source and test paths.

Changes

CodeQL path configuration

Layer / File(s) Summary
Align CodeQL coverage and exclusions
.github/codeql/codeql-config.yml, .github/workflows/codeql.yml
The configuration ignores lib/cli/src/crewai_cli/templates/**, adds CLI and CrewAI Core source and test paths, and updates matching workflow exclusions.

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change by stating that all lib packages are included in CodeQL analysis paths.
Description check ✅ Passed The description accurately describes the CodeQL path additions and template exclusion updates in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/codeql-include-all-lib-folders-e3c0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@theCyberTech
theCyberTech marked this pull request as ready for review August 5, 2026 05:46

@Vidit-Ostwal Vidit-Ostwal 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.

LGTM

Copilot AI review requested due to automatic review settings August 5, 2026 08:41

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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@theCyberTech
theCyberTech enabled auto-merge (squash) August 5, 2026 08:55
@theCyberTech
theCyberTech disabled auto-merge August 5, 2026 09:08
@theCyberTech
theCyberTech merged commit cfb1ed2 into main Aug 5, 2026
20 checks passed
@theCyberTech
theCyberTech deleted the cursor/codeql-include-all-lib-folders-e3c0 branch August 5, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants