Skip to content

test(access): add ListProgressSince to stubStore so tests compile - #277

Merged
Quick104 merged 1 commit into
Silo-Server:mainfrom
fluxis:fix/access-resolver-test-build
Jul 2, 2026
Merged

Quick104 merged 1 commit into
Silo-Server:mainfrom
fluxis:fix/access-resolver-test-build

Conversation

@fluxis

@fluxis fluxis commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Problem

#258 (downloads v2 / offline sync) added ListProgressSince to the userstore.UserStore interface but didn't update the stubStore test double in internal/access/resolver_test.go, so go test ./internal/access/ fails to build on main:

internal/access/resolver_test.go:275:28: cannot use stubStore{…} as userstore.UserStore value in struct literal: stubStore does not implement userstore.UserStore (missing method ListProgressSince)

Approach

Add the missing method as a panic("unused") stub, consistent with the rest of stubStore. go test ./internal/access/ compiles and passes again.

Part of the fallout from #258.

AI-use disclosure

Implemented with Claude Code; human-reviewed before submission.

🤖 Generated with Claude Code

PR Silo-Server#258 added ListProgressSince to the userstore.UserStore interface but
did not update the access resolver test stub, breaking test compilation
for internal/access on main.

Co-Authored-By: Claude Fable 5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@fluxis, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ac4dfa82-f8b6-4869-a5be-687620c729ae

📥 Commits

Reviewing files that changed from the base of the PR and between 3605eec and cfbee76.

📒 Files selected for processing (1)
  • internal/access/resolver_test.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@Quick104
Quick104 merged commit 70f2d03 into Silo-Server:main Jul 2, 2026
1 check passed
Quick104 pushed a commit to RXWatcher/silo-server that referenced this pull request Jul 10, 2026
…lo-Server#277)

PR Silo-Server#258 added ListProgressSince to the userstore.UserStore interface but
did not update the access resolver test stub, breaking test compilation
for internal/access on main.

Co-authored-by: Claude Fable 5 <[email protected]>
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.

2 participants