fix(server): memoise git top-level lookup in repository identity resolver #3166
Closedleorivastech(GitHub profile, opens in a new tab)wants to merge 2 commits into
main fromrefs/pull/3166/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:M
- apps/server/src/project/Layers/RepositoryIdentityResolver.ts line 194Resolvedby cursor[bot](GitHub profile, opens in a new tab)@@ -155,6 +186,4 @@155186 const resolve: RepositoryIdentityResolverShape["resolve"] = Effect.fn(156187 "RepositoryIdentityResolver.resolve",157188 )(function* (cwd) {158- const cacheKey = yield* resolveRepositoryIdentityCacheKey(cwd).pipe(159- Effect.provideService(ProcessRunner.ProcessRunner, processRunner),160- );189+ const { cacheKey } = yield* Cache.get(repositoryIdentityCacheKeyCache, cwd);
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
leorivastech(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.


Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
ede62f2c-76e1-4275-9a54-8a6974e0afb5You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
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