Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
42f2384
fix(tsconfig): update module resolution and include jest test types
LZS911 Apr 14, 2026
17a4f73
chore(build): upgrade toolchain to Vite 8 and migrate chunk splitting
LZS911 Apr 14, 2026
2e45e21
[chore]: restore version.ts
LZS911 Apr 14, 2026
f16e752
chore(ci): switch test pipeline to turbo per-package coverage reports
LZS911 Apr 15, 2026
905373b
fix(tsconfig): remove deprecated baseUrl usage to stabilize CI typech…
LZS911 Apr 15, 2026
fb3bbf0
fix: test error
LZS911 Apr 15, 2026
cd0abbb
refactor(test): run root tests per package and remove legacy root jes…
LZS911 Apr 28, 2026
d4d3ada
chore: migrate toolchain to oxc, turbo, and source-based dms-kit cons…
LZS911 Apr 28, 2026
9fc5f53
fix(ldap-settings): remove duplicate ldap search base DN field
LZS911 Apr 10, 2026
f159b55
fix(workflow): improve long-text display and add SQL upload type tooltip
LZS911 Apr 14, 2026
eda74c9
test: update 1 snapshot(s) for DMS UI
Apr 14, 2026
cd7ff64
feat(workflow-template): add frontend API adaptation and i18n keys fo…
LordofAvernus Apr 21, 2026
6fd0f97
feat(workflow-template): refactor approval process page from detail v…
LordofAvernus Apr 21, 2026
59cf60e
feat(workflow-template): differentiate edit page by workflow type
LordofAvernus Apr 21, 2026
1d5c20f
feat(data-export): add approval process preview component to data exp…
LordofAvernus Apr 21, 2026
51c68c6
test(workflow-template): add/update unit tests for workflow template …
LordofAvernus Apr 21, 2026
0512491
fix(test): add type annotation to dataExportWorkflowTemplateData and …
LordofAvernus Apr 21, 2026
0630ca1
fix(#784): fix data export workflow template UI issues
LordofAvernus Apr 22, 2026
a3bbc1b
fix(#784): optimize workflow template UI - tab style, redirect link, …
LordofAvernus Apr 22, 2026
b1bf632
fix(#784): enforce audit node constraints, executor=creator, remove p…
LordofAvernus Apr 23, 2026
b944ce1
fix(#784): update mock data to include export_execute step in data ex…
LordofAvernus Apr 23, 2026
608daf9
fix(#784): update frontend tests for data export template with export…
LordofAvernus Apr 23, 2026
8068e5a
fix(#784): update useInitDataWithRequest test to match initLoading be…
LordofAvernus Apr 23, 2026
88f5b67
style(#784): apply prettier formatting
LordofAvernus Apr 23, 2026
ce866d7
feat(workflow): type workflow_type for template APIs and align UI
LZS911 Apr 27, 2026
9d171eb
chore: restore version.ts
LZS911 Apr 27, 2026
5b27115
fix: code review
LZS911 Apr 27, 2026
72e5a22
fix: workflow_type is undefined
LZS911 Apr 27, 2026
730ab23
fix: makefile build error
LZS911 Apr 28, 2026
489c7d7
fix(ci): skip internal install and test in coverage action
LZS911 Apr 28, 2026
1f5ad7a
fix(ci): github action
LZS911 Apr 28, 2026
89352ca
fix(ci): coverage report add custom title
LZS911 Apr 28, 2026
88def2d
test: update snapshot
LZS911 Apr 29, 2026
ca401d9
fix(workflow-template): extract steps by type and add ordering tests …
LZS911 Apr 29, 2026
d74cd70
fix: code check
LZS911 Apr 29, 2026
e125c33
fix: update snapshot and sort review steps
LZS911 Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 16 additions & 58 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,72 +26,30 @@ jobs:
if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }}
strategy:
matrix:
shard: [1, 2, 3, 4]
include:
- package_name: base
package_path: packages/base
- package_name: '@actiontech/dms-kit'
package_path: packages/dms-kit
- package_name: '@actiontech/shared'
package_path: packages/shared
- package_name: sqle
package_path: packages/sqle
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/catch-install-pnpm

- name: Coverage test report
run: sh ./scripts/jest/run-ci.sh ${{ matrix.shard }} ${{ strategy.job-total }}
- name: Run package test suite
run: pnpm turbo run test:ci --filter=${{ matrix.package_name }}

- uses: actions/upload-artifact@v4
with:
name: coverage-artifacts-${{ matrix.shard }}
path: coverage/

report:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }}
needs: [test]
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get Coverage 1
uses: actions/download-artifact@v4
with:
name: coverage-artifacts-1
path: coverage

- name: Get Coverage 2
uses: actions/download-artifact@v4
with:
name: coverage-artifacts-2
path: coverage

- name: Get Coverage 3
uses: actions/download-artifact@v4
with:
name: coverage-artifacts-3
path: coverage

- name: Get Coverage 4
uses: actions/download-artifact@v4
with:
name: coverage-artifacts-4
path: coverage

- name: Install dependencies
uses: ./.github/actions/catch-install-pnpm

- name: Merge coverage reports
run: node ./scripts/jest/merge-report-json.js

- name: Coverage test report
- name: Coverage report
uses: ArtiomTr/jest-coverage-report-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-coverage-file: coverage-merged.json
coverage-file: coverage-merged.json

- name: Delete artifact
uses: geekyeggo/delete-artifact@v5
with:
name: |
coverage-artifacts-1
coverage-artifacts-2
coverage-artifacts-3
coverage-artifacts-4
custom-title: 'Coverage report (${{ matrix.package_name }})'
coverage-file: ${{ matrix.package_path }}/coverage/report.json
base-coverage-file: ${{ matrix.package_path }}/coverage/report.json
skip-step: all
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ dist
# testing
/ce_coverage
/coverage
**/coverage/**
/report.json
/coverage-merged
/coverage-merged.json

# production
/build
Expand Down Expand Up @@ -53,4 +52,6 @@ verdaccio
ftp-data


/scripts/cli/dms-kit-publish/docs
/scripts/cli/dms-kit-publish/docs

*.turbo
18 changes: 18 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"tabWidth": 2,
"semi": true,
"printWidth": 80,
"trailingComma": "none",
"arrowParens": "always",
"proseWrap": "preserve",
"useTabs": false,
"singleQuote": true,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"sortPackageJson": false,
"ignorePatterns": [
"*.snap",
"*.md"
]
}
42 changes: 42 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": [
"react",
"import",
"node",
"jest",
"typescript",
"unicorn",
"oxc"
],
"categories": {
"correctness": "warn",
"suspicious": "warn"
},
"rules": {
"no-console": "warn",
"react-in-jsx-scope": "off",
"no-shadow": "off",
"no-shadow-restricted-names": "error",
"prefer-const": "warn",
"no-extra-boolean-cast": "off",
"no-template-curly-in-string": "warn",
"react/display-name": "off",
"import/no-anonymous-default-export": "warn"
},
"env": {
"builtin": true
},
"ignorePatterns": [
"**/*.test.ts",
"**/*.test.tsx",
"**/demo/**",
"**/demos/**",
"**/dist/**",
"**/es/**",
"**/node_modules/**",
"packages/shared/lib/api/*",
"packages/**/mockApi/*",
"packages/**/testUtil/*"
]
}
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ docker_clean:
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "git config --global --add safe.directory /usr/src/app && git clean -dfx"

docker_build_ce: pull_image docker_install_node_modules
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "pnpm build"
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "pnpm --filter base build:release"

docker_build_ee: pull_image docker_install_node_modules
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "pnpm build:ee"
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "pnpm --filter base build:release:ee"

docker_build_demo: pull_image docker_install_node_modules
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "pnpm build:demo"
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm $(DOCKER_IMAGE) sh -c "pnpm --filter base build:release:demo"

docker_dms_kit_publish: docker_install_node_modules
$(DOCKER) run -v $(MAIN_MODULE):/usr/src/app --user $(UID):$(GID) -w /usr/src/app --rm \
Expand Down
101 changes: 0 additions & 101 deletions eslint.config.mjs

This file was deleted.

Loading
Loading