Skip to content

Ensure uncommitted changes are displayed in dashboard #8888

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

Closed
wants to merge 2 commits into from

Conversation

Furisto
Copy link
Member

@Furisto Furisto commented Mar 18, 2022

Description

Ensure uncommitted changes are displayed in dashboard. When the workspace was restored from a backup and subsequently stopped, uncommitted changes were not displayed in the dashboard anymore. The reason was that the location we use to check for changes was incorrect, because we get the checkout location from the initializer and the backup initializer does not use git and hence cannot provide the checkout location.

The checkout location is now provided as part of the workspace init request.

Related Issue(s)

Fixes #7370

How to test

  • Create new workspace
  • Modify or create a new file
  • Stop the workspace
  • Navigate to dashboard -> changes are displayed for the workspace
  • Start the workspace again
  • Stop the workspace
  • Navigate to dashboard -> changes should still be displayed for the workspace

Notes for reviewers

It looks like bigger repositories like gitpod itself currently do not backup correctly in the preview environment (unreleated to my changes). I used this for testing.

Release Notes

Ensure uncommitted changes are displayed in dashboard when workspace was restored from backup

@Furisto Furisto requested a review from a team March 18, 2022 17:19
@github-actions github-actions bot added the team: workspace Issue belongs to the Workspace team label Mar 18, 2022
@Furisto
Copy link
Member Author

Furisto commented Mar 28, 2022

@csweichel @aledbf You were requested as reviewers because you are specified as reviewers for the ws-damon-api. Is there a specific reason for that or should we change it to team workspace? And change it for the other ws components as well?

@aledbf
Copy link
Member

aledbf commented Mar 28, 2022

@Furisto up to @csweichel. I have no problems changing it to workspace team.

@csweichel
Copy link
Contributor

The duplication of the checkoutLocation seems odd on second glance. We should rather strive for removing that, akin to #9007.

@kylos101
Copy link
Contributor

/hold Need to check with Chris to see if we must do #9007 first

@Furisto
Copy link
Member Author

Furisto commented Apr 5, 2022

Closed in favor of #9007

@Furisto Furisto closed this Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source changes not reflected in dashboard overview
6 participants