chore: bump pro submodule for hydration stability (#6808)

* sandbox-sync-agent

* refactor: host pro as submodule

* chore: checkpoint host pro restructure

* refactor workspace test layout and startup init

* chore: update next turbopack setup

* chore: snapshot current work before actions fix

* chore: update pro submodule

* chore: point pro submodule url to upstream https

* fix: Dockerfile

* chore: update pro submodule

* ci: support private pro submodule token and skip fork jobs

* fix(ci): build sdk workspace deps before code-sandbox bundle

* fix(app): exclude vitest configs from production typecheck

* fix(app-image): build sdk packages before next build

* fix(ci): align dockerfiles with workspace sdk build flow

* chore(docker): upgrade node20 docker images to node24

* fix(ci): read admin coverage output path in pro test workflow

* fix(app-image): include next-i18next config and locale assets

* chore: update pro submodule

* chore: do not specify branch for submodule

* chore: remove most ts-nocheck sign

* chore: update pro submodule

* chore: remove sandbox-agent-sync package

* chore: do not modify "pushData" file logic

* fix: health check

* chore: restore dev axios proxy state

* fix: test-fastgpt report workflow

* fix: use valid vitest coverage action inputs
This commit is contained in:
Ryo
2026-04-27 17:44:12 +08:00
committed by GitHub
parent e32410b93c
commit 289da0f7b0
340 changed files with 6547 additions and 16162 deletions
-10
View File
@@ -1,10 +0,0 @@
import path from 'node:path';
import { vi } from 'vitest';
vi.mock('@fastgpt/service/common/geo/constants', async (importOriginal) => {
const actual = (await importOriginal()) as any;
return {
...actual,
dbPath: path.join(process.cwd(), 'projects/app/data/GeoLite2-City.mmdb')
};
});
+11 -9
View File
@@ -29,15 +29,17 @@ export const mockGetVectorCountByTeamId = vi.fn().mockResolvedValue(100);
export const mockGetVectorCount = vi.fn().mockResolvedValue(50);
const MockVectorCtrl = vi.fn().mockImplementation(() => ({
init: mockVectorInit,
insert: mockVectorInsert,
delete: mockVectorDelete,
embRecall: mockVectorEmbRecall,
getVectorDataByTime: mockGetVectorDataByTime,
getVectorCountByTeamId: mockGetVectorCountByTeamId,
getVectorCount: mockGetVectorCount
}));
const MockVectorCtrl = vi.fn().mockImplementation(function () {
return {
init: mockVectorInit,
insert: mockVectorInsert,
delete: mockVectorDelete,
embRecall: mockVectorEmbRecall,
getVectorDataByTime: mockGetVectorDataByTime,
getVectorCountByTeamId: mockGetVectorCountByTeamId,
getVectorCount: mockGetVectorCount
};
});
// Mock PgVectorCtrl
vi.mock('@fastgpt/service/common/vectorDB/pg', () => ({
-1
View File
@@ -1,5 +1,4 @@
import './request';
import './common/geo';
import './common/mongo';
import './common/redis';
import './common/bullmq';