Commit Graph

26493 Commits

Author SHA1 Message Date
Sam Rose af60ff4da7
Can't use retries with the sync API. 2024-06-11 15:43:12 +01:00
Sam Rose eac6106b06
Try the sync versions? 2024-06-11 15:38:25 +01:00
Sam Rose 2e67ae115e
Attempt to use unluck we get back from lock. 2024-06-11 15:33:18 +01:00
Sam Rose af0802df30
Only hold the lock during container start. 2024-06-11 14:43:45 +01:00
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
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
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
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
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
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 13ec629109
Trigger server tests. 2024-06-10 15:50:04 +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 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
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 fcc38d4058
Merge branch 'master' into fix/BUDI-8258-update-presence 2024-06-07 18:15:54 +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
mike12345567 3cc4b71561 Fixing some issues highlighted by test case. 2024-06-07 17:59:18 +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
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
Sam Rose d682320371
Fix last test. 2024-06-07 16:40:25 +01:00
Sam Rose c07d73beaf
Modernise datasource.spec.ts. 2024-06-07 16:35:46 +01:00
Sam Rose f2e3789ad2
Rename rename test from mysql.spec.ts, it's covered in table.spec.ts 2024-06-07 14:24:39 +01:00
Michael Drury e2c4901090
Merge branch 'master' into feature/enable-sqs-in-dev 2024-06-07 12:34:16 +01:00
Michael Drury a72f7747c1
Merge branch 'master' into feature/enable-sqs-in-dev 2024-06-07 12:17:06 +01:00
Michael Drury 0728221379
Merge branch 'master' into BUDI-7656/add-migration 2024-06-07 11:30:47 +01:00
Adria Navarro 853810704c Fix patch 2024-06-07 11:39:36 +02:00
Adria Navarro 20d1b81099 Fix tests 2024-06-07 11:30:35 +02:00
Michael Drury b76d535202
Merge branch 'master' into BUDI-7656/add-migration 2024-06-07 10:24:50 +01:00
Adria Navarro b22ea1b0f9 Fix test 2024-06-07 11:12:03 +02:00
Adria Navarro 6b88622b50
Merge branch 'master' into BUDI-7422/support-composite-keys 2024-06-07 11:00:15 +02:00
Adria Navarro b86501e25e Fix 2024-06-07 10:54:26 +02:00