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

feat: Move to Postgres #29492

Draft
wants to merge 479 commits into
base: release
Choose a base branch
from
Draft

feat: Move to Postgres #29492

wants to merge 479 commits into from

Conversation

sharat87
Copy link
Member

@sharat87 sharat87 commented Dec 9, 2023

PR for moving Appsmith from MongoDB backend to Postgres.

/test all

Caution

🔴 🔴 🔴 Some tests have failed.
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9691006862
Commit: 92a9ec0
Cypress dashboard.
Tags: ``
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilCurrencyInputWidgetSnapshot_spec.ts
  2. cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilInputWidgetSnapshot_spec.ts
  3. cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilPhoneInputWidgetSnapshot_spec.ts
List of identified flaky tests.

@github-actions github-actions bot added the Enhancement New feature or request label Dec 9, 2023
Copy link

This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.

@github-actions github-actions bot added the Stale label Dec 23, 2023
Copy link

This PR has been closed because of inactivity.

@github-actions github-actions bot closed this Dec 31, 2023
@sharat87 sharat87 reopened this Jan 18, 2024
Copy link

This PR has been closed because of inactivity.

@github-actions github-actions bot closed this Feb 17, 2024
@sharat87 sharat87 reopened this Apr 2, 2024
## Description
> [!TIP]  
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team)._
>
> _Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR._


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
Copy link

Failed server tests

  • com.appsmith.server.refactors.ce.RefactoringServiceCEImplTest#testRefactorCollectionName_withActions_returnsValidLayout
  • com.appsmith.server.refactors.ce.RefactoringServiceCEImplTest#testRefactorCollectionName_withEmptyActions_returnsValidLayout
  • com.appsmith.server.repositories.ce.CustomNewPageRepositoryTest#findPageWithoutBranchName
  • com.appsmith.server.services.ConsolidatedAPIServiceImplTest#testErrorResponseWhenAnonymousUserAccessPrivateApp
  • com.appsmith.server.services.UserServiceTest#emailVerificationTokenGenerate_WhenInstanceEmailVerificationIsNotEnabled_ThrowsException
  • com.appsmith.server.services.UserServiceTest#emailVerificationTokenGenerate_WhenUserEmailAlreadyVerified_ThrowsException
  • com.appsmith.server.services.UserServiceTest#updateInvalidUserWithAnything
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#sendForgotPasswordEmail
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#sendInviteUserToWorkspaceEmail
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#testSendInstanceAdminInviteEmail
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_disableMigration_statesUpdate
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_emptyMapForPendingMigration_statesUpdate
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_enableMigration_statesUpdate
  • com.appsmith.server.services.ce.TenantServiceCETest#checkAndExecuteMigrationsForTenantFeatureFlags_emptyMigrationMap_revertSameTenant
  • com.appsmith.server.services.ce.TenantServiceCETest#checkAndExecuteMigrationsForTenantFeatureFlags_withPendingMigration_getUpdatedTenant
  • com.appsmith.server.services.ce.TenantServiceCETest#ensureMapsKey
  • com.appsmith.server.services.ce.TenantServiceCETest#setMapsKeyWithoutAuthentication

Copy link

Failed server tests

  • com.appsmith.server.refactors.ce.RefactoringServiceCEImplTest#testRefactorCollectionName_withActions_returnsValidLayout
  • com.appsmith.server.refactors.ce.RefactoringServiceCEImplTest#testRefactorCollectionName_withEmptyActions_returnsValidLayout
  • com.appsmith.server.repositories.ce.CustomNewPageRepositoryTest#findPageWithoutBranchName
  • com.appsmith.server.services.ActionCollectionServiceTest#testActionCollectionInViewMode
  • com.appsmith.server.services.ConsolidatedAPIServiceImplTest#testErrorResponseWhenAnonymousUserAccessPrivateApp
  • com.appsmith.server.services.UserServiceTest#emailVerificationTokenGenerate_WhenInstanceEmailVerificationIsNotEnabled_ThrowsException
  • com.appsmith.server.services.UserServiceTest#emailVerificationTokenGenerate_WhenUserEmailAlreadyVerified_ThrowsException
  • com.appsmith.server.services.UserServiceTest#updateInvalidUserWithAnything
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#sendForgotPasswordEmail
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#sendInviteUserToWorkspaceEmail
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#testSendInstanceAdminInviteEmail
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_disableMigration_statesUpdate
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_emptyMapForPendingMigration_statesUpdate
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_enableMigration_statesUpdate
  • com.appsmith.server.services.ce.TenantServiceCETest#checkAndExecuteMigrationsForTenantFeatureFlags_emptyMigrationMap_revertSameTenant
  • com.appsmith.server.services.ce.TenantServiceCETest#checkAndExecuteMigrationsForTenantFeatureFlags_withPendingMigration_getUpdatedTenant
  • com.appsmith.server.services.ce.TenantServiceCETest#ensureMapsKey
  • com.appsmith.server.services.ce.TenantServiceCETest#setMapsKeyWithoutAuthentication

Copy link

Failed server tests

  • com.appsmith.server.refactors.ce.RefactoringServiceCEImplTest#testRefactorCollectionName_withActions_returnsValidLayout
  • com.appsmith.server.refactors.ce.RefactoringServiceCEImplTest#testRefactorCollectionName_withEmptyActions_returnsValidLayout
  • com.appsmith.server.repositories.ce.CustomNewPageRepositoryTest#findPageWithoutBranchName
  • com.appsmith.server.services.ActionCollectionServiceTest#testActionCollectionInViewMode
  • com.appsmith.server.services.ConsolidatedAPIServiceImplTest#testErrorResponseWhenAnonymousUserAccessPrivateApp
  • com.appsmith.server.services.UserServiceTest#emailVerificationTokenGenerate_WhenInstanceEmailVerificationIsNotEnabled_ThrowsException
  • com.appsmith.server.services.UserServiceTest#emailVerificationTokenGenerate_WhenUserEmailAlreadyVerified_ThrowsException
  • com.appsmith.server.services.UserServiceTest#updateInvalidUserWithAnything
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#sendForgotPasswordEmail
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#sendInviteUserToWorkspaceEmail
  • com.appsmith.server.services.ce.EmailServiceCEImplTest#testSendInstanceAdminInviteEmail
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_disableMigration_statesUpdate
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_emptyMapForPendingMigration_statesUpdate
  • com.appsmith.server.services.ce.FeatureFlagServiceCETest#getAllRemoteFeaturesForTenantAndUpdateFeatureFlagsWithPendingMigrations_enableMigration_statesUpdate
  • com.appsmith.server.services.ce.TenantServiceCETest#checkAndExecuteMigrationsForTenantFeatureFlags_emptyMigrationMap_revertSameTenant
  • com.appsmith.server.services.ce.TenantServiceCETest#checkAndExecuteMigrationsForTenantFeatureFlags_withPendingMigration_getUpdatedTenant
  • com.appsmith.server.services.ce.TenantServiceCETest#ensureMapsKey
  • com.appsmith.server.services.ce.TenantServiceCETest#setMapsKeyWithoutAuthentication

Copy link

Failed server tests

  • com.external.plugins.RestApiPluginTest#testDenyInstanceMetadataAwsViaCname
  • com.external.plugins.RestApiPluginTest#testDenyInstanceMetadataAwsWithRedirect

@sharat87
Copy link
Member Author

/build-deploy-preview skip-tests=true

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/9715794653.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 29492.
recreate: .

@sharat87
Copy link
Member Author

/build-deploy-preview skip-tests=true

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/9715844474.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 29492.
recreate: .

Copy link

Deploy-Preview-URL: https://ce-29492.dp.appsmith.com

1 similar comment
Copy link

Deploy-Preview-URL: https://ce-29492.dp.appsmith.com

Copy link

Failed server tests

  • com.appsmith.server.services.ActionCollectionServiceTest#testActionCollectionInViewMode

@sharat87
Copy link
Member Author

/build-deploy-preview skip-tests=true

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/9716595951.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 29492.
recreate: .

Copy link

Deploy-Preview-URL: https://ce-29492.dp.appsmith.com

@sharat87
Copy link
Member Author

/build-deploy-preview skip-tests=true

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/9716973502.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 29492.
recreate: .

Copy link

Deploy-Preview-URL: https://ce-29492.dp.appsmith.com

@sharat87
Copy link
Member Author

/build-deploy-preview skip-tests=true

Copy link

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/9717435313.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 29492.
recreate: .

Copy link

Deploy-Preview-URL: https://ce-29492.dp.appsmith.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request ok-to-test Required label for CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants