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

refactor: steps the usage cursor provenance state in a single place#64321

Merged
kritzcreek merged 2 commits into
mainfrom
christoph/simplify-usage-cursor
Aug 7, 2024
Merged

refactor: steps the usage cursor provenance state in a single place#64321
kritzcreek merged 2 commits into
mainfrom
christoph/simplify-usage-cursor

Conversation

@kritzcreek

@kritzcreek kritzcreek commented Aug 7, 2024

Copy link
Copy Markdown
Contributor

Adds a second function to determine the initial cursor based on the requested provenances.

Test plan

N/A

@cla-bot cla-bot Bot added the cla-signed label Aug 7, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Aug 7, 2024
@kritzcreek kritzcreek marked this pull request as ready for review August 7, 2024 07:12

@varungandhi-src varungandhi-src 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.

Thanks! While this is more verbose, it's much clearer by virtue of the state machine transition logic being in one place.

@kritzcreek kritzcreek merged commit 81fa144 into main Aug 7, 2024
@kritzcreek kritzcreek deleted the christoph/simplify-usage-cursor branch August 7, 2024 08:39
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