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

[WIP] Move towards sync deletion (away from PeriodicDeleter) - step II/II #18826

Closed
wants to merge 40 commits into from

Conversation

geropl
Copy link
Member

@geropl geropl commented Sep 27, 2023

Description

Depends on - and follow-up to: #18825

Deletes all the columns that we are not using anymore.

Summary generated by Copilot

🤖 Generated by Copilot at cbc18b7

This pull request removes the deleted column from various tables and entities in the Gitpod database, as well as the obsolete d_b_user_storage_resource table. This is part of a refactoring effort to simplify the database layer of the Gitpod application and improve its performance. It also updates the Project interface and the DBProject entity to match the project management feature in Gitpod. It includes several migration files to apply the schema changes to the database.

Related Issue(s)

Fixes EXP-719

How to test

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

csweichel and others added 5 commits September 27, 2023 17:32
* [supervisor] Make UID/GID configurable

* Support content initializer as env var

* Make workspace runtime explicit

* Make linux user configurable for Git operations

* Don't assume /home/gitpod

* Fix unittest

* Fix wsdaemon
This times out in 100 seconds, and is causing failures for builds in main.

Maybe it needs more time.
csweichel and others added 11 commits September 28, 2023 14:55
* Add subassembly service API

* Make workspacekit image configurable
…II (#18833)

* [db] Tables: remove entries without deletionColumn (not used anymore)

* [db] DBAuthProviderEntry: Switch to sync deletion

* [db] DBTokenEntry: Switch to sync deletion

* [db] DBTeamMembership: Switch to sync deletion

* [db] DBUserStorageResource: remove from periodic deleter

* [db] DBGitpodToken: Switch to sync deletion

* [db] DBProjectUsage: Switch to sync deletion

* [db] DBUserSSHPublicKey: Switch to sync deletion
….fgaRelationshipsVersion (#18838)

* [db] Add User.fgaRelationshipsVersion

* [server] Use User.fgaRelationshipsVersion
Co-authored-by: roboquat <[email protected]>
* update code commit

* bump up code stable version
akosyakov and others added 18 commits September 29, 2023 19:14
* adding searchRepositories method w/ github impl

* fix a few things and add bbs impl for searchRepos

* integrate searchRepositories in RepositoryFinder

* adjusting loading indicators

* cleanup

* wrap repository search behind feature flag

* Changing queries for github repo search

* fix enabled to use debounced value

* fix org filters

* drop variables for query

* fixing encoding
Co-authored-by: roboquat <[email protected]>
* implementing searchRepositories

* implement searchRepos for BBS

* limit fields

* remove fields

* adding gitlab searchRepos

* remove gitlab searchRepos - not working will do in a followup

* wrap calls w/ asyncBatch to limit concurrency
* Update `marketplace.json`

* Add exts

* update

* snyk

* 💄

---------

Co-authored-by: Jean Pierre <[email protected]>
* [ws-daemon] log download and extract times

* Revert "[content-service] log duration for s3 download and tar extract (#18829)"

This reverts commit ac8d3e2.

* Revert "[content-service] download s3 content using s5cmd (#18783)"

This reverts commit 4fb2677.
@geropl geropl force-pushed the gpl/719-deleted-2 branch from 5568b46 to 66cbbe5 Compare October 4, 2023 09:49
@roboquat roboquat added size/XXL and removed size/XL labels Oct 4, 2023
@geropl
Copy link
Member Author

geropl commented Oct 4, 2023

Outdated

@geropl geropl closed this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.