Skip to content

Improve authorization rule performance#1

Merged
matthewford merged 3 commits into
mainfrom
codex/rule-index-cache-benchmark
Jun 17, 2026
Merged

Improve authorization rule performance#1
matthewford merged 3 commits into
mainfrom
codex/rule-index-cache-benchmark

Conversation

@matthewford

Copy link
Copy Markdown
Member

Add cached rule matching, unconditional-rule fast paths, per-check value block caching, and opt-in request-local permission caching.

Add performance tests, a generic benchmark, and README notes for the fork's Rails and performance improvements.

Add cached rule matching, unconditional-rule fast paths, per-check value block caching, and opt-in request-local permission caching.

Add performance tests, a generic benchmark, and README notes for the fork's Rails and performance improvements.
Run the test suite across Rails 7.2 and 8.0 on modern Ruby versions, and run the performance test/benchmark job once under Rails 7.2.
RubyParser reports different line metadata under Ruby 3.3, so assert the analyzer report behavior and message instead of a parser-specific source line.
@matthewford matthewford merged commit 5c33ea5 into main Jun 17, 2026
11 checks passed
@matthewford matthewford deleted the codex/rule-index-cache-benchmark branch June 17, 2026 12:11
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