Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix caching of GitHub queries #8793

Merged
merged 2 commits into from
Mar 14, 2022
Merged

Fix caching of GitHub queries #8793

merged 2 commits into from
Mar 14, 2022

Conversation

geropl
Copy link
Member

@geropl geropl commented Mar 14, 2022

Description

Related Issue(s)

Fixes #7307

How to test

Release Notes

fix caching of GitHub server<->server queries

Documentation

@geropl geropl requested a review from a team March 14, 2022 12:53
@geropl geropl changed the title Gpl/7307 gh cache Fix caching of GitHub queries Mar 14, 2022
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 14, 2022
@geropl geropl requested a review from AlexTugarev March 14, 2022 12:53
Copy link
Contributor

@andrew-farries andrew-farries left a comment

Choose a reason for hiding this comment

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

Looks good but is there something we can do using typescript's template literal types to make this kind of mistake impossible at compile time?

Perhaps not, as the format of the string is the same whether or not we mix up owner and repo.

@codecov
Copy link

codecov bot commented Mar 14, 2022

Codecov Report

Merging #8793 (c36e4f5) into main (77a3414) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #8793   +/-   ##
=======================================
  Coverage   11.17%   11.17%           
=======================================
  Files          18       18           
  Lines         993      993           
=======================================
  Hits          111      111           
  Misses        880      880           
  Partials        2        2           
Flag Coverage Δ
components-gitpod-cli-app 11.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@roboquat roboquat merged commit 057947d into main Mar 14, 2022
@roboquat roboquat deleted the gpl/7307-gh-cache branch March 14, 2022 13:08
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note size/XXL team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bugs in github request caching
3 participants