Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(codeintel): Move mock generation near interface package#64000

Merged
varungandhi-src merged 1 commit intomainfrom
vg/move-mocks
Jul 23, 2024
Merged

chore(codeintel): Move mock generation near interface package#64000
varungandhi-src merged 1 commit intomainfrom
vg/move-mocks

Conversation

@varungandhi-src
Copy link
Contributor

This patch moves the mocks for codenav/../lsifstore package to a separate package
lsifstore/mocks instead of it living in codenav. The problem is that if you update
the LsifStore interface, then you get an error when trying to regenerate mocks,
as regeneration happens in the codenav package, and that package's old mocks
no longer satisfy the new interface (so there is an error when looking at other test
files). Moving the codegen to a separate package avoids this problem.

Test plan

Covered by existing tests

@cla-bot cla-bot bot added the cla-signed label Jul 23, 2024
@github-actions github-actions bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Jul 23, 2024
@varungandhi-src varungandhi-src requested review from keynmol and removed request for kritzcreek July 23, 2024 01:27
@varungandhi-src varungandhi-src enabled auto-merge (squash) July 23, 2024 02:32
@varungandhi-src varungandhi-src merged commit 548cb60 into main Jul 23, 2024
@varungandhi-src varungandhi-src deleted the vg/move-mocks branch July 23, 2024 08:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants