Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

ci: cloud integration test (#4062)

Nathan.foooa4e0c5754f3f
diff --git a/frontend/appflowy_flutter/env.cloud.test b/frontend/appflowy_flutter/env.cloud.test
index c703bb5005..12e01bf83a 100644
--- a/frontend/appflowy_flutter/env.cloud.test
+++ b/frontend/appflowy_flutter/env.cloud.test
@@ -1,20 +1,5 @@
-# Only used for integration test
-# Cloud Type Configuration
-# Use this configuration file to specify the cloud type and its associated settings. The available cloud types are:
-# Local: 0
-# Supabase: 1
-# AppFlowy Cloud: 2
-# By default, it's set to Local.
-CLOUD_TYPE=1
-
-# Supabase Configuration
-# If using Supabase (CLOUD_TYPE=1), provide the following details:
SUPABASE_URL=
SUPABASE_ANON_KEY=
-# AppFlowy Cloud Configuration
-# If using Supabase (CLOUD_TYPE=2), provide the following details:
-#
-# When using localhost for development. you can use the following settings:
APPFLOWY_CLOUD_URL=
diff --git a/frontend/appflowy_flutter/integration_test/util/base.dart b/frontend/appflowy_flutter/integration_test/util/base.dart
index eddc3e445c..4dadeaa8d8 100644
--- a/frontend/appflowy_flutter/integration_test/util/base.dart
+++ b/frontend/appflowy_flutter/integration_test/util/base.dart
@@ -266,5 +266,5 @@ Future<void> useSupabaseCloud() async {
Future<void> useAppFlowyCloud() async {
await setAuthenticatorType(AuthenticatorType.appflowyCloud);
- await setAppFlowyCloudUrl(Some(TestEnv.afCloudUrl));
+ // await setAppFlowyCloudUrl(Some(TestEnv.afCloudUrl));
}
diff --git a/frontend/appflowy_flutter/lib/env/cloud_env_test.dart b/frontend/appflowy_flutter/lib/env/cloud_env_test.dart
index 823975e100..a0a8580241 100644
--- a/frontend/appflowy_flutter/lib/env/cloud_env_test.dart
+++ b/frontend/appflowy_flutter/lib/env/cloud_env_test.dart
@@ -7,13 +7,6 @@ part 'cloud_env_test.g.dart';
///
@Envied(path: '.env.cloud.test')
abstract class TestEnv {
- @EnviedField(
- obfuscate: true,
- varName: 'CLOUD_TYPE',
- defaultValue: '0',
- )
- static final int cloudType = _TestEnv.cloudType;
-
/// AppFlowy Cloud Configuration
@EnviedField(
obfuscate: true,
diff --git a/frontend/appflowy_flutter/lib/startup/deps_resolver.dart b/frontend/appflowy_flutter/lib/startup/deps_resolver.dart
index 7f72902be9..af3e06a6fb 100644
--- a/frontend/appflowy_flutter/lib/startup/deps_resolver.dart
+++ b/frontend/appflowy_flutter/lib/startup/deps_resolver.dart
@@ -29,6 +29,7 @@ import 'package:appflowy/workspace/application/user/prelude.dart';
import 'package:appflowy/workspace/application/view/prelude.dart';
import 'package:appflowy/workspace/application/workspace/prelude.dart';
import 'package:appflowy/workspace/presentation/home/menu/menu_shared_state.dart';
+import 'package:appflowy_backend/log.dart';
import 'package:appflowy_backend/protobuf/flowy-folder2/view.pb.dart';
import 'package:appflowy_backend/protobuf/flowy-user/protobuf.dart';
import 'package:flowy_infra/file_picker/file_picker_impl.dart';
diff --git a/frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart b/frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart
index 8f58b14560..9de081be24 100644
--- a/frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart
+++ b/frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart
@@ -51,7 +51,6 @@ AppFlowyConfiguration _makeAppFlowyConfiguration(
required Map<String, String> rustEnvs,
}) {
final env = getIt<AppFlowyCloudSharedEnv>();
- rustEnvs["RUST_LOG"] = 'trace';
return AppFlowyConfiguration(
root: root,
custom_app_path: customAppPath,