Repository navigation
Baseline stashing metrics - #7438
Conversation
…enced w/o stashing Co-Authored-By: Billy Griffin <[email protected]>
Co-Authored-By: Billy Griffin <[email protected]>
Co-Authored-By: Billy Griffin <[email protected]>
This is needed because we want to add the entries for each repo opened during the day
This number will vary based on which repos the user opens during this period
Moving this here ensures another state refresh doesn't cause the same repo to be counted twice
|
@tierninho testing this one is a bit involved, so let me know if you'd like to pair. In the meantime, you can use these steps to test. The number of stash entries created outside of DesktopTry to make sure to delete all application databases before each scenario. Doing this will ensure you aren't effected by the 24 hour check cycle and makes verifying values a tad easier. Only count stash entries that don't use our markerFor this scenario you'll need a repo with a mix of stash entries created with Desktop and externally (keeping count will be really important).
What I'm getting on my repo Stash Checks are scoped per repoThis scenario will verify that each repo keeps track of its own check date for stash entries. You will need another repo, in addition to the one mentioned above. Like last time, knowing how many stash entries were created by Desktop and outside of Desktop is important.
Switching back and forth is necessary since the logic that acts as a gatekeeper to this metric is called every state refresh. The number of times the user has been presented with the
|
|
Thanks for the detailed steps.
|
You have to disable the
That last step should result in an error being generated. |
|
Not sure if my env is configured wrong or it's another issue, but cannot seem to get the remaining test working. I feel confident that this already functions correctly, and as it is very low risk, I am ok with shipping to beta. I will easily be able to test it then. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
shiftkey
left a comment
There was a problem hiding this comment.
Some extra cleanup to follow up with @outofambit's feedback
Co-Authored-By: evelyn masso <[email protected]>
Co-Authored-By: Brendan Forster <[email protected]>
Co-Authored-By: evelyn masso <[email protected]>
thank you for your service
|
all review comments should be addressed now |
shiftkey
left a comment
There was a problem hiding this comment.
Nothing blocking, just this suggestion left to look at afterwards
| repository: Repository | ||
| ): Promise<ReadonlyArray<IStashEntry>> { | ||
| ): Promise<{ | ||
| /** The stash entries created by Desktop */ |
There was a problem hiding this comment.
🎨 given the presence of code comments here, this feels like it could be extracted to it's own internal type after we land this PR to keep things more organized...

partly addresses #7246
This pr has been updated to adjust the basline stashing metrics implemented in #7470 by merging
getDesktopStashEntriesandgetStash.