Skip to content

ci: include Verity file types in OCR#2129

Merged
Th0rgal merged 2 commits into
mainfrom
fix/ocr-include-verity-files
Jul 9, 2026
Merged

ci: include Verity file types in OCR#2129
Th0rgal merged 2 commits into
mainfrom
fix/ocr-include-verity-files

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Include Lean, Solidity/Yul, Cairo, trust docs, docs, and GitHub workflow files in OCR custom rules.
  • This makes OCR review Verity proof PRs instead of skipping .lean changes as unsupported.

Test Plan


Note

Low Risk
CI/OCR configuration only; no runtime app, auth, or data-path changes.

Overview
OCR will now review Verity-relevant paths instead of treating .lean and similar changes as out of scope. .github/ocr/rules.json gains an include list for **/*.lean, Solidity/Yul/Cairo, trust docs (AUDIT.md, TRUST_ASSUMPTIONS.md, AXIOMS.md), README.md, docs/**/*.md, and .github/**/*, while existing exclude patterns (e.g. .lake, lockfiles) stay in place.

The OCR workflow concurrency key in ocr-review.yml now appends github.event_name, so runs triggered by different events on the same PR (e.g. pull_request_target vs issue_comment /ocr review) no longer share one group and cancel each other when cancel-in-progress is enabled.

Reviewed by Cursor Bugbot for commit 73c70cb. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
verity Ready Ready Preview, Comment Jul 9, 2026 9:56am

Request Review

@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_2dc68999-da13-4785-ab95-03e12581c8e6)

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@codex review

@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_bcdac9f0-dc68-4e26-b0af-0fe3947fae12)

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

@codex review

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@Th0rgal
Th0rgal merged commit 4453b6c into main Jul 9, 2026
18 of 19 checks passed
@Th0rgal
Th0rgal deleted the fix/ocr-include-verity-files branch July 9, 2026 10:06

@github-actions github-actions Bot 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.

OpenCodeReview first-pass review

Status: success · 0 finding(s) · 2 files · 27360 tokens · 5 tool calls

No comments generated. Looks good to me.

Pilot mode: advisory only. Codex Review remains the merge gate.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 73c70cb692

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


concurrency:
group: ocr-review-${{ github.event.pull_request.number || github.event.issue.number || inputs.pr_number }}
group: ocr-review-${{ github.event.pull_request.number || github.event.issue.number || inputs.pr_number }}-${{ github.event_name }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep per-PR OCR runs in one concurrency group

When a /ocr review comment or workflow_dispatch is fired while the automatic pull_request_target run for the same PR/commit is still running, appending github.event_name puts those runs in different concurrency groups, so cancel-in-progress no longer serializes or cancels them. The posting script only checks for an existing success tag before publishing (.github/scripts/post-ocr-review.js lines 20-24), so two concurrent runs can both pass that check and publish duplicate inline reviews while spending LLM tokens; keep the group keyed only by PR/commit or add a real per-commit posting lock.

Useful? React with 👍 / 👎.

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.

1 participant