Skip to content

perf(service): read only the log entries a limit asks for - #170

Open
PiquelChips wants to merge 1 commit into
fix/bound-the-indexes-a-service-hasfrom
fix/read-only-the-log-entries-a
Open

PiquelChips wants to merge 1 commit into
fix/bound-the-indexes-a-service-hasfrom
fix/read-only-the-log-entries-a

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

log read and parsed a target's whole log from since onward, then cut the result down to the query's limit. Checking a push's shared base asks for one entry, once for each revision based on an older acceptance, and paid for the rest of the history every time.

Store::log_since now takes the limit and reads only those lines, plus the head's line, which it still checks against the head.

Part of #166.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7f1ff22a-af3c-4a99-9580-0deb32fd1d19

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@PiquelChips
PiquelChips added this pull request to stack #185 November 22, 2026 20:21
@PiquelChips
PiquelChips removed this pull request from stack #185 November 22, 2026 20:22
`log` read and parsed a target's whole log from `since` on, then cut it
to the query's limit: a push checking a shared base asks for one entry,
on every revision based on an older acceptance, and paid for the rest of
the history each time.

`Store::log_since` now takes the limit and reads only those lines, and
the head's line, which it still checks against the head.
@PiquelChips
PiquelChips force-pushed the fix/bound-the-indexes-a-service-has branch from 842064c to 6c748a3 Compare November 22, 2026 20:22
@PiquelChips
PiquelChips force-pushed the fix/read-only-the-log-entries-a branch from d3154c5 to 29b19cc Compare November 22, 2026 20:22
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