Commit Graph

32378 Commits

Author SHA1 Message Date
Sam Rose 1d1ca694c8
Lock starting containers. 2024-06-11 14:39:44 +01:00
melohagan 115737c46c
Create Tenant endpoint + tenant_info doc (#13902)
* Create Tenant endpoint + tenant_info doc

* Don't catch on tenant_info put

* PR comments

* unit test
2024-06-11 12:16:15 +01:00
Michael Drury 51fad26be0
Merge pull request #13909 from Budibase/fix/some-potential-app-migration-issues
Some potential app migration failure causes
2024-06-10 23:45:04 +01:00
mike12345567 75c3b842ad Fixing issue with in memory queue. 2024-06-10 23:34:08 +01:00
mike12345567 d0736cbe9e Missing next(). 2024-06-10 23:11:53 +01:00
mike12345567 553c2186b1 Only try to lookup migrations if there are migrations to work with. 2024-06-10 23:01:39 +01:00
mike12345567 8c1735a1bd Adding concurrency, and changing how context is set. 2024-06-10 22:58:28 +01:00
mike12345567 a40baf5111 Merge branch 'master' of github.com:Budibase/budibase into fix/some-potential-app-migration-issues 2024-06-10 22:43:49 +01:00
mike12345567 4c873b9921 Attempting to fix some potential app migration issues around versions. 2024-06-10 22:38:16 +01:00
Michael Drury a5bdef3cb7
Merge pull request #13908 from Budibase/fix/app-migrations-better-startup
Better app migration queue startup process
2024-06-10 21:55:03 +01:00
mike12345567 b286e2340b Fixing an issue with test build. 2024-06-10 21:48:02 +01:00
mike12345567 739ac5d03c Putting a better startup process in place for app migrations and adding them to bullboard as well. 2024-06-10 21:37:01 +01:00
Michael Drury 26c2904f51
Merge pull request #13907 from Budibase/fix/app-migrations-api-service
App migrations in API service
2024-06-10 20:51:46 +01:00
mike12345567 1a0d6ef5b0 Only run app migrations in API service - testing this in QA. 2024-06-10 20:46:08 +01:00
mike12345567 834de1f64a Log every step of the app migration process for easier visibility. 2024-06-10 19:19:43 +01:00
Michael Drury 7d28dbd4c8
Merge pull request #13906 from Budibase/fix/status-with-version
Adding version to system status call
2024-06-10 19:09:56 +01:00
mike12345567 d4d3537f41 Updating test. 2024-06-10 19:02:30 +01:00
mike12345567 3a95aa6aeb Adding the version to the status to help understand what version the service is using. 2024-06-10 18:56:24 +01:00
Michael Drury 2c83363d25
Merge pull request #13905 from Budibase/fix/app-migration-full-logging
App migration - make sure any issue is logged
2024-06-10 18:41:24 +01:00
mike12345567 c328dd5cd4 Making sure any error that occurs in the app migration system gets logged. 2024-06-10 18:32:06 +01:00
Sam Rose 8ef4d5cc8b
Merge pull request #13901 from Budibase/enable-dd-test-instrumentation
Enable DataDog test instrumentation.
2024-06-10 17:05:36 +01:00
Sam Rose 13ec629109
Trigger server tests. 2024-06-10 15:50:04 +01:00
Sam Rose f6ed2c9afc
Enable DataDog test instrumentation. 2024-06-10 15:48:15 +01:00
Michael Drury 36f315ab8d
Merge pull request #13900 from Budibase/fix/app-migration-multi-tenancy
Update SQS migration test to not create its own app context
2024-06-10 14:24:39 +01:00
mike12345567 f1ea6a52ae Linting. 2024-06-10 14:10:41 +01:00
mike12345567 aadf8ff3b3 Updating app migration test to not create the app context, relying on the app migration processor to do this for us instead (including tenancy context). 2024-06-10 13:55:26 +01:00
Sam Rose 9e3f476c65
Merge pull request #13895 from Budibase/slim-down-postgres-spec
Slim down postgres.spec.ts, most of its content is tested elsewhere now across many datasources.
2024-06-10 11:35:05 +01:00
Sam Rose d579972e5f
Slim down postgres.spec.ts, most of its content is tested elsewhere now across all datasources. 2024-06-10 10:59:33 +01:00
Michael Drury ca370ba214
Merge pull request #13891 from Budibase/fix/app-migration-multi-tenant-failure
Fixing multi-tenant app migration issue
2024-06-07 23:03:02 +01:00
mike12345567 ee391b30d6 Fixing an issue with multi-tenant app migration failures - the app migration context wasn't getting the tenant ID as needed. Also added some better logging as well as cleaning up the queues properly to remove these dud events. 2024-06-07 22:50:06 +01:00
mike12345567 67c6c156e3 Updating logging for app migration. 2024-06-07 18:31:40 +01:00
Michael Drury 17e62586c9
Merge pull request #13886 from Budibase/fix/BUDI-8258-update-presence
Make sure nullable can be updated and then re-fetched
2024-06-07 18:26:38 +01:00
Michael Drury fcc38d4058
Merge branch 'master' into fix/BUDI-8258-update-presence 2024-06-07 18:15:54 +01:00
Michael Drury b37dcf45ed
Merge pull request #13887 from Budibase/fix/better-migration-logging
Improving error logging of app migration system
2024-06-07 18:15:39 +01:00
mike12345567 85ab9ed2ed Adding a try catch to log if something in the app migration queue fails to process. 2024-06-07 18:09:48 +01:00
mike12345567 7d9e469d8e Merge branch 'fix/BUDI-8258-update-presence' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence 2024-06-07 18:08:28 +01:00
mike12345567 138f1d02b6 Hopefully final fix to test. 2024-06-07 18:02:26 +01:00
Michael Drury dcd5e7934d
Merge branch 'master' into fix/BUDI-8258-update-presence 2024-06-07 18:01:38 +01:00
Sam Rose 5e38ee03f1
Merge pull request #13883 from Budibase/mysql-test-cleanup-2
Move some mysql.spec.ts and postgres.spec.ts tests into datasource.sp…
2024-06-07 17:59:48 +01:00
mike12345567 3cc4b71561 Fixing some issues highlighted by test case. 2024-06-07 17:59:18 +01:00
Sam Rose 53ce42195d
Merge branch 'master' into mysql-test-cleanup-2 2024-06-07 17:39:29 +01:00
mike12345567 14266be4e4 Commenting why it does stuff. 2024-06-07 17:26:45 +01:00
mike12345567 f76eb1b220 Merge branch 'master' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence 2024-06-07 17:24:40 +01:00
mike12345567 5de2dc8382 Some test updates to make the fetchSchema tableFilter prop usable. 2024-06-07 17:13:06 +01:00
Sam Rose d2c273542d
Fix tests. 2024-06-07 17:02:23 +01:00
Sam Rose 5e830c0d11
Merge pull request #13882 from Budibase/datasource-spec-revamp
Modernise datasource.spec.ts
2024-06-07 16:59:31 +01:00
Sam Rose f5c73b5604
Merge pull request #13881 from Budibase/mysql-spec-cleanup-1
Rename rename test from mysql.spec.ts, it's covered in table.spec.ts
2024-06-07 16:59:18 +01:00
mike12345567 9cd7c144f4 Adding test case. 2024-06-07 16:57:46 +01:00
mike12345567 a879b5814a Making sure that columns get updated to allow nulls/disallow correctly, as well as making sure enums can be updated and autocolumn state can change. 2024-06-07 16:57:33 +01:00
Sam Rose 85c372c4d6
Move some mysql.spec.ts and postgres.spec.ts tests into datasource.spec.ts. 2024-06-07 16:56:07 +01:00