Skip to content

Code and pull requests

On the StrideAI tab of a pull request, ask for a review. StrideAI reads the diff, the policies and the linked work items, checks the change against the work item’s acceptance criteria, and lists findings by severity with file and line. With your approval, it posts inline comments and votes.

Pull request review with blocking findings and a vote waiting for approval

Every pull request gets a risk level the moment you open the tab: how many files changed, sensitive areas such as sign-in, payments, database migrations, pipelines and dependencies, code changed without tests, linked work items, the description, failing checks, rejections, merge conflicts and unresolved comments. Select Why? for the reasons, Explain the risk for what to test before merging, or Review with StrideAI for a full review.

A medium-risk pull request with its reasons and one-click review

Select Security check on the pull request’s StrideAI tab. StrideAI checks only the lines the pull request adds for exposed secrets (keys, tokens, passwords, private keys), risky code (SQL built from strings, eval, HTML from code, shell commands, TLS checks turned off, weak hashes, open CORS, plain HTTP) and new packages with floating versions. It uses fixed rules, not a model, so it is fast and free, and secrets are masked everywhere, including what the model sees.

Security check of a pull request with a masked AWS key

To review every pull request automatically, add the pull request review task to your branch policy pipeline.

  • Search and read code, show commit history, compare branches, and plan an implementation.
  • Generate tests, code or pseudocode as files you can copy, download, or commit; see Tests and code, ready to commit.
  • With your approval, create a branch, commit the changes, and open a linked pull request. A push to a shared branch is marked high risk on the approval card.

Code search uses the Search extension when it is installed. Code and identifiers are always written in English.