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

chore(codeintel): Simplify code using upload filtering#63997

Merged
varungandhi-src merged 1 commit into
mainfrom
vg/simplify
Jul 23, 2024
Merged

chore(codeintel): Simplify code using upload filtering#63997
varungandhi-src merged 1 commit into
mainfrom
vg/simplify

Conversation

@varungandhi-src

@varungandhi-src varungandhi-src commented Jul 22, 2024

Copy link
Copy Markdown
Contributor

A bunch of logic was constructing "visibleUpload" values but
it just needed to pass around CompletedUpload. Simplify that.

Stepping stone for GRAPH-573

Test plan

Covered by existing tests

@cla-bot cla-bot Bot added the cla-signed label Jul 22, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Jul 22, 2024

@kritzcreek kritzcreek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment. Looks good otherwise.

Comment thread internal/codeintel/codenav/service.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I can tell this function never errors? Can we change its return type?

@varungandhi-src varungandhi-src Jul 23, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will be doing a separate cleanup pass later after landing precise usagesForSymbol, so leaving this as-is for now (this function isn't doing anything, it should not be adding a trace span at all)

@varungandhi-src varungandhi-src merged commit dc693b5 into main Jul 23, 2024
@varungandhi-src varungandhi-src deleted the vg/simplify branch July 23, 2024 06:50
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